
Understanding Large FIFOs
5
Retransmit
The retransmit feature is useful in communications for re-
transmitting packets of data and in disk drives for rewriting
sectors. It is especially useful i n applications where a single
block of data in the FIFO must be sent out multiple times, as
in a word or pattern generator.
Data can be retransmitted any number of times, and with Cy-
press FIFOs, the retransmit fe ature can be used at any time,
no mat ter how mu ch data the FIFO contains. This is in con-
trast to some competing FIFOs, such those from IDT, which
do not allow use of the retr ansmi t fu nctio n wh en the FIFO i s
full .
In the retransmit operation, the read pointer is reset to its
initial locati on and the R pin is pulsed until the read pointer
advances to the same memory location addressed by the
write pointer. The retransmit (RT) pin is available in the sin-
gle-device an d width- expansion modes, but n ot i n depth ex-
pansion because this pin designates the FIFO to be loaded
first.
The retransmit function is initiated by asserting an ac-
tive-LOW pulse to the retransmit input, which resets the inter-
nal read counter to zero. Keep the R inp ut inactive during this
time; otherwise, the conflicting requirements on the read
counter might cause it to become corr upted. T he retransmit
process does not affect the state of the write counter or the
write process, though the retransmit tim ing constraints shown
in
Figure 7
must not be violated.
Note that the architect ural description in the 19 90 and pre vi-
ous Cypress data books incorrectly stated that the W input
must be inactive dur ing a ret ransmit cycle. No design or us-
age rules are violated if retransmit and write cycles overlap or
occur simultaneously; the device does not lock up, and data
is neither lost nor corrupted.
The reasons for the data book’s retransmit/write restriction
are more historical and application-oriented than functional.
Specifically, the first large FIFOs did not permit writes during
a retransmit cycle. Thi s set a do cumentat ion precedent that
all future devices had to match.
Additionally, keeping track of what data is currently in the
FIFO and what data is being read o ut can b ecome complica t-
ed. For example, if a FIFO is ha lf full and the retransmit func-
tion is activated and writ e s continue, fillin g the FIFO to t hree
quarters full before the read pointer catches up with the write
pointer, the FIFO outputs all of the dat a.
Common Problems and Solutions
To help prevent prob lems and correct them when they occur,
this section describes the causes and solutions to some com-
mon FIFO problems. The first problem to consider is corrupt-
ed or repetitive data in a FIFO.
Corrupt ed or Repet itive Data
The most common caus e of corrupted a nd repetitive data b e-
ing present in a FIFO is a spurious active signa l (glitch) on the
FIFO’ s W input. Because Cypress devices are extremely fast,
a wr it e pul se as sh ort as 3 ns ini tiat es a wr it e. Writ e glit ch es
cause whatever logic levels are present at the data inputs to
be written into the FIFO, which can put false data into the
device . If valid data is present at the data inputs, a wr ite glitch
caus e s this data to b e writte n a second ti me, resulti ng in du-
plicat ed data.
Write g litches are often the resu lt of voltage reflections due to
impedance mismatches, which you can eliminate using im-
pedance-matching termination networks. Termination net-
works are recommended on the W and R traces on printed
circuit boards (PCBs) when the lines exce e d approximately 4
in ches from source to a single load . This line length ass umes
a 2-ns rise/fall time for the read and write strobes. For R and
W signals with sub-2- ns rise/fall tim es, line lengths a s short
as 1 i n ch might requi re termi nat ion.
A termination network matches the load impedance to the
PCB trace’s characteristi c impedance, which is typically 50Ω
or less for microstrip or stripli ne construction on G- 10 glass
epoxy material. To minimize voltage reflections, a slightly
overdamped term inat ion is preferred. Cypress recommends
a 47-pF (max.) series capacitor and a 47-ohm resistor be
connected from the read or write pin to ground (
Figure 8
). This
termination network acts as a high-pass filter to short,
high-frequency pulses and dissipates no DC power. Read or
write lines that drive more than one FIFO require only one
termination network. Put the network at the input that is elec-
trically farthest from the source. For multiple loads, see the
“Systems Design Considerations When Using Cypress
CMOS Circuits” application note for help in determining the
maximum line leng th.
Figure 7. Retransmit Timing
FL,RT
tPRT[2]
R
tRTR[3]