OPERATIONAL DESCRI PT ION
Reset
The LH540 202 is r eset whenever the Reset input (RS)
is taken LO W. A reset operat io n in itializes bot h the readaddress pointer and the write- add res s point er to point to
location zero, the first physical memory location. During
a reset operation, the state of the XI and FL/RT inputs
determines whethe r the device is in standalone mode or
in depth-cascaded mode. (See Tables 1 and 2.) The
reset operation forces the Empty Flag EF to be asser t e d
(EF = LOW), and t he Half-Full Flag HF and the Full Flag
FF to be de assert ed (HF = FF = HIGH); the Data Out pins
(D0 – D8) are for ced int o a high-im peda nce st ate.
A reset oper at ion is r equired whenever the LH540 202
first is powered up. The Read (R) and Write (W) inputs
may be in any state when the re set oper ation is initiat ed;
but they must be HIGH, before the reset operation is
terminated by a rising edge of RS, by a time t
RRSS
(for
Read) or t
WRSS
(for Write) respectively. (See Figure 10.)
Write
A write cycle is initiated by a falling edge of the Write
(W) contr ol input . Data setup times and hold times must
be observed for the data inputs (D0 – D8). Write operations may occur independently of any ongoing read operation s. However , a write operat ion is possible only if the
FIFO is not full, (i. e., if the Fu ll Flag FF is HIGH).
At the fa lling e dge of W for the first write o peration after
the memory is half filled, the Half-Full Flag is asserted
(HF = LOW). It remains asserted until the difference
between the write pointer and the read pointer indicates
that the data words remaining in the LH540202 are filling
the FIFO memory to less than or equal to one-half of its
total capacity. The Half-Full Flag is deasserted
(HF = HIGH) by the appropriate rising edge of R. (See
Table 3.)
The Full F lag is as serted (FF = LOW) at the falling edge
of W for the write operation which fills the last available
location in th e FIFO memory array. FF = LOW inhibits
further write oper ations until FF is cleared by a va lid r ead
operation. The Full Flag is deasser ted (FF = HIGH) after
the next rising edge of R releases anot he r mem ory lo cation. (See Table 3.)
Read
A read cycle is initiated by a falling edge of the Read
(R) control input. Read data becomes valid at the data
output s (Q0 – Q8) after a time tA from the falling e dge of
R. After R goes HIGH, the data outputs return to a
high-impedance stat e. Read oper ations m ay occur in dependently of any ongoing write operations. However, a
read operation is possible only if the FIFO is not empty
(i.e., if the Empty Flag EF is HIGH).
The LH540202’s in ternal read -ad dress and wri teaddres s point er s oper ate in suc h a way that con secut ive
read operations always access data words in the same
order that they wer e written . The Empty Flag is asse rted
(EF = LOW) after that falling edge of R which accesses
the last available data word in the FIFO memory. EF is
deasserted (EF = HIGH) after the next rising edge of W
loads another valid data word. (See Table 3.)
Data Flow-Through
Read-data flow- throu gh mode occurs when the Read
(R) cont rol inpu t is brought LOW while the FIFO is empty ,
and is held LOW in antic ipation of a write cycle. At the end
of the next write cycle, the Empty F lag EF momentarily is
deasserted, and the data word just written becomes
available at the data outputs (Q0 – Q8) after a maximum time of t
WEF
+ tA. Additional write operations may occur
while the R input remains LOW; but only data from the
first write operation flows through to the data outputs.
Additional data words, if any, may be accessed only by
toggling R.
Write-data flow-through mode occurs when the Write
(W) input is brought LOW while t he FIFO is full, and is
held LOW in anticipation of a read cycle. At the end of the
read cycle, the Full Flag momentarily is deasserted, but
then immediately is reasserted in response to W being
held LOW. A data word is written into the FIFO on the
rising edge of W, which may occur no sooner than
t
RFF
+ t
WPW
after the read oper ation.
PIN DESCRIPT IONS
PIN PIN TYPE
1
DESCRIPTION
D0 – D
8
I
Input Data Bus
Q0 – Q
8 O/Z
Out put Data Bu s
W
I
Write Request
R I Read Request
EF
O
Empt y Flag
FF
O
Full Flag
PIN PIN TYPE
1
DESCRIPTION
XO/HF
O
Expansion Out/Half-Full Flag
XI
I
Expansion In
FL/RT
I
First Load/Retransmit
RS I Res et
V
CC V
Positive Power Supply
V
SS
V
Ground
NOTES:
1. I = Input, O = Output, Z = High-Impedance, V = Power Voltage Level
CMOS 1024 × 9 Asynchronous FIFO LH540202
3