CY7C4261, CY7C4261
Document #: 38-06015 Rev. *D Page 4 of 19
Functional Description
The CY7C4261/71 provides four status pins: Empty, Full,
Programmable Almost Empty, and Programmable Almost Full.
The Almost Empty/Almost Full flags are programmable to single
word granularity. The programmable flags default to Empty + 7
and Full – 7.
The flags are synchronous, that is, they change state relative to
either the read clock (RCLK) or the write clock (WCLK). When
entering or exiting the Empty and Almost Empty states, the flags
are updated exclusively by the RCLK. The flags denoting Almost
Full, and Full states are updated exclusively by WCLK. The
synchronous flag architecture guarantees that the flags maintain
their status for at least one cycle.
All configurations are fabricated using an advanced 0.5μ CMOS
technology. Input ESD protection is greater than 2001V, and
latch-up is prevented by the use of guard rings.
Architecture
The CY7C4261/71 consists of an array of 16K to 32K words of
nine bits each (implemented by a dual port array of SRAM cells),
a read pointer, a write pointer, control signals (RCLK, WCLK,
REN1
, REN2, WEN1, WEN2, RS), and flags (EF, PAE, PAF, FF).
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 (Q
08
) go LOW t
RSF
after the
rising edge of RS
. 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. All flags are guaranteed to be valid t
RSF
after
RS
is taken LOW.
FIFO Operation
When the WEN1 signal is active LOW, WEN2 is active HIGH,
and FF
is active HIGH, data present on the D
08
pins is written
into the FIFO on each rising edge of the WCLK signal. Similarly,
when the REN1
and REN2 signals are active LOW and EF is
active HIGH, data in the FIFO memory is presented on the Q
08
outputs. New data is presented on each rising edge of RCLK
while REN1
and REN2 are active. REN1 and REN2 must set up
t
ENS
before RCLK for it to be a valid read function. WEN1 and
WEN2 must occur t
ENS
before WCLK for it to be a valid write
function.
An output enable (OE
) pin is provided to three-state the Q
08
outputs when OE is asserted. When OE is enabled (LOW), data
in the output register is available to the Q
08
outputs after t
OE
. If
devices are cascaded, the OE
function only outputs data on the
FIFO that is read enabled.
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 Q
08
outputs even
after additional reads occur.
Write Enable 1 (WEN1
). If the FIFO is configured for
programmable flags, Write Enable 1 (WEN1
) is the only write
enable control pin. In this configuration, when Write Enable 1
(WEN1
) is LOW, data can be loaded into the input register and
RAM array on the LOW-to-HIGH transition of every write clock
(WCLK). Data is stored is the RAM array sequentially and
independently of any on-going read operation.
Write Enable 2/Load (WEN2/LD
). This is a dual purpose pin.
The FIFO is configured at Reset to have programmable flags or
to have two write enables, which allows for depth expansion. If
Write Enable 2/Load (WEN2/LD
) is set active HIGH at Reset (RS
= LOW), this pin operates as a second write enable pin.
If the FIFO is configured to have two write enables, when Write
Enable (WEN1
) is LOW and Write Enable 2/Load (WEN2/LD) is
HIGH, data can be loaded into the input register and RAM array
on the LOW-to-HIGH transition of every write clock (WCLK).
Data is stored in the RAM array sequentially and independently
of any ongoing read operation.
Programming
When WEN2/LD is held LOW during Reset, this pin is the load
(LD
) enable for flag offset programming. In this configuration,
WEN2/LD
can be used to access the four 8-bit offset registers
contained in the CY7C4261/71 for writing or reading data to
these registers.
When the device is configured for programmable flags and both
WEN2/LD
and WEN1 are LOW, the first LOW-to-HIGH transition
of WCLK writes data from the data inputs to the empty offset least
significant bit (LSB) register. The second, third, and fourth
LOW-to-HIGH transitions of WCLK store data in the empty offset
most significant bit (MSB) register, full offset LSB register, and
full offset MSB register, respectively, when WEN2/LD
and WEN1
are LOW. The fifth LOW-to-HIGH transition of WCLK while
WEN2/LD
and WEN1 are LOW writes data to the empty LSB
register again. Figure 3 shows the register sizes and default
values for the various device types.
Figure 3. Offset Register Location and Default Values
16K ×9 32K ×9
8
0
8
0
8
0
8
0
Empty Offset (LSB) Reg.
Default Value= 007h
Full Offset (LSB) Reg
Default Value= 007h
(MSB)
000000
(MSB)
000000
7
5
7
5
8
0
8
0
8
0
8
0
Empty Offset (LSB) Reg.
Default Value= 007h
Full Offset (LSB) Reg
Default Value= 007h
(MSB)
0000000
(MSB)
0000000
7
6
7
6
[+] Feedback
CY7C4261, CY7C4261
Document #: 38-06015 Rev. *D Page 5 of 19
It is not necessary to write to all the offset registers at one time.
A subset of the offset registers can be written, and then by
bringing the WEN2/LD
input HIGH, the FIFO is returned to
normal read and write operation. The next time WEN2/LD
is
brought LOW, a write operation stores data in the next offset
register in sequence.
The contents of the offset registers can be read to the data
outputs when WEN2/LD
is LOW and both REN1 and REN2 are
LOW. LOW-to-HIGH transitions of RCLK read register contents
to the data outputs. Writes and reads must not be performed
simultaneously on the offset registers.
Programmable Flag (PAE, PAF) Operation
Whether the flag offset registers are programmed as described
in Table 2 or the default values are used, the programmable
almost-empty flag (PAE
) (PAF) states are determined by their
corresponding offset registers and the difference between the
read and write pointers.
The number formed by the empty offset least significant bit
register and empty offset most significant bit register is referred
to as n and determines the operation of PAE
. PAF is synchronized
to the LOW-to-HIGH transition of RCLK by one flip-flop and is
LOW when the FIFO contains n or fewer unread words. PAE
is
set HIGH by the LOW-to-HIGH transition of RCLK when the
FIFO contains (n+1) or greater unread words.
The number formed by the full offset least significant bit register
and full offset most significant bit register is referred to as m and
determines the operation of PAF
. PAE is synchronized to the
LOW-to-HIGH transition of WCLK by one flip-flop and is set LOW
when the number of unread words in the FIFO is greater than or
equal to CY7C4261 (16K-m) and CY7C4271 (32K-m). PAF
is set
HIGH by the LOW-to-HIGH transition of WCLK when the number
of available memory locations is greater than m.
Width Expansion Configuration
Word width may be increased by simply connecting the
corresponding input controls signals of multiple devices. A
composite flag must be created for each of the end-point status
flags (EF
and FF). The partial status flags (PAE and PAF) can be
detected from any one device. Figure 4 on page 6 demonstrates
a 18-bit word width by using two CY7C4261/71s. Any word width
can be attained by adding additional CY7C4261/71s.
When the CY7C4261/71 is in a Width Expansion Configuration,
the Read Enable (REN2) control input can be grounded (see
Figure 4 on page 6). In this configuration, the Write Enable
2/Load (WEN2/LD
) pin is set to LOW at Reset so that the pin
operates as a control to load and read the programmable flag
offsets.
Flag Operation
The CY7C4261/71 devices provide four flag pins to indicate the
condition of the FIFO contents. Empty, Full, PAE
, and PAF are
synchronous.
Full Flag
The Full Flag (FF) goes LOW when the device is full. Write
operations are inhibited whenever FF
is LOW regardless of the
state of WEN1
and WEN2/LD. FF is synchronized to WCLK, that
is, it is exclusively updated by each rising edge of WCLK.
Empty Flag
The Empty Flag (EF) goes LOW when the device is empty. Read
operations are inhibited whenever EF
is LOW, regardless of the
state of REN1
and REN2. EF is synchronized to RCLK, that is, it
is exclusively updated by each rising edge of RCLK.
Table 2. Writing the Offset Registers
LD WEN
WCLK
[1]
Selection
00
0 1 No Operation
1 0 Write Into FIFO
1 1 No Operation
Table 3. Status Flags
Number of Words in FIFO
FF PAF PAE EF
CY7C4261 CY7C4271
00 HHLL
1 to n
[2]
1 to n
[2]
HH LH
(n + 1) to
(16384 (m + 1))
(n + 1) to
(32768 (m + 1))
HH HH
(16384 m)
[3]
to 16383 (32768 m)
[3]
to 32767
HL HH
16384 32768 L L H H
Notes
1. The same selection sequence applies to reading from the registers. REN1
and REN2 are enabled and a read is performed on the LOW-to-HIGH transition of RCLK.
2. n = Empty Offset (n = 7 default value).
3. m = Full Offset (m = 7 default value).
[+] Feedback
CY7C4261, CY7C4261
Document #: 38-06015 Rev. *D Page 6 of 19
Figure 4. Block Diagram of 16K × 18/32K × 18 Deep Sync FIFO Memory Used in a Width Expansion Configuration
FF
FF
EF
EF
WRITECLOCK(WCLK)
WRITE ENABLE1(WEN1)
WRITE ENABLE2/LOAD
(WEN2/LD
)
PROGRAMMABLE(PAF
)
FULL FLAG (FF
)# 1
CY7C4261/71
918
DATAIN (D)
RESET
(RS)
9
RESET(RS)
READCLOCK(RCLK)
READENABLE1 (REN1
)
OUTPUT ENABLE (OE
)
PROGRAMMABLE(PAE)
EMPTY FLAG(EF
) #1
9
DATA OUT(Q)
918
Read Enable 2 (REN2)
CY7C4261/71
EMPTY FLAG (EF) #2
FULL FLAG (FF
)# 2
Read Enable 2 (REN2
)
[+] Feedback

CY7C4261-15JXC

Mfr. #:
Manufacturer:
Cypress Semiconductor
Description:
IC DEEP SYNC FIFO 16KX9 32-PLCC
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union