CY7C421
Document Number: 38-06001 Rev. *K Page 13 of 22
Architecture
The CY7C421 FIFO consist of an array of 512 words of 9 bits
each (implemented by an array of dual-port RAM cells), a read
pointer, a write pointer, control signals (W
, R, XI, XO, FL, RT,
MR
), and Full, Half Full, and Empty flags.
Dual-Port RAM
The dual-port RAM architecture refers to the basic memory cell
used in the RAM. The cell itself enables the read and write
operations to be independent of each other, which is necessary
to achieve truly asynchronous operation of the inputs and
outputs. A second benefit is that the time required to increment
the read and write pointers is much less than the time required
for data propagation through the memory, which is the case if
memory is implemented using the conventional register array
architecture.
Resetting the FIFO
Upon power up, the FIFO must be reset with a Master Reset
(MR
) cycle. This causes the FIFO to enter the empty condition
signified by the Empty flag (EF
) being LOW, and both the Half
Full (HF
) and Full flags (FF) being HIGH. Read (R) and write (W)
must be HIGH t
RPW
/t
WPW
before and t
RMR
after the rising edge
of MR
for a valid reset cycle. If reading from the FIFO after a reset
cycle is attempted, the outputs are in the high impedance state.
Writing Data to the FIFO
The availability of at least one empty location is indicated by a
HIGH FF
. The falling edge of W initiates a write cycle. Data
appearing at the inputs (D
0
–D
8
) t
SD
before and t
HD
after the
rising edge of W
are stored sequentially in the FIFO.
The EF LOW-to-HIGH transition occurs t
WEF
after the first
LOW-to-HIGH transition of W
for an empty FIFO. HF goes LOW
t
WHF
after the falling edge of W following the FIFO actually being
Half Full. Therefore, the HF
is active after the FIFO is filled to half
its capacity plus one word. HF
remains LOW while less than one
half of total memory is available for writing. The LOW-to-HIGH
transition of HF
occurs t
RHF
after the rising edge of R when the
FIFO goes from half full +1 to half full. HF
is available in
standalone and width expansion modes. FF
goes LOW t
WFF
after the falling edge of W, during the cycle in which the last
available location is filled. Internal logic prevents FIFO overflow.
Writes to a full FIFO are ignored and the write pointer is not
incremented. FF
goes HIGH t
RFF
after a read from a full FIFO.
Reading Data from the FIFO
The falling edge of R initiates a read cycle provided EF is not
LOW. Data outputs (Q
0
–Q
8
) are in a high impedance condition
between read operations (R
HIGH), when the FIFO is empty, or
when the FIFO is not the active device in the depth expansion
mode.
When one word is in the FIFO, the falling edge of R
initiates a
HIGH-to-LOW transition of EF
. The rising edge of R causes the
data outputs to go to the high impedance state and remain such
until a write is performed. Reads to an empty FIFO are ignored
and do not increment the read pointer. From the empty condition,
the FIFO can be read t
WEF
after a valid write.
The retransmit feature is beneficial when transferring packets of
data. It enables the receiver to acknowledge receipt of data and
retransmit, if necessary.
The Retransmit (RT
) input is active in the standalone and width
expansion modes. The retransmit feature is intended for use
when a number of writes equal to or less than the depth of the
FIFO have occurred since the last MR
cycle. A LOW pulse on RT
resets the internal read pointer to the first physical location of the
FIFO. R
and W must both be HIGH for t
PRT
and t
RTR
after
retransmit is asserted. With every read cycle after retransmit, the
data from the first physical location of FIFO is read until the read
pointer equals write pointer. Full, Half Full, and Empty flags are
governed by the relative locations of the read and write pointers
and are updated during a retransmit cycle. Data written to the
FIFO after activation of RT
are also transmitted. Full depth of
FIFO data can be repeatedly retransmitted.
Standalone/Width Expansion Modes
Standalone and width expansion modes are set by grounding
Expansion In (XI
) and tying First Load (FL) to V
CC
. FIFOs can be
expanded in width to provide word widths greater than nine in
increments of nine. During width expansion mode, all control line
inputs are common to all devices, and flag outputs from any
device can be monitored.
Depth Expansion Mode
Depth expansion mode (see Figure 14 on page 14) is entered
when, during a MR
cycle, Expansion Out (XO) of one device is
connected to Expansion In (XI
) of the next device, with XO of the
last device connected to XI
of the first device. In the depth
expansion mode the First Load (FL
) input, when grounded,
indicates that this part is the first to be loaded. All other devices
must have this pin HIGH. To enable the correct FIFO, XO
is
pulsed LOW when the last physical location of the previous FIFO
is written to and pulsed LOW again when the last physical
location is read. Only one FIFO is enabled for read and one for
write at any particular time. All other devices are in standby.
FIFOs can also be expanded simultaneously in depth and width.
Consequently, any depth or width FIFO can be created of word
widths in increments of 9. When expanding in depth, a composite
FF
must be created by ORing the FFs together. Likewise, a
composite EF
is created by ORing the EFs together. HF and RT
functions are not available in depth expansion mode.
CY7C421
Document Number: 38-06001 Rev. *K Page 14 of 22
Use of the Empty and Full Flags
To achieve maximum frequency, the flags must be valid at the
beginning of the next cycle. However, because they can be
updated by either edge of the read or write signal, they must be
valid by one-half of a cycle. Cypress FIFOs meet this
requirement.
The reason for why the flags should be valid by the next cycle is
complex. The “effective pulse width violation” phenomenon can
occur at the full and empty boundary conditions, if the flags are
not properly used. The empty flag must be used to prevent
reading from an empty FIFO and the full flag must be used to
prevent writing into a full FIFO.
For example, consider an empty FIFO that is receiving read
pulses. Because the FIFO is empty, the read pulses are ignored
by the FIFO, and nothing happens. Next, a single word is written
into the FIFO, with a signal that is asynchronous to the read
signal. The (internal) state machine in the FIFO goes from empty
to empty+1. However, it does this asynchronously with respect
to the read signal, so that the effective pulse width of the read
signal cannot be determined, because the state machine does
not look at the read signal until it goes to the empty+1 state.
Similarly, the minimum write pulse width may be violated by
trying to write into a full FIFO, and asynchronously performing a
read. The empty and full flags are used to avoid these effective
pulse width violations, but to do this and operate at the maximum
frequency, the flag must be valid at the beginning of the next
cycle.
Figure 14. Depth Expansion
CY7C421
W
MR
XI
FL
EF
XO
FF
XI
FL
EF
XO
XI
FL
EF
XO
FF
R
EMPTY
FULL
Q
9
9
9
9
FF
V
CC
* FIRSTDEVICE
*
9
CY7C421
CY7C421
D
CY7C421
Document Number: 38-06001 Rev. *K Page 15 of 22
Ordering Code Definitions
Ordering Information
Speed
(ns)
Ordering Code
Package
Diagram
Package Type
Operating
Range
15 CY7C421-15AXC 51-85063 32-pin TQFP (Pb-free) Commercial
20 CY7C421-20JXC 51-85002 32-pin PLCC (Pb-free) Commercial
CY7C421-20VXC 51-85031 28-pin (300 Mils) Molded SOJ (Pb-free)
Temperature Range: X = C or I
C = Commercial; I = Industrial
X = Pb-free (RoHS Compliant)
Package Type: X = A or J or V
A = 32-pin TQFP
J = 32-pin PLCC
V = 28-pin Molded SOJ
Speed: XX = 15 ns or 20 ns
Depth: 1 = 512
Width: 2 = × 9
4 = FIFO
Technology Code: C = CMOS
Marketing Code: 7 = SRAM
Company ID: CY = Cypress
CCY 4 - XX X7 2 X1 X

CY7C421-15AXCT

Mfr. #:
Manufacturer:
Cypress Semiconductor
Description:
FIFO 512x9 .300" PARALLEL CASCADEABLE FIFO COM
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union