QS7201, QS7202
Q
FEATURES
•
•
•
•
•
•
•
•
•
•
•
•
Ultra-High-Speed CMOS
High Speed CMOS
512 x
Exchange
FIFO
Bus
9, 1K x 9
Buffer Memories
Switches
DESCRIPTION
QS3383
QS7201
QS32383
QS7202
1
2
Ultra-fast 10-ns flag and data access times
Ground-bounce controlled outputs
66-MHz cycle times
Input noise filters on read/write lines
Fully asynchronous read and write
Low power with industry-standard pinouts
Zero fall-through time
Available in industrial temperature range
Expandable in depth with no speed loss
Retransmit capability
Industrial temp range available (-40°C-85°C)
Available in PDIP, SOJ, PLCC, and QSOP
The QS7201 and QS7202 are 512 x 9 and 1K x 9
FIFOs, respectively. These FIFOs use a dual-port
RAM- based architecture and have independent read
and write pointers. This allows high speed with zero
fall-through time. The read and write pointers are
incremented on the rising edges of the read and write
lines. The flag circuitry is based on a patented high-
speed design, giving precise half-full, full, and empty
conditions. These flags also prevent the FIFO from
being written into when full or being read from when
empty. These FIFOs are easily cascadable to any
depth and expandable to any width without any speed
penalty. Retransmit resets the read pointer to memory
location zero. These devices are useful for data
communications, digital signal processing, and gen-
eral data-rate management applications.
FIGURE 1. FUNCTIONAL BLOCK DIAGRAM
DATA IN
D8-D0
W
R
RS
FL
/
RT
XI
WRITE
CONTROL
READ
CONTROL
RESET
LOGIC
EXPANSION
LOGIC
WRITE
POINTER
READ
POINTER
DUAL-PORT
RAM ARRAY
512 x 9
1024 x 9
FLAG
LOGIC
EF
FF
HF
XO
DATA OUT
Q8-Q0
Note1:
XO
and
HF
share the same pin, so the Half-Full flag is available only in standalone, not depth-expansion mode.
Note2:
This final datasheet applies to all speed grades except for the -10ns which is preliminary
MDSF-00001-06
APRIL 16, 1996
QUALITY SEMICONDUCTOR, INC.
1
QS7201, QS7202
FIGURE 2. PINOUTS (All pins top view)
PDIP, QSOP, SOJ
D3
D8
PLCC
VCC
NC
D4
W
D8
D3
D2
D1
D0
XI
FF
Q0
Q1
Q2
Q3
Q8
GND
1
2
3
4
5
6
7
8
9
10
11
12
13
14
28
27
26
25
24
23
22
21
20
19
18
17
16
15
VCC
D4
D5
D6
D7
FL
/
RT
RS
EF
XO HF
INDEX
D2
D1
D0
5
6
7
4
3
2
1
32
31
D5
W
30
29
28
27
26
25
24
23
22
21
D6
D7
NC
XI
8
/
FL
/
RT
RS
EF
XO
/
HF
Q7
Q6
FF
9
Q0
Q1
NC
Q2
10
11
12
13
14
Q3
Q7
Q6
Q5
Q4
R
15
Q8
16
GND
17
NC
18
19
Q4
20
Q5
PIN DESCRIPTIONS
Name
Di
Qi
I/O
I
O
I
I
O
O
I
I
I
O
Description
Data Inputs
Data Outputs
Read Clock
Write Clock
Empty Flag
Full Flag
Reset
First Load/Retransmit
Expansion Clock In
Expansion Clock Out/
Half-Full Flag
R
W
EF
FF
RS
FL
/
RT
XI
XO
/
HF
2
QUALITY SEMICONDUCTOR, INC.
R
MDSF-00001-06
APRIL 16, 1996
QS7201, QS7202
SIGNAL DESCRIPTION
DATA INPUTS
D8-D0
The Data In lines D8 to D0 provide data to be written
into the FIFO.
Note:
Unused inputs must be tied to Vcc or GND.
CONTROL INPUTS
Reset (
RS
)
The reset input resets the read and write pointers and
the flags to zero. The FIFO must be reset at power-
up to ensure proper operation of the pointers and
flags. This is done by asserting the reset line to a
LOW state, which causes the FIFO flags to be set to
empty. This causes the Empty flag to be asserted
and the Full and Half-Full flags to be deasserted.
Read and write lines must be HIGH for t
RSS
before
and t
RSR
after the rising edge of the reset signal for a
valid reset operation.
Write (
W
)
The write line causes data to be written into the FIFO.
A write cycle is initiated by the falling edge of the write
signal. A write will occur if the full flag was not
asserted, indicative of at least one empty location in
the FIFO. Data is stored in the FIFO on the rising
edge of the write signal using the data setup and hold
times specified. Data is stored in a sequential man-
ner in the FIFO, and the read and write operations
can be asynchronous. The falling edge of the write
signal asserts the Half-Full and Full flags when the
next word after half-full is written and when the last
word has been written, respectively. The rising edge
of the write line de-asserts the Empty flag when the
first write is performed after an empty or reset condi-
tion. When the Full flag is asserted, subsequent
writes are blocked. The user can apply a write pulse
after the full condition is deasserted.
Read (
R
)
The read signal causes data to be read from the
FIFO. A read cycle is initiated by the falling edge of
the read signal. A read is performed if the Empty flag
is not asserted, indicative of at least one word being
present in the FIFO. The data is accessed on a first-
in-first-out basis asynchronous to the write opera-
tions. After the read control is deasserted, the data
outputs go from a valid state into high impedance.
The outputs remain in high impedance until the next
MDSF-00001-06
APRIL 16, 1996
read cycle. When all the data is read on the last read
cycle, the Empty flag is asserted, and will inhibit any
subsequent reads. The outputs will be in high imped-
ance for subsequent read operations until a write
occurs that deasserts the Empty flag, allowing a read
cycle to begin. The outputs may also be in high
impedance when the FIFOs are cascaded in depth.
In this case, only the active FIFO asserts data, and
the other FIFO data outputs are in high impedance.
The falling edge of the read signal will set the Empty
flag during the read of the last word in the FIFO. The
rising edge of the read signal will deassert the Half-
Full and the Full flags when the FIFO has reached
half-full and when the FIFO is full, respectively.
First Load/Retransmit (
FL
/
RT
)
This is a dual-purpose input. In the depth-expansion
mode, this pin indicates the first FIFO device that will
be loaded or read from after a reset operation. In the
standalone or width-expansion mode (when the ex-
pansion input is grounded), this pin initiates the
retransmit function.
Retransmit resets the read pointer to zero. The read
and write signals must be HIGH before and after the
rising edge of the retransmit pulse. The retransmit
feature is useful when the same data needs to be
read again without rewriting it into the FIFO. Pulsing
the retransmit pin will cause the read pointer to be
reset to zero, and the previously read data can be
read again. The flags will change according to the
relative location of the pointers after the retransmit
pulse.
Expansion In (
XI
)
This is a dual-purpose pin. When it is grounded, it
indicates that the FIFO is a standalone device. When
it is not grounded, it indicates that the FIFO is in the
depth-expansion mode. In the depth-expansion
mode, this pin is connected to the
XO
pin of the
previous device.
1
2
DATA OUTPUTS
Data Outputs Q8-Q0
The 9-bit data output bus Q8-Q0 receives the read
data from the FIFO. It is active whenever the read
signal is LOW. It is in a high-impedance state when
the read signal is HIGH. It is also in high impedance
when the FIFO Empty flag is active (i.e., when the
FIFO is empty).
QUALITY SEMICONDUCTOR, INC.
3
QS7201, QS7202
CONTROL OUTPUTS
Full Flag (
FF
)
The Full flag indicates that the FIFO is full. The Full
flag is asserted when there is only one empty location
in the FIFO and a falling edge of the write signal
initiates the last write operation. The rising edge of the
read signal de-asserts the flag, as at least one loca-
tion has become available.
Empty Flag (
EF
)
The Empty flag indicates the FIFO is empty. It is
asserted when there is only one word in the FIFO, and
a falling edge of the read signal initiates the last read
operation. The rising edge of the write signal de-
asserts the flag, as one word is now present in the
FIFO.
Expansion Out/Half-Full Flag (
XO
/
HF
)
This is a dual-purpose flag. In the single-device
mode, the expansion in (
XI
) is grounded, and the Half-
Full flag output is present on this pin. Whenever the
FIFO is more than half-full, the flag remains asserted.
When the FIFO is exactly half-full and the next falling
edge of the write signal asserts the flag. The rising
edge of read that causes the FIFO to be half-full will
de-assert the Half-Full flag. It will remain asserted
until the FIFO is half-full or less than half-full. The
name given to the flag is Half-Full, but it is asserted on
the one plus the half-full condition.
In the depth-expansion mode, the expansion out
(
XO
) is connected to the expansion in (
XI
) of the next
device. This causes the next device to perform write
or read operations.
depth. The devices are cascaded as shown in Figure
18. In the depth-expansion mode, the device that
receives the first word of data has its first load input
grounded. The other devices have their first load
inputs in the HIGH state. Two 4-input OR gates are
required to create the composite Full and Empty flags
for the FIFO array. In using the depth-expansion
mode, care must be taken to keep the traces short
from the expansion in (
XI
) of one device to the
expansion out (
XO
) of the next device to minimize
crosstalk noise.
FLOW-THROUGH MODES
Flow-through modes refer to the internal operation of
the FIFO in empty and full conditions. Flow-through
modes allow data to flow directly through the FIFO
from input to output under the appropriate empty and
full conditions.
Two types of flow-through modes, a read flow-through
and a write flow-through, are supported by the FIFO.
In the read flow-through mode, the FIFO is empty and
the read side is waiting for data from a write. Read
flow-through is represented by an empty FIFO that
has its read line held LOW, and a write occurs. This
rising edge of the write would de-assert the Empty
flag and cause valid data to appear on the outputs
after a certain time delay of t
WEF
+ t
A
. The read line
being LOW would cause the data to be read and also
assert the Empty flag once again. The user must raise
the read line in order to increment the read pointer.
In the write flow-through mode, the FIFO is full and the
write side is waiting for a word location to be made
available by a read. A write flow-through operation
permits the writing of a single word of data immedi-
ately after reading one word of data from a full FIFO.
This is similar to the read flow-through case, and the
write line must toggled to increment the write pointer.
OPERATING MODES
SINGLE-DEVICE MODE
A FIFO is in standalone mode when the expansion in
(
XI
) control is grounded. In this mode the Half-Full flag
is available on the shared
XO
/
HF
line. Figure 16
shows the standalone mode, and this applies to FIFO
width expansion, as shown in Figure 17.
DEPTH-EXPANSION MODE
A FIFO is in the depth-expansion mode when the
expansion-in (
XI
) control is not grounded but tied to
the expansion-out (
XO
) pin of the previous FIFO.
Using the depth-expansion mode, the QS7201/02
can be easily cascaded to create FIFOs of larger
4
QUALITY SEMICONDUCTOR, INC.
MDSF-00001-06
APRIL 16, 1996
QS7201, QS7202
FUNCTION TABLES
RESET AND RETRANSMIT FUNCTION TABLE
Mode
Reset
Retransmit
Read/Write
1
EF
L
(3)
(4)
RS
L
H
H
INPUTS
FL
/
RT
X
L
H
XI
L
L
L
INTERNAL STATUS
Read Pointer
Write Pointer
Location Zero
Location Zero
Increment
(1)
Location Zero
Unchanged
Increment
(2)
OUTPUTS
FF
H
(3)
(4)
HF
H
(3)
(4)
2
Notes:
1. The read pointer will increment if the FIFO is not empty.
2. The write flag will increment if the FIFO is not full.
3. The flags will change after the retransmit operation and will correspond to the read pointer
being at location zero.
4. The flags will reflect the relative locations of the read and write pointers.
RESET AND FIRST-LOAD FUNCTION TABLE
Mode
Reset
Retransmit
Read/Write
RS
L
L
H
INPUTS
FL
/
RT
L
H
(2)
XI
(1)
(1)
(1)
INTERNAL STATUS
Read Pointer
Write Pointer
Location Zero
Location Zero
Increment
(1)
Location Zero
Location Zero
Increment
(2)
EF
L
(3)
(4)
OUTPUTS
FF
H
(3)
(4)
HF
H
(3)
(4)
Notes:
1. The expansion in (
XI
) is connected to the expansion out (
XO
) of the previous device.
2. The device with
FL
tied LOW will receive the first N writes and first N reads, where N is the FIFO size. On the Nth write,
the
XO
pulse is sent to the next device to indicate that it will receive the (N+1)th write. Similarly, on the Nth read, another
XO
pulse is sent to the next device to indicate that it will output the (N+1)th read.
3. The read and write pointers will be activated according to whether the FIFO received an
XO
pulse, or whether they were
the first device in the daisy chain. The flags will reflect the empty or full conditions for the individual FIFOs. To create
the composite Full and Empty flags, an OR-ing of the individual flags is required.
4. The flags will reflect the relative locations of the read and write pointers.
ABSOLUTE MAXIMUM RATINGS
Supply Voltage to Ground .................................................. –0.5 to +7.0V
DC Output Voltage V
OUT
............................................ –0.5 to Vcc + 0.5V
DC Input Voltage V
IN
.................................................. –0.5 to Vcc + 0.5V
AC Input Voltage (Pulse Width
≤
20 ns) ........................................ –3.0V
DC Input Diode Current with V
IN
< 0 ........................................... –20 mA
DC Output Current with V
IN
> V
CC
................................................ 20 mA
DC Output Diode Current with V
OUT
< 0 ..................................... –50 mA
DC Output Current with V
OUT
> V
CC
.............................................. 50 mA
DC Output Current Max Sink Current/Pin ................................... +70 mA
DC Output Current Max Source Current/Pin .............................. –30 mA
Total DC Ground Current ........................................(NxI
OL
+ Mx∆I
CC
) mA
Total DC V
CC
Power Supply Current ..................... (NxI
OH
+ Mx∆I
CC
) mA
(N = Number of Outputs, M = Number of Inputs)
T
STG
StorageTemperature ............................................ –65°C to +150°C
Note:
Stresses greater than
those listed under ABSOLUTE
MAXIMUM RATINGS may
cause permanent damage to
this device, resulting in func-
tional- or reliability-type failures.
MDSF-00001-06
APRIL 16, 1996
QUALITY SEMICONDUCTOR, INC.
5