
Memories BRAM80KFIFO
Speedster22i Macro Cell Library
AchronixSemiconductorProprietary PAGE 140
Figure6‐9: Readand Write PointerResetInput SelectionBlockDiagramshowsthe block
diagramoftheFIFOResetSelectioncircuitry.ThecircuitstoconfiguretheReadPointerand
Write Pointer resets are identical.The wrrst_sync_stages(rdrst_sync_stages) parameter
configuresthe depthofthewrrst(rdrst)synchronizerfromtwotofivestagesaccordingtothe
definitions in
Table 6‐28: Mapping wrrst_sync_stages Parameter Settings to Synchro‐
nization Stage Depth.(Table 6‐31: Mapping rdrst_sync_stages Parameter Settings to
SynchronizationStageDepth).Thewrrst_sync_stages(rdrst_sync_stages)parameterallows
theuserthecapabilitytotunethesynchronizerasafunctionoffrequency.Ahighervalueof
the wrrst_sync_stages(rdrst_sync_stages) parameter setting is recommended for higher
frequenciesofFIFOoperationwhilelowersettingsmaybeusedforlowerfrequencies.Note
thathighersettingsincreasethenumberofcyclesthatthewrrst(rdrst)have
tobeassertedand
increasethenumberofcyclesbetweenthedeassertionofthewrrst(rdrst) inputandthetime
thattheusermaybegintowrite(read)theFIFO.
For reliable operation, the user should not attempt to read or write the FIFO during a reset
operation.If the wrrst synchronizer is used, the wrrst reset should be active for at least
wrrst_sync_stages+
3rdclkcyclesandiftherdrstsynchronizerisused,the rdrstresetshould
be active for at least rdrst_sync_stages + 3 rdclk cycles.Write operations should not begin
before wrrst_sync_stages + 3 rdclk cycles after the wrrst signal is inactive AND
rdrst_sync_stages+3rdclkcyclesaftertherdrstsignal
isinactivetoallowthedeassertionof
theresetstoreachtheirsynchronizedclockdomains.
The highest reset performance is achieved with a synchronous (single clock) FIFO.For an
asynchronous FIFO,the highest reset performanceisachieved byusinga reset input that is
synchronouswith respecttothewriteclockdomain.TheWritePointershould beconfigured
with a synchronous reset in put( wrrst_sync_mode = 2’b00) and
the Read Pointer should be
configure to be reset by the synchronized wrrst input(rdrst_sync_mode = 2’b11).The user
shouldthenconnectthewrrstinputtotheFIFOresetsignal.Theusershouldtietheunused
resetinputtoitsinactivelogiclevel.
Comentários a estes Manuais