CYF1018V
CYF1036V
CYF1072V
18/36/72-Mbit Programmable
2-Queue FIFOs
Cypress Semiconductor Corporation 198 Champion Court San Jose,CA 95134-1709 408-943-2600
Document Number: 001-68321 Rev. *C Revised August 16, 2012
18/36/72-Mbit Programmable 2-Queue FIFOs
Features
Memory organization
Industry’s largest first in first out (FIFO) memory densities:
18-Mbit, 36-Mbit, 72-Mbit
Selectable memory organization: × 9, × 12, × 16, × 18, × 20,
× 24, × 32, × 36
Up to 100-MHz clock operation
Unidirectional operation
Independent read and write ports
Supports simultaneous read and write operations
Reads and writes operate on independent clocks upto a
maximum clock ratio of 2, enabling data buffering across
clock domains
Supports multiple I/O voltage standard: Low voltage
complementary metal oxide semiconductor (L VCMOS) 3.3 V
and 1.8 V voltage standards.
Output enable control for read skip operations
User configured two-Queue operating mode
Mark and retransmit: resets read pointer to user marked
position
Empty and full status flags
Flow-through mailbox register to send data from input to output
port, bypassing the FIFO seque nce
Separate serial clock (SCLK) input for serial programming
Master reset to clear entire FIFO
Joint test action group (JT AG) port provided for boundary scan
function
Industrial temperature range: –40 °C to +85 °C
Functional Description
The Cypress programmable FIFO family offers the industry’s
highest-density programmable FIFO memory device. It has
independent read and write ports, which can be clocked up to
100 MHz. User can configure input and output bus sizes. The
maximum bus size of 36 bits enables a maximum data
throughput of 3.6 Gbps. The read and write ports can support
multiple I/O voltage standards. The user-programmable
registers enable user to configure the device operation as
desired. The device also offers a simple and easy-to-use
interface to reduce implementation and debugging efforts,
improve time-to-market, and reduce engineering costs. This
makes it an ideal memory choice for a wide range of applications
including multiprocessor interfaces, video and image
processing, networking and telecommunications, high-speed
data acquisition, or any system that needs buffering at very high
speeds across different clock domains.
As implied by the name, the functionality of the FIFO is such that
the data is read out of the read port in the same sequence in
which it was written into the write port. The da ta is sequentially
written into the FIFO fro m the write port. If the writes an d inputs
are enabled, the data on the write port gets written into the device
at the rising edge of the write clock. Enabling the reads and
outputs fetches data on the read port at every rising edge of the
read clock. Both reads and writes can occur simultaneously at
different speeds provided the ratio of read to write clock is
between 0.5 and 2. Appropriate flags are set whenever the FIFO
is empty or full.
The device also supports two-Queue operation, mark and
retransmit of data, and a flow-through mailbox register.
All product features and specs are common to all densities
(CYF1072V, CYF1036V, and CYF1018V) unless otherwise
specified. All descriptions are given assuming the device is
CYF1072V operated in × 36 mode. They hold good for other
densities (CYF1036V, and CYF1018V) and all port sizes × 9,
×12, × 16, × 18, × 20, × 24 and × 32 unless otherwise specified.
the only difference will be in the input and output bus width.
Table 1 on page 8 shows the part of bus with valid data from
D[35:0] and Q[35:0] in × 9, × 12, × 16, × 18, × 20, × 24, × 32 and
× 36 modes.
CYF1018V
CYF1036V
CYF1072V
Document Number: 001-68321 Rev. *C Page 2 of 29
Logic Block Diagram
CYF1018V
CYF1036V
CYF1072V
Document Number: 001-68321 Rev. *C Page 3 of 29
Contents
Pin Diagram for CYF1XXXVXXL ......................................4
Pin Definitions ..................................................................5
Architecture ......................................................................7
Reset Logic .................................. ... .............. .. ... .........7
Flag Operation ........................ ... .............. ... .............. ...7
Full Flag .............. ... .............. ... .............. .............. ... ......7
Empty Flag ............ .............. ... .............. ... .............. ... ...7
Retransmit from Mark Operation .................................7
Flow-through mailbox Register ....................................7
Selecting Word Sizes ..................................................8
Data Valid Signal ............ .............. ... .. .............. ... .........8
Power Up .......... .............. ... .............. .............. .............. ... ...8
Read Skip Operation ...................................................8
Multi-Queue Operation ................................................8
Width Expansion Configuration .................................10
Memory Organization for Diff erent Port Sizes ...........11
Read/Write Clock Requirements ...............................11
JTAG operation .........................................................11
Maximum Ratings ...........................................................13
Operating Range .............................................................13
Recommended DC Operating Conditions ....................13
Electrical Characteristics ........... .............. ... .. .................13
I/O Characteristics ..........................................................14
Latency Table ................ .. .............. ... ............................ ...14
Switching Characteristics ..............................................16
Switching Waveforms ....................................................17
Ordering Information ......................................................25
Ordering Code Definitions .........................................25
Package Diagram ............................................................26
Acronyms ........................................................................ 27
Document Conventions .................. ... ... .............. ... ........27
Units of Measure ........................... ... ... .............. ... .. ...27
Document History Page ........................... ... .............. .. ...28
Sales, Solutions, and Legal Information ......................29
Worldwide Sales and Design Support .......................29
Products .................................................................... 29
PSoC Solutions ............ ... ... .............. ... ... ...................29
CYF1018V
CYF1036V
CYF1072V
Document Number: 001-68321 Rev. *C Page 4 of 29
Pin Diagram for CYF1XXXVXXL
Figure 1. 209-ball FBGA (Top View)
1 2 3 4 5 6 7 8 9 10 11
AFF D0 D1 WQSEL0 PORTSZ0 PORTSZ1 DNU RQSEL0 RT Q0 Q1
BEF D2 D3 DNU DNU PORTSZ2 DNU DNU REN Q2 Q3
CD4 D5 WEN DNU VCC1 DNU VCC1 DNU RCLK Q4 Q5
DD6 D7 V
SS VCC1 DNU LD DNU VCC1 VSS Q6 Q7
ED8 D9 V
CC2 VCC2 VCCIO VCCIO VCCIO VCC2 VCC2 Q8 Q9
FD10 D11 V
SS VSS VSS DNU VSS VSS VSS Q10 Q11
GD12 D13 V
CC2 VCC2 VCCIO VCC1 VCCIO VCC2 VCC2 Q12 Q13
HD14 D15 V
SS VSS VSS VCC1 VSS VSS VSS Q14 Q15
JD16 D17 V
CC2 VCC2 VCCIO VCC1 VCCIO VCC2 VCC2 Q16 Q17
K DNU DNU WCLK DNU VSS DNU VSS DNU VCCIO VCCIO VCCIO
LD18 D19 V
CC2 VCC2 VCCIO VCC1 VCCIO VCC2 VCC2 Q18 Q19
MD20 D21 V
SS VSS VSS VCC1 VSS VSS VSS Q20 Q21
ND22 D23 V
CC2 VCC2 VCCIO VCC1 VCCIO VCC2 VCC2 Q22 Q23
PD24 D25 V
SS VSS VSS SPI_SEN VSS VSS VSS Q24 Q25
RD26 D27 V
CC2 VCC2 VCCIO VCCIO VCCIO VCC2 VCC2 Q26 Q27
TD28 D29 V
SS VCC1 VCC1 SPI_SI VCC1 VCC1 VSS Q28 Q29
UDVal0 DNU D30 D31 DNU DNU [1] SPI_SCLK VREF OE Q30 Q31
V DNU DNU D32 D33 DNU MRS MB DNU MARK Q32 Q33
W TDO DVal1 D34 D35 TDI TRST TMS TCK DNU Q34 Q35
Note
1. This pin should be tied to VSS pre ferably or can be left float ing to ensure normal operation.
CYF1018V
CYF1036V
CYF1072V
Document Number: 001-68321 Rev. *C Page 5 of 29
Pin Definitions
Pin Name I/O Pin Description
D[35:0] Input Data inputs: Data inputs for a 36-bit bus.
Q[35:0] Output Data outputs: Data outputs for a 36-bit bus.
WEN Input Write enable: WEN enables WCLK to write data into the FIFO memory and configuration registers.
REN Input Read enable: REN enables RCLK to read data from the FIFO memory and configuration registers.
OE Input Output enable: When OE is LOW , FIFO data outputs are enabled; when OE is HIGH, the FIFO’s outputs
are in High Z (high impedance) state.
WCLK Input Write clock: When enabled by WEN, the rising edge of WCLK writes data into the FIFO if LD is high and
into the configuration registers if LD is low.
RCLK Input Read clock: When enabled by REN, the rising edge of RCLK reads data from the FIFO memory if LD is
high and from the configuration re gisters if LD is low.
DVal0 Output Data valid for Queue-0: Active low signal indicating valid da ta read for Queue-0 from Q[35:0].
DVal1 Output Data valid for Queue-1: Active low signal indicating valid da ta read for Queue-1 from Q[35:0].
EF Output Empty flag: When EF is LOW, the Queue is empty. EF is synchronized to RCLK.
FF Output Full flag: When FF is LOW, the Queue is full. FF is synchronized to WCLK.
LD Input Load: When LD is LOW, D[7:0] (Q[7:0]) are written (read) into (from) the configuration registers. When
LD is HIGH, D[35:0] (Q[35:0]) are written (read) into (from) the FIFO.
RT Input Retransmit: A HIGH pulse on R T resets the internal read pointer to a physical location of the FIFO which
is marked by the user (using MARK pin). With every valid read cycle after retransmit, previously accessed
data is read and the read pointer is incremented until it is equal to the write pointer.
MRS Input Master reset: MRS initializes the read and write pointers to zero and sets the output register to all zeroes.
During Master Reset, the configurati on registers are all set to default values and flags are reset.
SPI_SCLK Input Serial clock: A rising edge on SPI_SCLK clocks the serial data present on the SPI_SI input into the offset
registers if SPI_SEN is enabled.
SPI_SI Input Serial input: Serial in put when SPI_SEN is enabled.
SPI_SEN Input Serial enable: Enables serial loading configuration registers.
MARK Input Mark for retransmit: When this pin is asserted the current location of the re ad pointer is marked. Any
subsequent retransmit operation resets the read pointer to this position.
MB Input Mailbox: When asserted the reads and writes happen to flow-through mailbo x register.
WQSEL0 Input Write Queue select: select Queue-0 when low and Queue-1 when high.
RQSEL0 I nput Read Queue select: select Queue-0 when low and Queue-1 when high.
TCK Input Test clock (TCK) pin for JTAG.
TRST Input Reset pin for JTAG.
TMS Input Test mode select (TMS) pin for JTAG.
TDI Input Test data in (TDI) pin for JTAG.
TDO Output Test data out (TDO) for JTAG.
PORTSZ [2:0] Input Port word size select: Port word width select pins (common for read and write ports).
VCC1 Power
Supply Core voltage supply 1: 1.8 V supply voltage
VCC2 Power
Supply Core voltage supply 2: 1.5 V supply voltage
CYF1018V
CYF1036V
CYF1072V
Document Number: 001-68321 Rev. *C Page 6 of 29
VCCIO Power
Supply Supply for I/Os.
Vref Input
Reference Reference voltage: Reference voltage (regardless of I/O standard used)
VSS Ground Ground
DNU Do not use: These pins need to be left floating.
Pin Definitions (continued)
Pin Name I/O Pin Description
CYF1018V
CYF1036V
CYF1072V
Document Number: 001-68321 Rev. *C Page 7 of 29
Architecture
The CYF1072V, CYF1036V, and CYF1018V are of memory
arrays of 72-Mbit, 36-Mbit, and 18-Mbit respectively. The
memory organization is user configurable and word sizes can be
selected as × 9, × 12, × 16, × 18, × 20, × 24, × 32, or × 3 6. The
logic blocks to implement FIFO functionality and the associated
features are built around these memory arrays.
The input and output data buses have a maximum width of
36 bits configurable through PORTSZ[2:0]. The input data bus
goes to an input register and the data flow from the input register
to the memory is controlled by th e write logic block. The inputs
to the write logic block are WCLK, WEN and WQSEL0. When the
writes are enabled through WEN, the data on the input bus is
written into the memory a rray at the rising edge of WCL K. This
also increments the write pointer. WQSEL0 selects the Queue
for write operation.
Similarly, the output register is connected to the data output bus.
Transfer of contents from the memory to the output register is
controlled by the read control logic. The inputs to the read control
logic include RCLK, R EN, OE, RQSEL0, RT and MARK. When
reads are enabled by REN and outputs are enabled through OE,
the data from the memory pointed by the read pointer is
transferred to the output data bus at the rising edge of RCLK
along with active low Dval0 or Dval1 based on the Queue
number selected using RQSEL0. If the outputs are disabled
through OE but the reads enabled, the outputs are in high
impedance state, but internally the read pointer is incremente d.
The MARK signal is us ed to ‘mark’ the location from which data
is retransmitted when requested.
During write operation, the number of writes performed is always
a even number (i.e., minimum write burst length is two and
number of writes always a multiple of two), whereas during read
operation, the number of reads performed can be even or odd
(i.e., minimum read burst length is one).
By default, the FIFO is accessed as a single Queue device. It is
possible to divide the whole memory space into 2 equal sized
array, and each array can be independently accessed as an
independent FIFO. This is like having two in dependent Qu eues
inside the FIFO instead of entire memory space acting as single
Queue FIFO. User can configure the number of Queues by
setting the value of D0 of configuration register 3(refer Table 3
on pa ge 9). Table 2 on page 8 shows the value to be set in D0 of
configuration register 3 to configure the device in single-Queue
or two-Queue mode.
Reset Logic
The Master Reset (MRS) initializes the read and write pointers
to zero, sets the output registers to all zeros and sets the status
of the flag s to FF deasserted and EF asserted. MRS also resets
the configuration register and the mark address to their default
values. MRS affects all the Queues in the FIFO. A MRS is
required after power up before accessing the FIFO. After MRS,
a minimum latency of 1024 clocks is necessary before the first
access. The word si ze is config ured throug h pins; values of the
three PORTSZ pins are latched during rising edge of MRS. After
MRS, the device is configured in single Queue mode by default.
Flag Operation
This device provides two flag pins to indicate the condition of the
FIFO contents.
Full Flag
The Full Flag (FF) goes LOW when the device is full. All write
operations are ignored whenever FF is LOW regardless of the
state of WEN. FF is synchronized to WCLK, that is, it is
exclusively updated by each rising edge of WCLK. In 2Q mode,
FF indicates the status of the Queue selected by WQSEL0.The
worst case assertion latency for Full Flag is four. As the user
cannot know that the FIFO is full for four clock cycles, it is
possible that user continues writing data during this time. In this
case, the four data word written will be stored to prevent data loss
and these words have to be read back in order for full flag to get
de-asserted. The minimum number of reads required to
de-assert full-flag is two and the maximum number of reads
required to de-assert full flag is six. The assertion and
de-assertion of full flag with associated l atencies is explained in
Latency Table on page 14.
Empty Flag
The Empty Flag (EF) goes LOW when the device is empty . Read
operations are ignored whenever EF is LOW, regardless of the
state of REN. EF is synchronized to RCLK, i.e., it is exclusivel y
updated by each rising edge of RCLK. In 2Q mode, EF indicates
the status of the Queue selected by RQSEL0. The assertion and
de-assertion of empty flag with associated latencies is explained
in Latency Table on page 14.
Retransmit from Mark Operation
The retransmit feature is useful for transferring packets of data
repeatedly. It enables the receipt of data to be acknowledged by
the receiver and retransmitted if necessary. The retransmit
feature is used when the nu mber of writes eq ual to or less than
the depth of the FIFO has occurred – and at least one word has
been read since the last reset cycle. A HIGH pulse on RT resets
the internal read pointer to a physical location of the FIFO that is
marked by the user (using the MARK pin). In 2-Queue mode the
MARK and RT signals are validated wi th RQSEL0, i.e., Mark o r
Retransmit function will be performed for the Queue that is
selected by RQSEL0. With every valid read cycle after
retransmit, previously accessed data is read and the read pointer
is incremented 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 FIFO
after activation of RT are also transmitted. The full depth of the
FIFO can be repeatedly retransmitted. To mark a location, the
Mark pin is asserted when reading that particular location.
Flow-through mailbox Registe r
This feature transfers data from input to output directly by
bypassing the FIFO sequence. When MB signal i s asserted the
data present in D[35:0] will be available at Q[35:0] after two
WCLK cycles. Normal read and write operations are not allowed
during flow-through mailbox operation. Before starting
Flow-through mailbox operation FIFO read should be completed
to make data valid (DVal0/DVal1) high in order to avoid data loss
from FIFO. The width of flow-through mailbox register always
corresponds to port size.
CYF1018V
CYF1036V
CYF1072V
Document Number: 001-68321 Rev. *C Page 8 of 29
Selecting Word Sizes
The word sizes are configured based on the logic levels on the
PORTSZ pins during the master reset (MRS) cycle only (latched
on low to high edge). The port size cannot be changed during
normal mode of operation and these pins are ignored. Table 1.
explains the pins of D[35:0] and Q[35:0] that will have valid data
in modes where the word size is le ss than × 36. If word size is
less than × 36, the unused output pins are tri-stated by the device
and unused input pi ns will be ignored by the in ternal logic. The
pins with valid data input D[N:0] and output Q[N:0] is given in
Table 1.
Data Valid Signal
Data valid (Dval0, Dval1) are active low signals provided for easy
capture of output data. When a read operation is performed, the
DVal0/DVal1 signal goes low along with output data indicating
valid data on Q bus for either Queue-0 or Queue-1. This helps to
capture the data without keeping tra ck of REN and RQSEL0 to
data output latency . These signals also help to capture the output
data when write and read operations are performed continuously
at different frequencies by indicating when valid data is read out
at the output port Q[35:0].
Power Up
The device becomes functional after VCC1, VCC2, VCCIO, and
Vref attain minimum stable voltage required as given in
Recommended DC Operating Conditions on page 13. The
device can be accessed tPU time after these supplies attain the
minimum required level
(see Switch ing Characteristics on page 16). There is no power
sequencing requirement for the device.
Read Skip Operation
As mentioned in Architecture on page 7, during a read operation,
if the outputs are disabled b y having the OE high, the read data
does not appear on the output bus; however, the read pointer is
incremented.
Multi-Queue Operation
In general, the entire memory space is accessed as a First In
First Out (FIFO) order for the write and read operation. In this
case, the entire memory space is called a single Queue. For
example, for 72M device, the entire memory space is available
as a single Queue FIFO operation .
In multi Queue mode, the entire memory space is divided into
equal sized memory array and each individual memory array can
be accessed as an independent FIFO based on additional
control signals. These independent memory arrays are called as
Queues. For example, when 72M device, is configur ed into two
Queue mode, the entire memory space of 72M is divided into two
36M memory array called as Queue-0 and Queue-1. These
Queues can be accessed independently as a FIFO by selecting
the Queue select signals WQSEL0 and RQSEL0. In this way, two
Queues can be created for a given device where data can be
stored independently and read out independently.
Table 1. Word Size Selection
PORTSZ[2:0] Word Size Active input data pins D[X:0] Active output data pins Q[X:0]
000 × 9 D[8:0] Q[8:0]
001 × 12 D[11:0] Q[11:0]
010 × 16 D[15:0] Q[15:0]
011 × 18 D[17:0] Q[17:0]
100 × 20 D[19:0] Q[19:0]
101 × 24 D[23:0] Q[23:0]
110 × 32 D[31:0] Q[31:0]
111 × 36 D[35:0] Q[35:0]
Table 2. Multi-Queue Configuration
operating mode RQSEL0/WQSEL0 Queue Number Selected
1Q mode
register 0x3[0] = 0 00
1 invalid
2Q mode
register 0x3[0] = 1 00
11
CYF1018V
CYF1036V
CYF1072V
Document Number: 001-68321 Rev. *C Page 9 of 29
Table 3. Configuration Registers
ADDR Configuratio n Register Default Bit [7] Bit [6] Bit [5] Bit [4] Bit [3] Bit [2] Bit [1] Bit [0]
0x1Reserved 0x00 XXXXXXXX
0x2Reserved 0x00 XXXXXXXX
0x3 Number of Queues 0x00 X X X X X X X D0
0x4Reserved 0x7F XXXXXXXX
0x5Reserved 0x00 XXXXXXXX
0x6Reserved 0x00 XXXXXXXX
0x7Reserved 0x7F XXXXXXXX
0x8Reserved 0x00 XXXXXXXX
0x9Reserved 0x00 XXXXXXXX
0xA Fast CLK Bit Register 1XXXXXXXb Fast
CLK bit XXXXXXX
Table 4. Wr iti ng a nd Rea d ing Confi gura t io n Reg is te rs in Parall el Mode
SPI_SEN LD WEN REN WCLK RCLK SPI_SCLK Operation
1 001 First rising edge
because both LD and
WEN are low
X X Parallel write to first register
1 001 Second rising edge X X Parallel write to second regi ster
1 001 Third rising edge X X Parallel write to third register
1 001 Fourth rising edge X X Parallel write to fourth register
1 001  XX 
1 001  XX 
1 001  XX 
1 001 Tenth rising edge X X Parallel write to tenth register
1 001 Eleventh rising edge X X Parallel write to first register (roll
back)
1 010 X First rising edge
since both LD and REN
are low
X Parallel read from first register
1 010 X Second rising edge X Parallel read from second
register
1 010 X Third rising edge X Parallel read from third register
1 010 X Fourth rising edge X Parallel read from fourth register
1 010 X  X
1 010 X  X
1 010 X  X
1 010 X Tenth rising edge X Parallel read from tenth register
1 010 X Eleventh rising edge X Paral lel read from first register
(roll back)
1 X 1 1 X X X No operation
CYF1018V
CYF1036V
CYF1072V
Document Number: 001-68321 Rev. *C Page 10 of 29
Width Expansion Configurat ion
The width of CYF1072V can be expanded to provide word widths
greater than 36 bits. During width expansion mode, all control
line inputs are common and all flags are availa ble. Empty (Full)
flags are created by ANDing the Empty (Full) flags of every FIFO.
This technique avoids reading data from or writing data to the
FIFO that is “staggered” by one clock cycle due to the variations
in skew between RCLK and WCLK. Figure 3 on page 11
demonstrates a 72 bit-word width by using two 36-bit word
CYF1072Vs.
X10X Rising edge X X Write to FIFO memory
X1X0 X Rising edge X Read from FIFO memory
0 0 X 1 X X X Illegal operation
Table 4. Wr iti ng a nd Rea d ing Confi gura t io n Reg is te rs in Parall el Mode (continued)
SPI_SEN LD WEN REN WCLK RCLK SPI_SCLK Operation
Table 5. Writing into Configuration Registers in Serial Mode
SPI_SEN LD WEN REN WCLK RCLK SCLK Operation
01XX X X Rising edge Each rising of the SCLK clocks
in one bit from the SI (Serial In).
Any of the 10 registers can be
addressed and written to,
followin g th e SPI protocol.
X10X Rising edge X X Parallel write to FIFO memory.
X1X0 X Rising edge X Parallel read from FIFO
memory.
1 0 1 1 X X X This corresponds to parallel
mode (refer to Table 4).
Figure 2. Serial WR ITE to Configuration Register
CYF1018V
CYF1036V
CYF1072V
Document Number: 001-68321 Rev. *C Page 11 of 29
Memory Organization for Differen t Port Sizes
The 72-Mbit memory has different organization for different port
sizes. Table 6 shows the depth of the FIFO for all port sizes.
Note that for all port sizes, four to eight locations are not available
for writing the data and are used to safeguard against false
synchronization of empty and full flags.
The memory size mentioned is when the device is configured in
single-Queue mode.
Read/Write Clock Requirements
The read and write clocks must satisfy the following
requirements:
Both read (RCLK) and write (WCLK) clocks should be
free-running.
The clock frequency for both clocks should be between the
minimum and maximum range given in Switching
Characteristics on page 16.
The ratio of RCLK to WCLK must be in the range of 0.5 to 2.
The device uses internal PLL to achieve high performance.
Whenever there is change in the frequency of the clock, the
device takes tPLL time to synchronize with the input clock. (see
Switching Characteristics on page 16). The PLL requires
re-synchronization when there is change in the frequency of
either WCLK or RCLK or when master reset is asserted.
For proper FIFO operation, the device must determine which of
the input clocks – RCLK or WCLK – is faster. This is evaluated
by using counters after the MRS cycle. The device uses two
10-bit counters inside (one running on RCLK and other on
WCLK), which count 1,024 cycles of read and write clock after
MRS. The clock of the counter which reache s its terminal count
first is used as master clock inside the FIFO.
When there is change in the relative frequency of RCLK and
WCLK during normal operation of FIFO, user can specify it by
using “Fast CLK bit” in the configuration register (0xA).
“1” - indicates freq (WCLK) > freq (RCLK)
“0” - indicates freq (WCLK) < freq (RCLK)
The result of counter evaluated frequency is available in this
register bit. User can override the counter evaluated frequency
for faster clock by changing this bit.
Whenever there is a change in this bit value, user must wait tPLL
time before issuing the next read or write to FIFO.
JTAG operation
CYF1072V has two devices connected internally in a JT AG chain
as shown in Figure 4 on page 12.
Figure 3. Using Two CYF1072V for Width Expansion
FF
FF EF EF
WRITE CLOCK(WCLK)
WRITE ENABLE(WEN)
FF
CYF1072V CYF1072V
3672
DATAIN (D) 36 READCLOCK(RCLK)
READENABLE(REN)
OUTPUTENABLE(OE)
36
DATAOUT(Q)
36 72
EF
Table 6. Word Size Selection
PORTSZ[2:0] Word Size FIFO Depth Memory Size
000 × 9 8 Meg 72 Mbit
001 × 12 4 Meg 48 Mbit
010 × 16 4 Meg 64 Mbit
011 × 18 4 Meg 72 M bi t
100 × 20 2 Meg 40 Mbit
101 × 24 2 Meg 48 Mbit
110 × 32 2 Meg 64 Mbit
111 × 36 2 Meg 72 Mbit
CYF1018V
CYF1036V
CYF1072V
Document Number: 001-68321 Rev. *C Page 12 of 29
Figure 4. JTAG Operation
Table 7 shows the IR register length and device ID.
For boundary scan, device-1 should be in bypass mode.
Table 8 and Table 9 shows the JTAG instruction set for devices 1 and 2.
Table 7. JTAG IDCODES
IR Register length Device ID (HEX) Bypass register length
Device-1 3 “Ignore” 1
Device-2 8 1E3261CF 1
Table 8. JTAG Instructions
Device-1 Opcode (Binary)
BYPASS 111
Table 9. JTAG Instructions
Device-2 Opcode (HEX)
EXTEST 00
HIGHZ 07
SAMPLE/PRELOAD 01
BYPASS FF
IDCODE 0F
CYF1018V
CYF1036V
CYF1072V
Document Number: 001-68321 Rev. *C Page 13 of 29
Maximum Ratings
Exceeding maximum ratings may impair the useful life of the
device. These user guidelines are not tested.
Storage temperature (without bias) ........–65 C to +150 C
Ambient temperature with
power applied ......................................... –55 C to +125 C
Core supply vol tage 1 (VCC1) to
ground potential ..................... ........................–0.3 V to 2.5 V
Core supply vol tage 2 (VCC2) to
ground potential .................. ... ... .............. .. ...–0.3 V to 1.65 V
Latch-up current ........... ....................... ............. .. >100mA
I/O port supply voltage (VCCIO) ......................–0.3 V to 3.7 V
Voltage applied to I/O pins ........................... 0.3 V to 3.75 V
Output current into outputs (LOW) .............................20 mA
Static discharge voltage
(per MIL–STD–883, Method 3015) .........................> 2001 V
Operating Range
Range Ambient Temperature
Industrial –40 C to +85 C
Recommended DC Operating Conditions
Parameter [2] Description Min Typ Max Unit
VCC1 Core supply voltage 1 1.70 1.80 1.90 V
VCC2 Core supply voltage 2 1.425 1.5 1.575 V
VREF Reference voltage (irrespective of I/O standard used) 0.7 0.75 0.8 V
VCCIO I/O supply voltage, read and write banks. LVCMOS33 3.00 3.30 3.60 V
LVCMOS18 1.70 1.8 1.90 V
Electrical Characteristics
Parameter Description Conditions Min Typ Max Unit
Icc Active current VCC1 = VCC1MAX ––300mA
VCC2 = VCC2MAX,
All I/O switching, 100 MHz ––500mA
VCCIO = VCCIOMAX
(All outputs disabled) ––100mA
IIInput pin leakage current VIN = VCCIOmax to 0 V –15 15 µA
IOZ I/O pin leakag e cu rre nt VO = VCCIOmax to 0 V –15 15 µA
CPCapacitance for TMS and TCK 16 pF
CPIO Capacitance for all I/Os ap art from
TMS and TCK ––8pF
Note
2. Device operation guaranteed for a supply rate > 1 V / µs.
CYF1018V
CYF1036V
CYF1072V
Document Number: 001-68321 Rev. *C Page 14 of 29
I/O Characteristics
I/O standard Nominal I/O
supply
voltage
Input Voltage (V) Output voltage (V) Output Current (mA)
VIL(max) VIH(min) VOL(max) VOH(min) IOL(max) IOH(max)
LVCMOS33 3. 3 V 0.80 2.20 0.45 2.40 24 24
LVCMOS 18 1.8 V 30% VCCIO 65% VCCIO 0.45 VCCIO – 0.45 16 16
Latency Table
Latency Parameter Number of cycles Details
LFF_ASSERT Min = 0
Max = 4 Last data write to FF going low
LEF_ASSERT 0 Last data read to EF going low
LRQSEL_CHANGE 1 Minimum RCLK cycles before RQSEL0 can change
LWQSEL_CHANGE 2 Minimum WCLK cycl es before WQSEL 0 can change
LMAILBOX 2 Latency from write port to read port when MB = 1 (w.r.t WCLK)
LREN_TO_DATA 4 Latency when REN is asserted low to first data output from FIFO
LREN_TO_CONFIG 4 Latency when REN is asserted along with LD to first data read from configuration
registers
LFF_DEASSERT 7 Read to FF going high
LRT_TO_REN 9 RT 5th cycle to REN going low for read
LRT_TO_DATA Min = 20
Max = 23 RT 5th cycle to valid data on Q[35:0]
LIN Min = 8
Max = 29 Initial latency for data read after FIFO goes empty during simultaneous read/write
LEF_DEASSERT Min = 6
Max = 27 Write to EF going high
CYF1018V
CYF1036V
CYF1072V
Document Number: 001-68321 Rev. *C Page 15 of 29
Figure 5. AC Test Load Conditions
(a) VCCIO = 1.8 Volt
(b) VCCIO = 3.3 Volt
(c) All Input Pulses
30
0.9 V
30
CYF1018V
CYF1036V
CYF1072V
Document Number: 001-68321 Rev. *C Page 16 of 29
Switching Characteristics
Over the operating Range
Parameter Description -100 Unit
Min Max
tPU Power-up time after all supplies reach minimum value 2 ms
tSClock cycle frequency 3.3 V LVCMOS 24 100 MHz
tSClock cycle frequency 1.8 V LVCMOS 24 100 MHz
tAData access time 10 ns
tCLK Clock cycle time 10 41.67 ns
tCLKH Clock high time 4.5 ns
tCLKL Clock low time 4.5 ns
tDS Data setup time 3 ns
tDH Data hold time 3 ns
tQS RQSEL0 and WQSEL0 setup time 3 ns
tQH RQSEL0 and WQSEL0 hold time 3 ns
tENS Enable setup time 3 ns
tENH Enable hold time 3 ns
tENS_SI Setup time for SPI_SI and SPI_SEN pin 5 ns
tENH_SI Hold time for SPI_SI and SPI_SEN pin 5 ns
tRATE_SPI Frequency of SPI_SCLK 25 MHz
tRS Reset pulse width 100 ns
tPZS Port size select to MRS setup time 25 ns
tPZH MRS to port size select hold time 25 ns
tRSF Reset to flag output time 50 ns
tPRT Retransmit pulse width 5 RCLK
cycles
tOLZ Output enable to output in Low Z 4 15 ns
tOE Output enable to output valid 15 ns
tOHZ Output enable to output in High Z 15 ns
tWFF Write clock to FF –9ns
tREF Read clock to EF –9ns
tPLL Time required to synchroniz e PLL 1024 cycles
tRATE_JTAG JTAG TCK cycle time 100 ns
tS_JTAG Setup time for JTAG TMS,TDI 8 ns
tH_JTAG Hold time for JTAG TMS,TDI 8 ns
tCO_JTAG JTAG TCK low to TDO valid 20 ns
CYF1018V
CYF1036V
CYF1072V
Document Number: 001-68321 Rev. *C Page 17 of 29
Switching Waveforms
Figure 6. Write Cycle Timing
Figure 7. Read Cycle Timing
Figure 8. Reset Timing
tCLKH tCLKL
NO OPERATION
tDS
tENS
WEN
tCLK
tDH
tENH
WCLK
D[35:0]
NO OPERATION
t
CLK
t
OHZ
RCLK
Q[35:0]
REN
OE
t
ENS
t
OLZ
t
A
t
ENH
VALID DATA
L
REN_TO_DATA
DVal0
or Dval1
t
RS
Q[35:0]
MRS
t
RSF
t
RSF
t
RSF
OE=1
OE=0
EF
FF
CYF1018V
CYF1036V
CYF1072V
Document Number: 001-68321 Rev. *C Page 18 of 29
Figure 9. MRS to PORTSZ [2:0]
Figure 10. Flow-through mailbox Operation
Switching Waveforms (continued)
WCLK/RCLK
PORTSZ[2:0]
MRS
tPZS
tPZH
CYF1018V
CYF1036V
CYF1072V
Document Number: 001-68321 Rev. *C Page 19 of 29
Figure 11. Configuration Register Write
Figure 12. Conf iguration Register Read
Figure 13. WQSEL to FF
Switching Waveforms (continued)
LD
D[35:0] config-reg 0 config-reg 1 config-reg 2 config-reg 3 config-reg 4 config-reg 5
WCLK
WEN
tENS
tDS tDH
WCLK
/RCLK
REN
LD
Q[35:0] Reg - 1
LREN_TO_CONFIG
FF for QUE-1
FF for QUE-0
t
QS
t
WFF
WCLK
WQSEL0
FF
CYF1018V
CYF1036V
CYF1072V
Document Number: 001-68321 Rev. *C Page 20 of 29
Figure 14. RQSEL0 to EF
Figure 15. Write to Empty Flag De-assertion
Switching Waveforms (continued)
12345
RCLK
RQSEL0
EF
tQS tREF
EF for QUE-0
EF for QUE-1
L REN_TO_DATA
WCLK
RCLK
REN
EF
D[35:0]
WEN
EF for QUE-0
WQSEL0/
RQSEL0
LEF_DEASSERT
CYF1018V
CYF1036V
CYF1072V
Document Number: 001-68321 Rev. *C Page 21 of 29
Figure 16. Read to Empty Flag Assertion
Figure 17. Full Flag Asserti on
Switching Waveforms (continued)
RCLK
REN
12345
Q[35:0] Q
LAST
DVal0
EF EF for QUE-0
WQSEL0/
RQSEL0
tREF
LREN_TO_DATA
WCLK
WEN
D[35:0] D
0
D
1
D
x
D
LAST-1
D
LAST
NOT
WRITTEN
NOT
WRITTEN
WQSEL0/
RQSEL0
tWFF
FF for QUE-0
FF
CYF1018V
CYF1036V
CYF1072V
Document Number: 001-68321 Rev. *C Page 22 of 29
Figure 18. Full Flag De-a ssertion
Figure 19. Switching between Queues - Write
Switching Waveforms (continued)
WCLK
WEN
D[35:0]
FF
D
LAST-4
D
LAST-3
D
LAST-2
D
LAST-1
D
LAST
RCLK
REN
WQSEL0/
RQSEL0
LFF_DEASSERT
D[35:0] QUE-0
wdata - 0
WCLK
WEN
WQSEL0
QUE-0
wdata - 1
QUE-1
wdata - 0
QUE-1
wdata - 1
QUE-0
wdata - 2
QUE-0
wdata - 3
CYF1018V
CYF1036V
CYF1072V
Document Number: 001-68321 Rev. *C Page 23 of 29
Figure 20. Switching between Queues - Read
Figure 21. Simultaneous Write & Read QUE - 0
Switching Waveforms (continued)
12345
RCLK
RQSEL0
REN
QUE-0
rdata - 0
QUE-1
rdata - 0
QUE-0
rdata - 1
Q[35:0]
DVal0
DVal1
L REN_TO_DATA
WQSEL0/
RQSEL0
WCLK
WEN
D[35:0] D
0
D
1
D
2
D
3
RCLK
REN
Q
0
Q
1
Q
2
Q
3
D
N
D
N+1
D
N+2
D
N+3
Q[35:0]
DVal0
L IN
CYF1018V
CYF1036V
CYF1072V
Document Number: 001-68321 Rev. *C Page 24 of 29
Figure 22. Mark
Figure 23. Retransmit
Switching Waveforms (continued)
DVal0
RQSEL0
RCLK
MARK
REN
Q[35:0]
DATA MARKED IN QUE-0
Q (N-1) Q (N) Q (N+1) Q (N+3)
Q (N+2) Q (N+5)
Q (N+4) Q (N+6)Q (N-2)
RETRANSMIT FROM
DATA MARKED IN QUE-0
Q (N+1)
Q (N)
DVal0
RQSEL0
RT
RCLK
REN
Q[35:0]
tPRT LRT_TO_REN
LRT_TO_DATA
CYF1018V
CYF1036V
CYF1072V
Document Number: 001-68321 Rev. *C Page 25 of 29
Ordering Information
Speed
(MHz) Ordering Code Package
Diagram Package Type Operating
Range
100 CYF1018V33L-100BGXI 51-85167 209-ball fine-pitch ball grid array (FBGA) (14 × 22 × 1.76 mm) Industrial
CYF1036V33L-100BGXI
CYF1072V33L-100BGXI
CYF1018V18L-100BGXI
CYF1036V18L-100BGXI
CYF1072V18L-100BGXI
Ordering Code Definitions
I/O Voltage:
V18 = 1.8 V
Density:
018 = 18 M
Cypress
CY F X XXX VXX X - XXX BGXI
FIFO
I/O Standard:
L = LVCMOS
036 = 36 M
072 = 72 M
V33 = 3.3 V
Speed:
100 MHz
1 - Multi-Queue (2 Queues)
CYF1018V
CYF1036V
CYF1072V
Document Number: 001-68321 Rev. *C Page 26 of 29
Package Diagram Figure 24. 209-ball FBGA (14 × 22 × 1.76 mm) BB209A, 51-85167
51-85167 *B
CYF1018V
CYF1036V
CYF1072V
Document Number: 001-68321 Rev. *C Page 27 of 29
Acronyms Document Conventions
Units of Measure
Acronym Description
EF empty flag
FF full flag
FIFO first in first out
I/O input/output
FBGA fine-pitc h ba l l gr id array
JTAG joint test action group
LVCMOS low voltage complementary metal oxide
semiconductor
MB mailbox
MRS master reset
OE output enable
RCLK read clock
REN read enable
RQSEL0 read queue select
SCLK serial clock
TDI test data in
TDO test data out
TCK test clock
TMS test mode select
WCLK write clock
WEN write enable
WQSEL0 write queue select
QUE-0 queue number 0
QUE-1 queue number 1
Symbol Unit of Measure
°C degree Celsius
MHz megahertz
Amicroampere
mA milliampere
mm millimeter
ms millisecond
ns nanosecond
ohm
pF picofarad
Vvolt
Wwatt
CYF1018V
CYF1036V
CYF1072V
Document Number: 001-68321 Rev. *C Page 28 of 29
Document History Page
Document Title: CYF1018V/CYF1036V/CYF1072V, 18/36/72-Mbit Programmable 2-Queu e FIFOs
Document Number: 001-68321
Rev. ECN No. Orig. of
Change Submission
Date Description of Change
** 3209860 SIVS 03/30/2011 New data sheet
*A 3353401 AJU 08/26/2011 Updated Package Diagram.
*B 3387127 AJU 09/28/2011 Updated Pin Diagram for CYF1XXXVXXL (Added Note 1 and referred the
same note in DNU in ball U6).
Updated Multi-Queue Operation (Updated Table 4 (WCLK column in first row)).
Updated Recommended DC Operating Conditions (Added Note 2 and referred
the same note in Parameter column).
Updated Switching W aveforms (Removed the numbers in Figure 10,
Figure 14, Figure 16, and Figure 20).
*C 3652368 ADMU 08/16/2012 Updated Pin Diagram for CYF1XXXVXXL (Updated Figure 1 (W9 ball marked
as DNU)).
Updated Figure 5.
Document Number: 001-68321 Rev. *C Revised August 16, 2012 Page 29 of 29
All products and company names mentioned in this document may be the trademarks of their respective holders.
CYF1018V
CYF1036V
CYF1072V
© Cypress Semico nducto r Co rpor ation , 2011-2012. The infor mation cont a ined he rein is subjec t to cha nge wi thou t notice. Cypr ess Semiconductor Corporation assumes no responsibility for the use of
any circuitry other than circuitry embodied in a Cypress product. Nor does it convey or imply any license under patent or other rights. Cypre ss prod uc ts are n ot war r ant ed no r inte nd ed to be used fo r
medical, life supp or t, l if e savin g, cr it ical control or saf ety ap pl ic at io ns, unless pursuant to a n express written ag re em en t with Cypress. Furthermor e, Cyp ress doe s not author iz e its products for use as
critical components in life-support systems where a malfunction or failure may reasonably be expected to result in significant injury to the user. The inclusion of Cypress p roducts in life -support systems
application implies that the manufacturer assumes all risk of such use and in doing so indemnifies Cypress against all charges.
Any Source Code (software and/or firmware) is owned by Cypress Semiconductor Corporation (Cypress) and is protected by and subject to worldwide patent protect ion (Unit ed States and fore ign),
United S t ates copyright laws and international treaty provis ions. Cyp ress he reby gr ant s to l icense e a pers onal, no n-excl usive , non-tr ansfer able license to copy, use, modify, create derivative works of,
and compile the Cypress Source Code and derivative works for the sole purpose of creating custom software and or firmware in support of lice nsee product to be used on ly in conjunction wit h a Cypress
integrated circui t as specified in the applicab le agreement. Any r eproduction, mod ification, translati on, compilatio n, or represent ation of this Sour ce Code except a s specified abo ve is prohibit ed without
the express written permis sion of Cypress.
Disclaimer: CYPRESS MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS MATERIAL, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WA RRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Cypress reserves the right to make changes without further notice to the materials describ ed herein. Cyp ress does not
assume any liabil ity ar ising ou t of the a pplic ation or use o f any pr oduct or circ uit descri bed herein . Cypress d oes not a uthor ize its p roducts fo r use as critical componen ts in life-su pport systems whe re
a malfunction or failure may reasonably be expected to result in significant injury to the user. The inclusion of Cypress’ product in a life-support systems application implies that the manufacturer
assumes all risk of such use and in doing so indemnifies Cypress against all charges.
Use may be limited by and subject to the applicable Cypress software license agreement.
Sales, Solutions, and Legal Information
Worldwide Sales and Design Support
Cypress maintains a worldwide network of offices, solution centers, manufacturer’s representatives, and distributors. To find the office
closest to you, visit us at Cypress Locations.
Products
Automotive cypress.com/go/automotive
Clocks & Buffers cypress.com/go/clocks
Interface cypress.com/go/interface
Lighting & Power Control cypress.com/go/powerpsoc
cypress.com/go/plc
Memory cypress.com/go/memory
Optical & Image Sensing cypress.com/go/image
PSoC cypress.com/go/psoc
Touch Sensing cypress.com/go/touch
USB Controllers cypress.com/go/USB
Wireless/RF cypress.com/go/wireless
PSoC Solutions
psoc.cypress.com/solutions
PSoC 1 | PSoC 3 | PSoC 5