
Memories BRAM80K
Speedster22i Macro Cell Library
AchronixSemiconductorProprietary PAGE 94
porta_srval(portb_srval)
The porta_srval(portb_srval) parameter defines the value assigned to the Port A(B) output
latch(register if porta_en_ out_reg(portb_en_out_reg)=1) at the next active edge of the clock
whenthePortA(B)latch(register)resetconditionsaremet.The40‐bitporta_srval(portb_srval)
parameter assignment is dependent on the porta_read_width(portb_read_width).The
association of theof the p o rta_srval(portb_srval) parameter va
lues to the
douta,doutpa,doutpxa (doutb,doutpb,doutpxb) bits is assigned according to Table
6‐4: Relationship of port
a_srval(portb_srval) bit positions to douta,doutpa,doutpxa
(doutb,doutpb,doutpxb)Thede
faultvalueofporta_srval(portb_srval)is40’h0.
Table 6-4: Relationship of porta_srval(portb_srval) bit positions to douta,doutpa,doutpxa
(
doutb,doutpb,doutpxb)
porta_read_width
(portb_read_width)
doutpxa (doutpxb)
porta_srval[39:36]
(portb_srval[39:36])
doutpa (doutpb)
po
rta_srval[35:32]
(portb_srval[35:32])
douta (doutb)
porta_srval[15:0]
(portb_srval[15:0])
40 porta_srval[39:36] porta_srval[35:32] porta_srval[31:0]
36 4’hx porta_srval[35:32] porta_srval[31:0]
32 4’hx 4’hx porta_srval[31:0]
20 2’bxx,porta_srval[19:18] 2’bxx,porta_srval[17:16] 16’hxxxx,porta_srval[15:0]
18 4’hx 2’bxx,porta_srval[17:16] 16’hxxxx,porta_srval[15:0]
16 4’hx 4’hx 16’hxxxx,porta_srval[15:0]
10 3’bxxx,porta_srval[9] 3’bxxx,porta_srval[8] 24’hxxxxxx,porta_srval[7:0]
9 4’hx 3’bxxx,porta_srval[8] 24’hxxxxxx,porta_srval[7:0]
8 4’hx 4’hx 24’hxxxxxx,porta_srval[7:0]
5 4’hx 3’bxxx,porta_srval[4] 28’hxxxxxxx,porta_srval[3:0]
4 4’hx 4’hx 28’hxxxxxxx,porta_srval[3:0]
2 4’hx 4’hx 30’hxxxxxxxx,porta_srval[1:0]
1 4’hx 4’hx 31’hxxxxxxxx,porta_srval[0]
mem_init_file
The mem_init_file parameter provides a mechanism to set the initial contents of the
BRAM80K memory. If the mem_init_file parameter is defined, the BRAM80K will be
initialized with the values defined in the file pointed to by the mem_init_file parameter
accordingtotheformatdefinedintheMemoryIn
itializationsection.Ifthemem_init_fileis
leftatthedef
aultvalueof“”,theinitialcontentswillbedefinedby thevaluesoftheinitd_000
‐ initd_255, initp_00‐initp_31, and the initpx_00‐initpx_3 1 parameters. If the memory
initializationparametersandthemem_init_fileparametersarenotdefined,thecontentsofthe
BRAM80Kwillnotbeinitialized.
initd_000 – initd_255
Theinitd_000throughinitd_255parametersdefinetheinitialcontentsofthememorycontents
associated with douta[31:0] and doutb[31:0]. Each 256‐bit parameter associated with the
BRAM80KmemoryasdefinedintheMemoryIn
itializationsection.
initp_00 – initp_31
Theinitp_00 throughinitp_31parametersdefinetheinitialcontents ofthememorycontents
associated with doutpa[3:0] and doutpb[3:0]. Each 256‐bit parameter associated with the
BRAM80KmemoryisdefinedintheMemoryIn
itializationsection.
Kommentare zu diesen Handbüchern