• Pin-compatible density upgrade to CY7C42X5 family
• Pin-compatible density upgrade to
IDT72205/15/25/35/45
Functional Description
The CY7C4255/65 are high-speed, low-power, first-in first-out
(FIFO) memories with clocked read and write interfaces. All
D
0– 17
Logic Block Diagram
INPUT
REGISTER
are 18 bits wide and are pin/functionally compatible to the
CY7C42X5 Synchronous FIFO family. The CY7C4255/65 can
be cascaded to increa se FIFO depth. Programmable features
include Almost Full/Almost Empty flags. These FIFOs provide
solutions for a wide variety of data buffering needs, including
high-speed data acquisition, multiprocessor interfaces, and communications buffering.
These FIFOs have 18-bit input and output ports that are controlled by separate clo ck and enable signals. The input port is
controlled by a free-running clock (WCLK) and a write enable
pin (WEN
When WEN
edge of the WCLK signal. While WEN
).
is asserted, data is written into the FIFO on t he risi ng
is held active, data is continually written into the FIFO on each cycle. The output port is controlled
in a similar manner by a free-running read clock (RCLK) and a read
enable pin (REN
enable pin (OE
). In addition, the C Y 7C4255/65 have an output
). The read and write clocks may be tied together for
single-clock operation or the two clocks may be run independently for
asynchronous read/write applications. Clock fr equencies up to 100
MHz are achievable.
Retransmit and Synchronous Almost Full/Almost Empty flag
features are available on these devices.
Depth expansion is possible using the cascade input (WXI
RXI
), cascade output (WXO, RXO), and First Load ( FL) pins. T he
WXO
and RXO pins are connected to the WXI and RXI pins of the
next device, and the WXO
connected to the WXI
the first device is tied to V
es should be tied to V
and RXO pins of the last device should be
and RXI pins of the first device. The FL pin of
and the FL pin of all the remaining devic-
SS
.
CC
,
WENWCLK
FLAG
PROGRAM
REGISTER
FLAG
LOGIC
READ
POINTER
READ
CONTROL
RCLK
REN
FF
EF
PAE
PAF
SMODE
4255–1
RS
FL/RT
WXI
WXO/HF
RXI
RXO
WRITE
CONTROL
WRITE
POINTER
RESET
LOGIC
EXPANSION
LOGIC
RAM
ARRAY
8K x 18
16K x 18
THREE–STATE
OUTPUTREGISTER
Q
0– 17
OE
CypressSemiconductor Corporation•3901 North First Street•San Jose•CA 95134•408-943-2600
The Empty and Full flags are synchronous, i.e., they change
state relative to either the read clock (RCLK) or the write clock
The CY7C4255/65 provides five status pins. These pins are decoded to determine one of five states: Empty, Almost Empty, Half Full,
Almost Full, and Full (see
WXO
pin. This flag is valid in the stand-alone and width-expansion
Table 2
). The Half Full flag shares the
configurations. In the depth expansion, this pin provides
the expansion out (WXO
) information that is used to signal
the next FIFO when it will b e activate d.
(WCLK). When entering or exiting the Empty states, the flag is
updated exclusively by the RCLK. The flag denoting Full states
is updated exclusively by WCLK. The synchronous flag archi-
tecture guarantees that the flags will remain valid from one
clock cycle to the next. The Almost Empty/Almost Full flags
become synchronous if the VCC/S M O D E
is tied to VSS. All
configurations are fabricated using an advanced 0.5µ
CMOS technology. Input ESD protection is greater than
2001V, and la tch- up is pr even ted by t he use of guard rings .
Selection G uide
7C4255/65–107C4255/65–157C4255/65–257C4255/65–35
Maximum Frequency (MHz)10066.74028.6
Maximum Access Time (ns)8101520
Minimum Cycle Time (ns)10152535
Minimum Data or Enable Set-Up (ns)3467
Minimum Data or Enable Hold (ns)0.5112
Maximum Flag Delay (ns)8101520
Active Power Supply
Current (I
CC1
) (mA)
Density8K x 1816K x 18
Package64-pin
Commercial45454545
Industrial50505050
CY7C4255CY7C4265
64-pin
PLCC,TQFP
PLCC,TQFP
2
CY7C4255
PRELIMINARY
CY7C4265
Pin Definitions
Signal NameDescriptionI/OFunction
D
0 –17
Q
0–17
WENWrite EnableIEnables the WCLK input
RENRead EnableIEnables the RCLK input
WCLKWrite ClockIThe rising edge clocks data into the FIFO when WEN is LOW and the FIFO is not
RCLKRead ClockIThe rising edge clocks data out of the FIFO when REN is LOW and the FIFO is not
WXO/HFWrite Expansion
EFEmpty FlagOWhen EF is LOW, the FIFO is empty. EF is synchronized to RCLK.
FFFull FlagOWhen FF is LOW, the F IF O is f u ll. FF is synchronized to WCLK.
PAEProgrammable
PAFProgrammable
LDLoadIWhen LD is L O W, D
FL/RTFirst Load/
WXIWrite Expansion
RXIRead Expansion
RXORead Expansion
RSResetIResets device to empty condition. A reset is required before an initial read or write
OEOutput EnableIWhen OE is LOW, the FIFO’s data outputs drive the bus to which they are con-
VCC/SMODESynchronous
Data InputsIData inputs for an 18-bit bus
Data OutputsOData outputs for an 18-bit bus
Full. When LD
is asserted, WCLK writes data into the programmable flag-offset
register.
Empty. When LD
is asserted, RCLK reads data out of the programmable flag-off-
set register.
ODual-Mode Pin:
Out/Half Full Flag
Single device or width expansion – Half Full status flag.
Cascaded – Write Expansion Out signal, connected to WXI
OWhen PAE is LOW, the FIFO is almost empty based on the almost-empty offset
Almost Empty
value p rogrammed i nto the FIFO. P AE
to V
; it is synchronized to RCLK when VCC/SMODE is tied to VSS.
CC
OWhen PAF is LOW, the FIFO is almost full based on the almost full offset value
Almost Full
programmed into the FIFO. PAF
V
; it is synchronized to WCLK when VCC/SMODE is tied to VSS.
CC
(Q
ble-flag -o ffs et r e gis te r.
0 – 17
IDual-Mode Pin:
Retransmit
Cascaded – The first device in the daisy chain will have FL
devices will hav e FL
to V
on all devices.
SS
Not Cascaded – Tied to V
mode by strobing RT.
tied to VCC. In standard mode or width exp ans ion, FL is tied
SS
ICascaded – Connected to WXO of previous device.
Input
Not Cascaded – Tied to V
SS
ICascaded – Connected to RXO of previous device.
Input
Not Cascaded – Tied to V
SS
OCascaded – Connected to RXI of next device.
Output
operation after power-up.
nected. If O E
is HIGH, the FIFO’s outputs are in High Z (high-impedance) state.
IDual-Mode Pin
Almost Empty/
Almost Full Flags
Asynchronous Almost Empty/Almost Full flags – tied to V
Synchronous Almost Empty/Almost Full flags – tied to V
(Almost Empty synchr on iz e d to R C L K , A lm o st F u ll synchro n iz ed to WC L K .)
of next device.
is asynchronous when VCC/SMODE is tied
is asynchronous when VCC/SMODE is tied to
) are written (read) into (from) the programma-
0 – 17
tied to VSS; all other
. Retransmit function is also available in stand-alone
.
.
.
CC
.
SS
3
CY7C4255
PRELIMINARY
Maximum Ratings
(Above which the useful life may be impaired. For user guidelines, not tested.)
Storage Temperature ................................–65
Ambient Temperature with
Power Applied............................................–55
Supply Voltage to Ground Potential............... –0.5V to +7.0V
DC Voltage Applied to Outputs
in High Z State ...............................................–0.5V to +7.0V
DC Input Voltage...........................................−0.5V to V
Electrical Characteristics Over the Operating Range
°C to +1 50° C
°C to +125 ° C
+0.5V
cc
Output Current into Outputs (LOW)............................. 20 mA
2. See the last page of this specification for Group A subgroup testing information.
3. The VIH and VIL specifications apply for all inputs except WXI, RXI. The WXI, RXI pin is not a TTL input. It is connected to either RXO, WXO of the
previous device or VSS.
4. The V
5. Input signals switch from 0V to 3V with a rise/fall time of less than 3 ns, clocks and clock enables switch at 20MHz, while data inputs switch at 10MHz. Outputs
6. All inputs = VCC – 0.2V, except RCLK and WCLK (which are switching at frequency = 20 MHz), and FL/RT which is at Vss. All outputs are unloaded.
7. Tested initially and after any design changes that may affect these parameters.
8. Tested initially and after any process changes that may affect these parameters.
and VIL specifications apply for all inputs except WXI, RXI. The WXI, RXI pin is not a TTL input. It is connected to either RXO, WXO of the
IH
previous device or V
ar e u n loa d ed. Icc1 (t ypica l) = (25mA+(freq-20MHz)*(1.0mA/MHz))
Input CapacitanceTA = 25°C, f = 1 MH z ,
V
= 5.0 V
Output Capacitance7pF
SS.
CC
5pF
4
CY7C4255
CY7C4265
90%
10%
ns
4255–5
AC Test Loads and Waveforms
R1 1.1K
5V
OUTPUT
INCLUDING
C
JIG AND
SCOPE
L
Ω
R2
680Ω
4255–4
PRELIMINARY
[9, 10]
3.0V
GND
≤ 3ns≤ 3
Equivalent to:THÉ VENIN EQUIVALENT
410Ω
OUTPUT1.91V
ALL INPUT PULSES
90%
10%
Switching Characteristics Over the Operating Range
7C42X5–10 7C42X5–15 7C42X5–25 7C42X5–35
ParameterDescriptionMin. Max. Min. Max. Min. Max. Min. Max.Unit
t
S
t
A
t
CLK
t
CLKH
t
CLKL
t
DS
t
DH
t
ENS
t
ENH
t
RS
t
RSR
t
RSF
t
PRT
t
RTR
t
OLZ
t
OE
t
OHZ
t
WFF
t
REF
t
PAFasynch
t
P AFsyn ch
t
P A Easyn ch
Notes:
9. C
L
10. CL = 5 pF for t
11. Pulse widths less than minimum values are not allowed.
12. Values guaranteed by design, not currently tested.
13. t
PAFasynch
Clock Cycle Frequency10066.74028.6MHz
Data Access Time28210215220ns
Clock Cycle Time10152535ns
Clock HIGH Time4.561014ns
Clock LOW Time4.561014ns
Data Set-Up Time3467ns
Data Hold Time0.5112ns
Enable Set-Up Time3467ns
Enable Hold Time0.5112ns
Reset Pulse Width
[11]
10152535ns
Reset Recovery Time8101520ns
Reset to Flag and Output Time10152535ns
Retransmit Pulse Width30354555ns
Retransmit Recovery Time60657585ns
Output Enable to Output in Low Z
[12]
0000ns
Output Enable to Output Valid3738312315ns
Output Enable to Output in High Z
[12]
3738312315ns
Write Clock to Full Flag8101520ns
Read Clock to Empty Flag8101520ns
Clock to Programmable Almost-Full Flag
[13]
12162025ns
(Asynchronous mode, VCC/SMODE tied to
V
)
CC
Clock to Programmable Almost-Full Flag
(Synchronous mode, V
/SMODE tied to VSS)
CC
Clock to Programmable Almost-Empty Flag
[13]
8101520ns
12162025ns
(Asynchronous mode, VCC/SMODE tied to VCC)
= 30 pF for all AC parameters except for t
, t
.
OHZ
, after program register write will not be valid until 5 ns + t
PAEa syn ch
OHZ
.
.
PAF (E)
5
CY7C4255
PRELIMINARY
CY7C4265
Switching Characteristics Over the Operating Range (continued)
7C42X5–10 7C42X5–15 7C42X5–25 7C42X5–35
ParameterDescriptio nMin. Max. Min. Max. Min.Max. Min. Max.Unit
t
PAEsynch
t
HF
t
XO
t
XI
t
XIS
t
SKEW1
t
SKEW2
t
SKEW3
Clock to Programmable Almost-Full Flag
(Synchronous mode, V
Clock to Half-Full Flag12162025ns
Clock to Expansion Out6101520ns
Expansion in Pulse Width4.56.51014ns
Expansion in Set-Up Time451015ns
Skew Time between Read Clock and Write
Clock for Full Flag
Skew Time between Read Clock and Write
Clock for Empty Flag
Skew Time between Read Clock and Write
Clock for Programmable Almost Empty and Programmable Almost Full Flags (Synchronous
Mode only)
/SMODE tied to VSS)
CC
10151820ns
8101520ns
561012ns
561012ns
6
CY7C4255
Switching Waveforms
Write Cycle Timing
WCLK
D
0–D17
WEN
FF
RCLK
REN
t
SKEW1
PRELIMINARY
t
t
CLKH
[14]
t
WFF
CLK
t
t
DS
CLKL
t
ENS
t
DH
t
ENH
t
WFF
CY7C4265
NO OPERATION
4255–6
Read Cycle Timing
RCLK
t
ENS
REN
EF
Q
0–Q17
t
OLZ
OE
WCLK
WEN
Notes:
14. t
15. t
is the mi nimum t ime bet ween a r ising RCLK edg e and a ris ing WC LK edge to guar antee tha t FF will go HIGH during the current clock cycle. If the time between the
SKEW1
rising edge of R CLK and the r ising edge of WCLK is less than t
is the minimum time between a rising WCLK edge and a rising RCLK edge to guarantee that EF will go HIGH during the current clock cycle. It the time between the
SKEW2
rising edge of WCLK and th e ris ing ed ge of RCLK is les s than t
t
t
CLKH
ENH
t
t
REF
A
t
CLK
t
OE
SKEW1
SKEW2
t
CLKL
NO OPERATION
t
REF
VALID DATA
[15]
t
SKEW2
, then FF may not c hange state un til the ne xt WCLK ri sing edge.
, then EF may not chan ge s tate unti l the next RC LK r ising edge.
t
OHZ
4255–7
7
CY7C4255
PRELIMINARY
Switching Waveforms (continued)
RS
LD
HF
[16]
t
RS
t
RSF
t
RSF
t
RSF
17
Reset Timing
,WEN,
REN
EF,PAE
FF,PAF,
Q0–Q
First Data Word Lat ency after Reset with Simultaneous Read and Write
t
RSR
CY7C4265
[17]
OE=1
=0
OE
4255–8
WCLK
t
DS
D0–D
WEN
17
t
ENS
D
(FIRSTVA LIDWRITE)
0
t
SKEW2
t
FRL
[18]
RCLK
EF
REN
Q
0–Q17
t
OLZ
OE
Notes:
16. The clocks (RCLK, WCLK) can be free-running during reset.
17. After reset, the outputs will be LOW if OE
18. When t
The Latency Timing applies only at the E mpty Boundary (EF = L OW).
19. The first word is available the cycle after EF goes H IGH, al ways.
> minimum specification, t
SKEW2
= 0 and three- state if OE = 1.
(maximum) = t
FRL
CLK
+ t
SKEW2
D
1
t
REF
. When t
t
OE
< minimum spe cification, t
SKEW2
D
2
t
A
(maximum) = either 2*t
FRL
D
3
[19]
t
A
D
0
+ t
CLK
SKEW2
or t
CLK
D
1
4255–9
+ t
SKEW2
D
4
.
8
CY7C4255
Switching Waveforms (continued)
Empty Flag Timing
WCLK
t
DS
D0–D
17
t
ENH
t
SKEW2
t
FRL
[18]
RCLK
Q
0–Q17
WEN
EF
REN
OE
t
ENS
PRELIMINARY
t
REF
CY7C4265
t
DS
D1D0
t
t
ENS
t
REF
t
A
ENH
t
SKEW2
t
FRL
[18]
D0
t
REF
4255–10
Full FlagTiming
WCLK
D0–D
17
FF
WEN
RCLK
REN
OE
Q
0–Q17
NO WRITE
[14]
t
SKEW1
t
WFF
t
t
ENS
ENH
LOW
t
A
DATA IN OUTPUT REGISTER
NO WRITE
t
DS
t
SKEW1
[14]
DATA WRITE
DATA WRITE
t
WFF
DATA READ
t
ENS
t
WFF
t
t
ENH
A
NEXT DATA READ
4255–11
9
CY7C4255
PRELIMINARY
Switching Waveforms (continued)
Half–Full Flag Timing
t
CLKH
WCLK
WEN
HF
RCLK
REN
Programmable Almost Empty Flag Timing
HALF FULLORLESSHALF FULLOR LESS
t
CLKH
t
ENS
t
ENH
t
CLKL
t
CLKL
CY7C4265
t
HF
t
ENS
HALF FULL + 1
OR MORE
t
HF
4255–12
WCLK
WEN
[20]
PAE
RCLK
REN
Notes:
is offset = n. Number of da ta wo rds into FIFO already = n.
20. PAE
t
ENS
t
ENH
t
PAE
t
ENS
N + 1 WORDS
IN FIFO
t
PAE
n WORDS IN FIFO
4255–13
10
CY7C4255
PRELIMINARY
Switching Waveforms (continued)
Programmable Almost Empty Flag Timing (applies only in SM O DE (SMODE is LOW))
ENS
ENS
[22]
t
ENH
t
ENH
t
CLKL
Note
21
t
PAE synch
t
ENS
N + 1 WORDS
INFIFO
t
ENS
WCLK
WEN
WEN2
PAE
RCLK
REN
t
CLKH
t
SKEW3
t
t
t
ENH
CY7C4265
Note
t
PAE synch
23
4255–14
Programmable Almost Full FlagTiming
t
CLKH
Note
WCLK
WEN
[25]
PAF
RCLK
REN
Notes:
21. PAE offset − n.
22. t
23. If a read is preformed on this rising edge of the read clock, there will be Empty + (n−1) words in the FIFO when PAE goes LOW.
24. PAF offset = m. Number of data words written into FIFO already = 8192 − (m + 1) for the CY7C4255 and 16384 − (m + 1) for the CY7C4265.
25. PAF is offset = m.
26. 8192 − m words in CY7C4255 and 16384 - m words in CY7C4265.
27. 8192 − (m + 1) words in CY7C4255 and 16384 - (m + 1) CY7C4265.
is the minimum time between a risi ng WCLK and a rising RCLK edge for P AE to change stat e during that clock cycle. If the time between the edg e of WCLK and the
SKEW3
rising RCLK is less t han t
, then PAE may not change s tate unti l the next R CLK.
SKEW3
24
t
ENS
t
ENH
t
CLKL
t
PAF
FULL– M WORDS
INFIFO
t
ENS
[26]
t
FULL– (M+1) WORDS
IN FIFO
PAF
[27]
4255–15
11
CY7C4255
PRELIMINARY
Switching Waveforms (continued)
Programmable Al most Full Flag Timing (applies only in SM O DE (SMODE is LOW))
Note
28
Note
29
t
PAF
FULL– M WORDS
t
SKEW3
t
ENS
IN FIFO
[30]
t
ENS
WCLK
WEN
WEN2
PAF
RCLK
REN
t
CLKH
t
CLKL
t
t
ENH
ENS
t
t
ENH
ENS
FULL– M + 1 WORDS
IN FIFO
[26]
t
ENH
CY7C4265
t
PAF synch
4255–16
Write Programmable Registers
t
CLK
t
CLKH
WCLK
t
ENS
LD
t
ENS
WEN
t
DS
D
0–D17
PAE OFFSET
Notes:
28. If a write is performed on this rising edge of the write clock, there will be Full − (m − 1) words of the FIFO when PAF
29. PAF offset = m.
30. t
is the minimum time between a rising RCLK and a rising WCLK edge for P AF to c han ge sta te d uring that cloc k c ycle. If th e t ime bet ween the edge of RC LK and the
SKEW3
rising edge of W CLK is less tha n t
, then PAF may not change state unt il the next WCLK r ising edge.
SKEW3
t
CLKL
t
ENH
t
DH
PAF OFFSET
PAE OFFSET
D0–
D
11
goes LOW.
4255–17
12
CY7C4255
Switching Waveforms (continued)
Read Programmable Register s
t
CLK
t
CLKH
RCLK
t
ENS
LD
t
ENS
WEN
Q
0–Q17
Write ExpansionOut Timing
t
CLKH
WCLK
WXO
t
ENS
WEN
PRELIMINARY
t
CLKL
t
ENH
t
A
UNKNOWN
Note 31
t
XO
Note 31
t
XO
PAE OFFSET
CY7C4265
PAF OFFSETPAE OFFS ET
4255–18
4255–19
Read Expansion Out Timing
WCLK
RXO
REN
Write E xpansion In Tim ing
WXI
WCLK
Notes:
31. Write to Last Physical Location.
32. Read from Last Physical Location.
t
ENS
t
CLKH
t
t
XIS
XI
Note 32
t
XO
t
XO
4255–20
4255–21
13
CY7C4255
PRELIMINARY
Switching Waveforms (continued)
Read Expansion I n Timin g
t
XI
RXI
t
RCLK
Retransmit Timing
FL/RT
REN/WEN
EF/FF
and all
async flags
HF/PAE/PAF
Notes:
33. Clocks are free running in this case.
34. The flags may change state during Retransmit as a result of the offset of the read and write pointers, but flags will be valid at t
35. For the synchronous PAE and PAF flags (S MODE), an appr opri ate cloc k cycl e is nec essar y after t
[33, 34, 35]
t
PRT
RTR
XIS
to update these f lags.
t
RTR
CY7C4265
.
RTR
4255–22
4255–23
14
CY7C4255
PRELIMINARY
Architecture
The CY7C4256/65 consists of an array of 8K/16K words of 18
bits each (implemented by a dual-port array of SRAM cells), a
read pointer, a write pointer, control sig nals (RCLK, WCLK,
REN
, WEN, RS), and flags (EF, PAE, HF, PAF, FF). The
CY7C4255/65 also incl udes the control signals WXI
RXO
for depth expansion.
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
while RS
is LOW.
and the user must not read or write
FIFO Operation
When the WEN signal is active (LOW), data present on the D
pins is written into the FIFO on each rising edge of the WCLK signal.
Similarly, when the REN
ory will be presented on the Q
sented on each rising edge of RCLK while REN
OE
is LOW. REN must set up t
read function. WEN
write function.
An output enable (OE
outputs when OE is deasserted. When OE is enabled (LOW), data
in the output register will be available to the Q
If devices are cascaded, the OE
FIFO that is read enabled.
The FIFO contains overflow circuitry to disallow additional
writes when the FIFO is full, and under flow circuitry to disallow
additional reads when the FIFO is empty. An empty FIFO
maintains the data of the last valid read on its Q
even after additional reads occur.
signal is active LOW, data in the FIFO mem-
must occur tENS before WCLK for it to be a valid
) pin is provided to three-state the Q
outputs. New data wil l be pre-
0 – 17
before RCLK for it to be a valid
ENS
function will only output data on the
0 – 17
Programm ing
The CY7C4255/65 devices contain two 14-bit offset registers.
Data present on D
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
is set LOW and WEN
into the Empty offset register on the first LOW-to-HIGH transition of
the write clock (WCLK). When the LD
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
Ta b l e 1
one time. One or two offset registers can be written and then, by bringing the LD
). Writing all offset registers does not have to occur at
pin HIGH, the FIFO is returned to normal read/write oper-
during a program write will determine the
0–13
Table 2
). When the Load LD pin
is set LOW, data on the inputs D
pin and WEN are held LOW
, RXI, WXO,
0–17
is active LOW and
0 – 17
outputs after tOE.
outputs
0 – 17
is written
0 – 13
CY7C4265
ation. When the LD
register in sequence is written.
The contents of the offset registers can be read on the output
lines when the LD
can be read on the LOW-to-HIGH transition of the read clock (RCLK).
Table 1. Write Offset Register.
LDWENWCLK
00Writing to offset registers:
01No Operation
10Write Into FIFO
11No Operation
Flag Operation
The CY7C4255/65 devices provide five flag pins to indicate
the condition of th e FIFO contents. Empty and Full are synchronous. PAE
V
.
SS
Full Flag
The Full Flag (F F
are inhibited whenever FF
FF
is synchronized to WCLK, i.e., it is exclusively updated by ea ch
rising edge of WCLK.
Empty Flag
The Empty Flag (EF
operations are inhibited whenever EF
of REN
. EF is synchronized to RCLK, i.e., it is exclusively updated by
each rising edge of RCLK.
Programmable Almost Empty/Al most Ful l Flag
The CY7C4255/65 features programmable Almost Empty and
Almost Full Flags. Each flag can be programmed (described
in the Programming section) a specific distance from the corresponding boundary flags (Empty or Full). When the FIFO
contains the number of words or fewer for which the flags h ave
been programmed, the P A F
the FIFO is either Almost Full or Almost Empt y. See
description of programmable flags.
When the SMODE
caused by the rising edge of the write clock and the P AE
is caused by the rising edge of the read clock.
pin is set LOW, and WEN is LOW, the next of fset
pin is set LOW and REN is set LOW; then, data
[36]
Empty Offset
Full Offset
and PAF are synchronous if VCC/SMODE is tied to
) will go LOW when device is Full. Write operations
is LOW regardless of the state of WEN.
) will go LOW when the device is empty . Read
or P AE will be asserted, signifying that
pin is tied LOW, the P AF flag signal transition is
Selection
is LOW, regardless of the state
Table 2
for a
flag transition
15
CY7C4255
CY7C4265
Retransmit
PRELIMINARY
nal read pointer to the first physical location of the FIFO. WCLK and
RCLK may be free running but m ust be di sabled dur ing and t
The retransmit feature is beneficial when transferring packets
of data. It enables the receipt of data to be acknowledged by
the receiver and retransmitted if necessary.
The Retransmit (RT) input is active in the stand-alone and
width expansion modes. The retransmit feature is i ntended for
use when a number of writes equal to or less than the depth
of the FIFO have occurred and at least one word has been
read since the last RS
cycle. A HIGH pulse on RT resets the inter -
after the retransmit pulse. With every valid read cycle after retransmit,
previously accessed data is read and the read pointer is incriminated
until it is equal to the write pointer . 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 af ter activation of RT are
transmitted also.
The full depth of the FIFO can be repeatedly retransmitted.
Table 2. Flag Truth Table.
Number of Words in FIFO
FFPAFHFPAEEF7C4255 – 8K x 18 7C4265 – 16K x 18
00HHHLL
1 to n
[37]
1 to n
[37]
HHHLH
(n+1) to 4096(n+1) to 8192HHHHH
4097 to (8192–(m+1))8193 to (16384 –(m+1))HHLHH
(8192–m)
[38]
to 8191(16384–m)
[38]
to 16383HLLHH
819216384LLLHH
Notes:
36. The same selection sequence applies to reading from the registers. REN
37. n = Empty Offset (Default Values: CY7C4255/CY7C4265 n = 127).
38. m = Full Offset (Default Values: CY7C4255/CY7C4265 n = 127).
is enabled and read i s perfor med o n the LOW-t o-HIGH tr ansiti on of RCLK.
RTR
16
CY7C4255
PRELIMINARY
Width Expansion Configuration
The CY7C4255/65 can be expanded in width to provide word
widths greater than 18 in increments of 18. During width expansion mode all control line inputs are comm on and all flags
are available. Empty (Full) flags should be created by ANDing
7C4255
7C4265
(RS)
18
DATA IN (D)
WRITE CLOCK(WCLK)
WRITE ENABLE(WEN
LOAD(LD
PROGRAMMABLE(PAE
HALF FULL FLAG (HF
FULL FLAG (FF
)
RESET
1836
)
)
)
)
FFEF
CY7C4265
the Empty (Full) flags of every FIFO; the PAE
can be detected from any one device. This technique will avoid
reading d ata from, or writi ng data to the FI FO that is “staggered” by one clock cycle due to the variations in skew between RCLK and WCLK.
by using two CY7C4255/65s.
Figure 1. Block Diagram of 8K x18/16K x 18Synchronous FIFO Memory Used in a Width Expansion Configuration.
)
)
4255–24
17
CY7C4255
PRELIMINARY
Depth Expansion Configuration
(with Program mab le Flags )
The CY7C4255/65 can easily be adapted to applications requiring more than 8192/16384 words of buffering.
shows Depth Expansion using three CY7C42X5s. Maximum depth
is limited only by signal loading. Follow these steps:
1. The first device must be desig nated by grounding the First
Load (FL
2. All other devices must have FL
) control input.
in t h e HIGH s ta t e.
Figure 2
V
CC
FL
FFEF
PAF
WXO RXO
7C4255
7C4265
WXI RXI
CY7C4265
3. The Write Expansion Out (WXO
tied to the Write Expansion In (WXI
4. The Read Expansion Out (RXO
tied to the Read Expansion In (RXI
5. All Load (LD
6. The Half-Full Flag (HF
Configuration.
, FF, PAE, and PAF are created with composite flags by
7. EF
ORing together these respective flags for monitoring. The
composite PAE
PAE
) pins are tied together.
) is not available in the Depth Expansion
and PAF flags are not precise.
) pin of each device must be
) pin of the next device.
) pin of each device must be
) pin of the next device.
WXO RXO
DATAI N (D)DATA OUT(Q)
V
CC
WRITECLOCK(WCLK)
LOAD
(LD)
WRITEENABLE
RESET
FF
PAF
(RS)
FIRST LOAD(FL)
(WEN)
7C4255
7C4265
FL
FFEF
PAF
WXI RXI
WXO
7C4255
7C4265
FFEF
PAF
WXI RXI
PAE
RXO
PAE
READCLOCK
READENABLE
OUTPUTENABLE
(RCLK)
(REN)
(OE)
EF
PAE
4255–25
Figure 2. Block Diagram of 8Kx18/16Kx18 Synchronous FIFO Memory
with Programmable Flags used in Depth Expansion Configuration.