CY7C4261V/CY7C4271V
CY7C4281V/CY7C4291V
13
PRELIMINARY
able control pin. In this configuration, when Write Enable 1
(WEN1) is LO W, da ta can be loade d i nto the input regi ster an d
RAM arr a y on the LO W-to-HIGH tr an sition of e very wri te cloc k
(WCLK). Data is stored is the RAM array sequentially and in-
dependently of any on-going read operat ion.
Write Enable 2/Loa d (WEN2/LD ) - This i s a dual-p urpose pin.
The FIFO is configured at Reset to have program mable flags
or t o have two write ena bles, which allows f or dept h e xpansion.
If Write En ab le 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 conf igured to hav e two write en ables, 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 arra y on
the LOW-to-HIGH transition of every write clock (WCLK). Data is
stored in the RAM array sequentially and independently of any on-go-
ing read operation.
Programming
When WEN2/ L D i s 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 9-bit offset registers contained in the
CY7C4261/71/81/91V for writing or reading data to these registers.
When the device is configured for programmable flags and
both WEN2/LD and W EN1 are LOW, the first LO W -to-HIGH transi-
tion 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 WEN 1 are LOW write s data to the em pty LSB regi ster ag ain.
Figur e 1
shows the registers sizes and def ault values for the various
device types.
It is not necessary to write to al l the o ffset r egisters at one time.
A subset of the off set reg isters can be written ; then by bringing
th e WEN 2 /LD input HIGH, the FIFO is returned to normal read and
write operation. The next time WEN2/LD is brought LO W , a write op-
eration stores data in the next of fset register in sequence.
The contents of the offset registers can be read to the data
outputs when WEN2/LD is LOW and both RE N1 and R EN2 are
LOW . LOW-to-HIGH transitions of RCLK read register contents to the
data outputs. Writes and reads should not be performed simulta-
neously on the offset registers.
Programmable Flag (PAE, PAF) Operation
Whether the flag offset registers are programmed as de-
scribed in
Ta ble 1
or the default values are used, the programmable
almost-empty flag (PAE) and programmable almost-full flag (PAF)
states are determined by their corresponding offset registers and the
difference between the read and write pointers.
Figure 1. Of fset Register Location and Default Val ues
64k x 9
80
80
80
Empty Offset (LSB) Reg.
DefaultValue= 007h
FullOffset(LSB)Reg
DefaultValue= 007h
(MSB)
7
7
7
80
80
80
80
Empty Offset (LSB) Reg.
Default Value = 007h
FullOffset(LSB)Reg
Default Value = 007h
(MSB)
(MSB)
7
7
4281V–16
128k x 9
80
(MSB)
7
Default Value = 000h
Default Value= 000h
Default Value= 000h
Default Value= 000h
16k x 9
80
80
80
Empty Offset (LSB) Reg.
Default Value= 007h
Full Offset (LSB) Reg
Default Value= 007h
(MSB)
7
5
7
80
80
80
0
Empty Offset (LSB) Reg.
Default Value = 007h
Full Offset (LSB) Reg
Default Value = 007h
(MSB)
(MSB)
7
7
32k x9
0
(MSB)
Default Value = 000h
Default Value = 000h
DefaultValue= 000h
Default Value = 000h
6
8586