Achronix Speedster22i User Macro Guide Instrukcja Użytkownika Strona 185

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 224
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 184
Memories LRAMFIFO
Speedster22i Macro Cell Library
AchronixSemiconductorProprietary PAGE 168
Synchronous FIFO Mode (ptr_sync_mode = 1’b1)
Thesynchronous FIFO standardmodehas the advantagethatthereisnolatencyin theflag
calculations,sotheflagsrepresenttheexactstateoftheFIFO.Forsynchrousoperation,both
wrclkandrdclkmustbetiedtothesameclocksignal.
FIFO Operations
Asynchronous FIFO Mode Reset Operation
TwooptionsareavailabletotheuserwithregardtoresettingtheFIFO.ForasychronousFIFO
Reset,theusersetrst_sync_modeto1’b0.ToresettheFIFO,theuserwillasserttherstnsignal
for a minimum of three clock cycles of the slower clock cycle betweenthe wrclk and rdclk.
AssertingtheresetsignalclearsboththeWritePointerandReadPointer,setstheemptyand
almost_emptyflags,andclearsthefullandalmost_full flags.Theusermaythenreleasethe
rstn signal. The user should not attemp t to read or write the FIFO while the rstn input is
asserted
or before three cycles after the deassertion of the rstn signal. Figure
637: Asynchronous FIFO Mode Reset Timing Diagram shows the timing for an
asychronousreset.
Figure 6-37: Asynchronous FIFO Mode Reset Timing Diagram
wrclk
rdclk
rstn
empty
almost_empty
full
almost_full
wren
rden
1. User reset signal connected to wrrst and rdrst inputs
Note: This timing diagram assumes:
A
B
C
Event : The empty and almost_empty flags are asserted (wrrst_sync_stages + 2) active rdclk edges after
Event : The user rstn reset signal is deasserted after a minimum of:
E
F
the rstn input is asserted.
D G
Event : The user rstn reset signal is asserted.
C
Event : The full and almost_full flags are deasserted (rdrst_sync_stages + 2) active wrclk edges after the
D
rstn input is asserted.
max{(wrrst_sync_stages + 3) rdclk cycles, (rdrst_sync_stages + 3) wrclk cycles}
Event : The first FIFO write operation may begin:
max{(wrrst_sync_stages + 3) rdclk cycles, (rdrst_sync_stages + 3) wrclk cycles}
after the rstn signal is deasserted.
G
E F
Event : The user must disable the wren signal during the reset operation.
A
after the wren and rden inputs are disabled.
Event : The user must disable the rden signal during the reset operation.
B
Przeglądanie stron 184
1 2 ... 180 181 182 183 184 185 186 187 188 189 190 ... 223 224

Komentarze do niniejszej Instrukcji

Brak uwag