CY7C4205/CY7C4215
CY7C4225/CY7C4245
Pin Definitions (continued)
Signal Name
Description
IO
Function
RXO
Read expansion
output
O
Cascaded – Connected to RXI of next device.
RS
OE
Reset
I
I
I
Resets device to empty condition. A reset is required before an initial read or write
operation after power-up.
Output enable
When OE is LOW, the FIFO’s data outputs drive the bus to which they are connected.
If OE is HIGH, the FIFO’s outputs are in High Z (high-impedance) state.
VCC/SMODE Synchronous
almost empty/
Dual-Mode Pin. Asynchronous Almost Empty/Almost Full flags – tied to VCC.
Synchronous Almost Empty/Almost Full flags – tied to VSS. (Almost Empty synchro-
nized to RCLK, Almost Full synchronized to WCLK.)
almost full flags
Architecture
Programming
The CY7C42X5 consists of an array of 256 to 1 K words & 4 K
words of 18 bits each (implemented by a dual-port array of
SRAM cells), a read pointer, a write pointer, control signals
(RCLK, WCLK, REN, WEN, RS), and flags (EF, PAE, HF, PAF,
FF). The CY7C42X5 also includes the control signals WXI, RXI,
WXO, RXO for depth expansion.
The CY7C42X5 devices contain two 12-bit offset registers. Data
present on D0–11 during a program write will determine the
distance from Empty (Full) that the Almost Empty (Almost Full)
flags become active. If the user elects not to program the FIFO’s
flags, the default offset values are used (see Table 2). When the
Load LD pin is set LOW and WEN is set LOW, data on the inputs
D0–11 is written into the Empty offset register on the first
LOW-to-HIGH transition of the write clock (WCLK). When the LD
pin and WEN are held LOW then data is written into the Full offset
register on the second LOW-to-HIGH transition of the Write
Clock (WCLK). The third transition of the Write Clock (WCLK)
again writes to the Empty offset register (see Table 1). Writing all
offset registers does not have to occur at one time. One or two
offset registers can be written and then, by bringing the LD pin
HIGH, the FIFO is returned to normal read/write operation. When
the LD pin is set LOW, and WEN is LOW, the next offset register
in sequence is written.
Resetting the FIFO
Upon power-up, the FIFO must be reset with a Reset (RS) cycle.
This causes the FIFO to enter the Empty condition signified by
EF being LOW. All data outputs go LOW after the falling edge of
RS only if OE is asserted. In order for the FIFO to reset to its
default state, a falling edge must occur on RS and the user must
not read or write while RS is LOW.
FIFO Operation
The contents of the offset registers can be read on the output
lines when the LD pin is set LOW and REN is set LOW; then,
data can be read on the LOW-to-HIGH transition of the Read
Clock (RCLK).
When the WEN signal is active (LOW), data present on the D0-17
pins is written into the FIFO on each rising edge of the WCLK
signal. Similarly, when the REN signal is active LOW, data in the
FIFO memory will be presented on the Q017 outputs. New data
will be presented on each rising edge of RCLK while REN is
active LOW and OE is LOW. REN must set up tENS before RCLK
for it to be a valid read function. WEN must occur tENS before
WCLK for it to be a valid write function.
Table 1. Write Offset Register
LD WEN WCLK[1]
Selection
0
0
Writing to offset registers:
Empty Offset
An Output Enable (OE) pin is provided to three-state the Q0–17
outputs when OE is deasserted. When OE is enabled (LOW),
data in the output register will be available to the Q017 outputs
after tOE. If devices are cascaded, the OE function will only
output data on the FIFO that is read enabled.
Full Offset
0
1
1
1
0
1
No operation
Write into FIFO
No operation
The FIFO contains overflow circuitry to disallow additional writes
when the FIFO is full, and underflow circuitry to disallow
additional reads when the FIFO is empty. An empty FIFO
maintains the data of the last valid read on its Q017 outputs even
after additional reads occur.
Note
1. The same selection sequence applies to reading from the registers. REN is enabled and read is performed on the LOW-to-HIGH transition of RCLK.
Document Number: 001-45652 Rev. *B
Page 6 of 25
[+] Feedback