
Memories BRAM80K
Speedster22i Macro Cell Library
AchronixSemiconductorProprietary PAGE 92
porta_read_width(portb_read_width)
The porta_read_width(portb_read_width) parameter sets the read width for Port A(B). The
read width may vary from the write port width, but it must be within the allowable
combinations defined in the
Memory Organization and Data Input / Output Pin
Assignmentssection.
porta_write_width(portb_write_width)
Theporta_write_width(porta_write_width)parametersetsthewritewidthforPortA(B).The
read width may vary from the write port width, but it must be within the allowable
combinations defined in the
Memory Organization and Data Input / Output Pin
Assignmentssection.
porta_write_mode(portb_write_mode)
The porta_write_mode(portb_write_mode) parameter is used to define the response of the
Port A(B) output to write operations. If porta_write_mode(portb_write_mode) is set to
“no_change”, douta(doutb) will remain unchanged during write operations. If
porta_write_mode(portb_write_mode) is set to “write_first”, the data present on the
dina(dinb) input during the write operation will appear on the
output of Port A(B) if the
appropriatewriteenablebit, wea(web),ishigh.NotethattheBRAM80Kdoesnot supporta
‘read‐first’ or ‘read‐before‐write’ mode. If this behavior is detected by synthesis, a warning
willbeissuedinthesynthesislogfileandaregisterfilewill
besynthesized.Toimplementa
more efficient mapping of a ‘read‐first’ memory, the user should updat e his code to use an
AchronixBRAM 80K_READ_FIRSTsoftmacro.Pleasereferto
SupportforRead‐First(Read‐
Before‐Write)MemoryOperationsforafurtherexplanationofread‐firstmemorysupport.
porta_clock_polarity(portb_clock_polarity)
Theporta_clock_polarity(portb_clock_polarity)parameterisusedtosettheactiveedgeofthe
PortA(B)clock.Avalueof“rise”correspondstoanactiverisingedgeassignmentwhile“fall”
corresponds to an act ive falling edge assignment. The default value of the
porta_clock_polarity(portb_clock_polarity)is“rise”.
porta_peval(portb_peval)
Theporta_peval(p ortb_peval)parameterdefinestheactivelevelofthePortA(B)pea(peb)port
enableinput.Assigningavalueof1’b0toporta_peval(portb_peval)configuresthePortA(B)
pea(peb) port enable input to be active low, while an assignmentto1’b1setsan active‐high
level.Thedefaultvalueoftheporta_peval(portb_peval)parameter
is1’b1.
porta_latch_rstval(portb_latch_rstval)
Theporta_latch_rstval(portb_latch_rstval)parameterdefinestheactivelevelofthe PortA(B)
output latch reset input. Assigning a value of 1’b0 to porta_latch_rstval(portb_latch_rstval)
configuresthePortA(B)outputlatchtohaveanactive‐lowsynchronousreset,whileassigning
avalueof1’b1configuresthePortA(B)outputlatchtohaveanactive
‐highsynchronousreset.
Thedefaultvalueofporta_lat ch_rstval(portb_latch_rstval)is1’b1.
porta_en_out_reg(portb_en_out_reg)
Theporta_en_out_reg(portb_en_out_reg)parameterdetermineswhetherthePortA(B)output
registerisenabled.Avalueof1’b0disablestheoutputregisterandresultsinareadlatencyof
onecycle,whileavalueof1’b1enablestheoutputregisterandresultsinareadlatencyoftwo
cycles.Thedefaultvalueof
theporta_en_out_reg(portb_en_out_reg)parameteris1’b0.
Commentaires sur ces manuels