Independently-Synchronized (‘Fully-Asynchronous’)
Operation of Port A and Port B
•
‘Synchronous’ Enable-Plus-Clock Control at
Both Ports
•
R/W, Enable, Request, and Address Control Inputs
are Sampled on the Rising Clock Edge
•
Synchronous Request/Acknowledge ‘Handshake’
Capability; Use is Optional
•
Device Comes Up Into a Known Default State at
Reset; Programming is Allowed, but is not Required
•
Asynchronous Output Enables
•
Five Status Flags per Port: Full, Almost-Full,
Half-Full, Almost-Empty, and Empty
•
Almost-Full Flag and Almost-Empty Flag are
Programmable
•
Mailbox Registers with Synchronized Flags
•
Data-Bypass Function
•
Data-Retransmit Function
•
Automatic Byte Parity Checking
•
8 mA-IOL High-Drive Three-State Outputs with
Built-In Series Resistor
•
TTL/CMOS-Compatible I/O
•
Space-Saving PQFP and TQFP Packages
•
PQFP to PGA Package Conversion
1
FUNCTIONAL DESCRIPTION
The LH543601 contains two FIFO buffers, FIFO #1
and FIFO #2. These operate in parallel, but in opposite
directions, for bidirectional data buffering. FIFO #1 and
FIFO #2 each are organized as 256 by 36 bits. The
LH543601 is ideal either for wide uni directional appl ications or for bidirectional data applications; component
count and board area are reduced.
The LH543601 has two 36-bit ports, Port A and Port B.
Each port has its own port-synchronous clock, but the two
ports may operate asynchronously relative to each other.
Data flow is initiated at a port by the ris ing edge of the
appropriate clock; it is gated by the corresponding edgesampled enable, request, and read/write control signals.
At the maximum operating frequency, the clock duty cycle
may vary from 40% to 60%. At lower frequencies, the
clock waveform may be quite asymmetric, as long as the
minimum pulse-width conditions for clock-HIGH and
clock-LOW remain satisfied; the LH543601 is a fully-static
part.
Conceptually, the port cloc ks CK
running, periodic ‘clock’ waveforms, used to control other
signals which are edge-sensitive. However, there actually
is not any absolute requirement that these ‘clock’ wave-
must
forms
operation is possible, in one or both directions, independently, if the appropriate enabl e and request inputs
are continuously asserted, and enough aperiodic ‘ clock’
pulses of suitable duration are generated by external logic
to cause all necessary actions to occur.
A synchronous request/acknowledge handshake
facility is provided at each port for FIFO data access. This
request/ acknowledge handshake resolves FIFO full and
empty boundary conditions, when the two ports ar e operated asynchronously relative to each other.
FIFO status flags monitor the extent to which each
FIFO buffer has been filled. Full, Almost-Full, Half-Full,
Almost-Empty, and Empty flags are included for
FIFO. The Almost-Full and Almost-Empty flags are programmable over the entire FIFO depth, but are automatically initialized to eight locations from the respective FIFO
boundaries at reset. A data block of 256 or fewer words
may be retransmitted any desired number of times.
be periodic. An ‘asynchronous’ mode of
and CKB are free-
A
each
NOTE:
1. For PQFP-to-PGA conversion for thru-hole board designs, Sharp
recommends ITT Pomona Electronics’ SMT/PGA Generic
Converter model #5853.
132-pin PQFP to a generic 13 × 13, 132-pin PGA (100-mil
pitch). For more information, contact Sharp or ITT Pomona
Electronics at 150 0 Ea st Ninth Street, Pomona, CA 91766,
(909) 469-2900.
®
This converter m aps the LH543601
1
LH543601256 × 36 × 2 Bidirectional FIFO
FUNCTIONAL DESCRIPTION (cont’d)
Two mailbox registers provide a separate path for
passing control words or status words between ports.
Each mailbox has a New-Mail-Alert Flag, which is synchronized to the reading port’ s clock. This mailbox function facilitates the synchronization of data transfers
between asy nchr onous systems.
Data-bypass mode allows Port A to directly transfer
data to or from Port B at reset. In this mode, the device
acts as a registered transceiver under the control of
Port A. For instance, a master processor on Port A can
use the data bypass feat ure to send or receive initializa-
tion or configuration information directly, to or from a
peripheral device on Port B, during sys te m star tup.
A word-width-select option is provided on Port B for
36-bit, 18-bit, or 9-bit data access. This feature allows
word- width matching between Por t A and Port B, with no
addit ion al logic n eeded. It a lso en sures maximum utilization of bus band widths .
A Byte Parity Check Flag at each port monitors data
integrity. Control-Register bit 0 ( zero) selects the parity
mode , odd or even. This bit is initialized for odd dat a parity
at reset; but i t may be reprogrammed for even parity, or
back a ga in to odd par it y , as des ired.
2
A
0A
1A
A
R/WAENAVSSACKAEF2MBF2D
CK
Pin 1
131
130
REQ
129
Pin 132
A
128
127
126
2
AE
125
124
18A
123
19A
D
122
SSO
V
121
20AD21AD22A
D
120
119
118
A
23
D
117
116
115
114
113
112
111
110
109
108
107
106
105
104
103
102
101
100
99
98
97
96
95
94
93
92
91
90
89
88
87
86
85
84
V
D
D
D
V
D
D
D
V
D
D
D
V
D
D
D
RT
V
D
D
V
D
D
D
V
D
D
D
V
D
D
D
V
CCO
24A
25A
26A
SSO
27A
28A
29A
CCO
30A
31A
32A
SSO
33A
34A
35A
2
SS
35B
34B
SSO
33B
32B
31B
CCO
30B
29B
28B
SSO
27B
26B
25B
CCO
12BD13BD14B
D
D
15B
SSO
V
16BD17B
D
1
MBF
1
AE
EF
1
B
ACK
B
B
REQ
EN
B
R/W
CK
SS
V
1
0
B
A
B
0B
WS
OE
WS
2
2
2
AF
HF
B
PF
D
18B
D
19B
D
20B
SSO
V
CC
FF
V
D
21B
D
22B
B
B
23
24
D
D
543601-30
Figure 1. Pin Connections f or 132-Pi n PQFP Package
Supply internal logic. Connected to each other.
Supply output drivers only. Connected to each
other.
4
PINSCOMMENTS
V
V
SS
SSO
Supply int erna l logic . Connec ted to each other .
Supply out put dri vers only. Connected to each
other .
256 × 36 × 2 Bidirectional FIFOLH543601
RS
MBF
A
A
A
CK
R/W
EN
REQ
ACK
READ
WRITE
PORT B
I/O
PORT B
CONTROL
543601-36
PORT A
I/O
PORT A
CONTROL
WRITE
READ
FIFO 1
FIFO 2
Figure 3a. Simplifie d LH543601 Bl ock Diag ram
BYPASS
MBF
1
RESET
LOGIC
2
2A
1A
0A
A
A
A
A
A
COMMAND
PORT AND
REGISTER
PORT A
SYNCH-
RONOUS
CONTROL
LOGIC
MAILBOX
REGISTER
#1
MAILBOX
REGISTER
#2
FIFO #1
MEMORY ARRAY
256 x 36
WRITE
POINTER
READ
POINTER
COMMAND
PORT AND
REGISTER
PORT B
SYNCH-
RONOUS
CONTROL
LOGIC
A
0B
CK
R/W
EN
REQ
ACK
B
B
B
B
B
D0A - D
FF
AF
HF
RT
EF
AE
OE
PF
35A
1
1
1
2
2
2
A
PORT A
I/O
FIXED AND
PROGRAMMABLE
STATUS FLAGS
FIXED AND
PROGRAMMABLE
STATUS FLAGS
READ
POINTER
FIFO #2
WRITE
POINTER
PORT B
I/O
EF
1
AE
1
RT
1
FF
2
AF
2
HF
2
OE
B
D0B - D
WS0, WS
35B
1
MEMORY ARRAY
256 x 36
A
PARITY
CHECKING
RESOURCE
PARITY
CHECKING
PF
B
REGISTERS
543601-6
Figur e 3b. Det aile d LH543601 Bl ock Diagr am
5
LH543601256 × 36 × 2 Bidirectional FIFO
PIN DESCRIPTIONS
PINPIN TYPE
1
GENERAL
VCC, V
SSV
RS
I
Power, Ground
Reset
PORT A
CK
A
R/WA
EN
AI
A0A, A1A, A
OE
A
REQ
RT
2
D0A – D
FF
1
AF
1
HF
1O
AE
2O
EF
2
MBF
PF
A
ACK
2AI
A
35A
2
A
I
I
I
I
I
I/O/Z
O
O
O
O
O
O
Port A Free-Runn ing Clock
Port A Edg e-Sampled R ea d/ Write Contro l
Port A Edge-Sampled Enable
Port A Edge-Sampled Ad dres s Pins
Port A L evel- Sensit iv e Output Enable
Port A Request/Ena ble
FIFO #2 Retransmit
Port A Bidir ectional Dat a Bus
FIFO #1 Full Flag (Write Boundar y)
FIFO #1 Progra mmable Almo st-Fu ll Flag (Write Boundary)
FIFO #1 Half-Full Flag
FIFO #2 Program mable A lmost- Empty Flag (Read Boundar y)
FIFO #2 Empty Flag (Read Boundar y)
New-Mail-Alert Flag for Mailbox #2
Port A Parity Flag
Port A Acknowledge
PORT B
CK
B
R/W
B
EN
B
A
0B
OE
B
WS0, WS
REQ
RT
D0B – D
FF
AF
HF
AE
EF
MBF
PF
ACK
NOTE:
1. I = Input , O = O utput, Z = High-Impedance, V = Power Voltage Level
1
B
1
35B
2
2
2O
1
1
1
B
B
I
I
I
I
I
I
I
I
I/O/Z
O
O
O
O
O
O
O
Port B Free-Run ning Clock
Port B Edge-Samp led Read/W rite Contro l
Port B Edge-Samp led Enable
Port B Edge-Sample d Address P in
Port B Level-Sensit ive Output Enable
Port B Word-Widt h Select
Port B Request / Enable
FIFO #1 Retransmit
Port B Bidirectional Data Bus
FIFO #2 Full Flag (Write Boundar y)
FIFO #2 Programm able A lmost-Full Flag ( Write Boundar y)
FIFO #2 Half-Full Flag
FIFO #1 Program mable A lmost- Empty Flag (Read Boundar y)
FIFO #1 Empty Flag (Read Boundar y)
New-Mail-Alert Flag for Mailbox #1
Port B Parity Flag
Port B Acknowled ge
DESCRIPTION
6
256 × 36 × 2 Bidirectional FIFOLH543601
ABSOLUTE MAXIMUM RATINGS
PARAMETERRATING
1
Supply Voltage to VSS Pote n ti al–0.5 V to 7 V
Signal Pin Voltag e to VSS Potenti al
DC O utp ut C u rre nt
2
3
–0.5 V to VCC + 0 .5 V
± 40 mA
Stor age Tempera tur e Range–65oC to 150oC
Power Dissipat io n (Package Limit )2 Watt s (Quad Flat Pack)
NOTES:
1. Stresses greater than those listed under ‘A bsolute Maximum Ratings’ may cause
permanent damage to the device. This is a stress rating for transient conditions only.
Functional operation of the device at these or any other conditions outside those indicated
in the ‘Operating Range’ of this specification is not implied. Exposure to absolute maximum
rating conditions for extended periods may affect reliability.
2. Outputs should not be shorted f or more t han 30 seconds. No more than one output should be
shorted at any time.
3. Negat ive undershoot of 1.5 V in amplitude is permitted for up t o 10 ns, once per cycle.
OPERATING RANGE
SYMBOLPARAMETERMINMAXUNIT
T
A
VCCSupply V olta ge
V
SS
V
IL
V
IH
NOTE:
1. Negat ive undershoot of 1.5 V in amplitude is permitted
for up to 10 ns, once per cycle.
Tem p erat ure,
Ambient
Supply V olta ge
Logic LOW
Input V olt age
Logic HIGH
Input V oltage
070
4.55.5V
00V
–0.50.8V
1
2.2
Vcc +
0.5
o
C
V
FROM PORT
INTERNAL
DATA BUS
(OR CONTROL
GATE)
IF ANY (SEE NOTE)
NOTE: Output-only pins have no
associated input buffer.
Figure 4. Struc tur e of Seri es Resis tor
15 Ω
TO ASSOCIATED
INPUT BUFFER,
Input/ Output Interface
D
nA/B
(OR FLAG)
543601-39
DC ELECTRICAL CHARACTERISTICS (Over Oper ating Range)
SYMBOLPARAMETERTEST CONDITIONSMINTYPMAXUNIT
I
LI
I
LO
V
OL
V
OH
I
CC
I
CC2
I
CC3
I
CC4
NOTES :
1. ICC, I
with outputs open (for ICC: CL = 0 pF); and, for ICC and I
2. ICC (MAX.) using worst case conditions and data pattern. ICC (TYP.) using VCC = 5 V and and ‘average’ data pattern.
3. I
CC2
Inp ut Lea kage Cur re ntVCC = 5.5 V, VIN = 0 V T o V
I/O Leakage Current
OE ≥ VIH, 0 V ≤ V
OUT
≤ V
CC
CC
–1010µA
–1010
Logic LO W Output V olt ageIOL = 8 .0 mA
Logic HIG H Output Volt a geIOH = –8.0 mA2.4V
Aver age Supply Cur rent
Aver age St andby Supply
Curr ent
1, 3
Po wer-Dow n S upply
Curr ent
1
Po wer-Dow n S upply
Curr ent
, I
CC2
CC 3
(TYP. ) and I
1, 3
, and I
are dependent upon actual output loading, and ICC and I
CC4
(TYP.) using VCC = 5 V and TA = 25°C.
CC4
1, 2
Measured at fCC = max
All Input s = V
(Clocks idle)
IHMIN
All Input s = VCC – 0.2 V (Clo cks idle)
All Input s = VCC – 0. 2 V
(Clocks at fcc = max)
are also dependent on cycle rates. Specified values are
, operating at minimum cycle times.
CC4
CC4
180280mA
1325mA
0.0020.4mA
610mA
0.4V
µA
7
LH543601256 × 36 × 2 Bidirectional FIFO
AC TEST CO NDI T IO N S
PARAMETERRATING
470 Ω
240 Ω
+5 V
30 pF
*
Input Pulse Levels
Input Rise and Fall Times
(10% to 90%)
Output Refer ence Le vels
Input T iming Ref ere nce Lev els
VSS to 3 V
5 ns
1.5 V
1.5 V
DEVICE
UNDER
TEST
Output L oad, Timing Tests
CAP ACIT ANCE
1,2
PARAME TERRAT ING
CIN (Input Capacitance)
C
(Output Ca pacit ance)
OUT
NOTES:
1. Sample tested only.
2. Capacitances are maximum values at 25oC, measured at 1.0MHz,
with VIN = 0 V.
Figure 5
8 pF
8 pF
*
INCLUDES JIG AND SCOPE CAPACITANCES
Figur e 5. Outp ut Load Circui t
543601-7
8
256 × 36 × 2 Bidirectional FIFOLH543601
AC ELECTRICAL CHARACTERISTICS 1 (VCC = 5 V ± 10%, TA = 0°C to 70°C)
SYMBOLDECRIPTION
f
CC
t
CC
t
CH
t
CL
t
DS
t
DH
t
ES
t
EH
t
RWS
t
RWH
t
RQS
t
RQH
t
AS
t
AH
t
A
t
ACK
t
OH
t
ZX
t
XZ
t
EF
t
FF
t
HF
t
AE
t
AF
t
MBF
t
PF
t
RS
t
RSS
t
RSH
t
RF
t
FRL
t
FWL
t
BS
t
BH
t
BA
NOTES:
1. Timing measurements performed at ‘AC Test Condition’ levels.
2. Values are guaranteed by design; not currently production tested.
3. t
RSS
ENB is being asserted.
4. t
FRL
5. t
FWL
Clock Cycle Frequency—50—40—33—28.5MHz
Clock Cycl e Ti me20—25—30—35—ns
Clock HIGH Ti me8—10—12—15—ns
Clock LOW T im e8—10—12—15—ns
Data Setup Time10—12—13—15—ns
Data Hold Time0—0—0—0—ns
Enable Set up T ime
Enable Hol d T ime0—0—0—0—ns
Read/W ri te Setu p Ti me10.4—13—15—18—ns
Read/W ri te Hold Tim e0—0—0—0—ns
Request Setup Time12—15—18—21—ns
Request Hold Time0—0—0—0—ns
Address Setup Time
Address Hold Time
6
6
Data Out put Access Ti me—12.8—16—20—25ns
Acknowl edge Acce ss T im e—12—15—20—25ns
Output Hold Time2.0—2.0—2.0—2.0—ns
Output Enable Time, OE LOW to D
– D35 Low-Z
Output Disable Time, OE HIGH to
– D35 High-Z
D
0
2
2
0
Clock to EF Flag V a lid (Em pty Fla g)—17.6—22—25—30ns
Clock to FF Flag V a lid (Fu ll Flag )—17.6—22—25—30ns
Clock to HF Flag V a lid (Ha lf- Full )—17.6—22—25—30ns
Clock to AE Flag Valid (Almost-
Empty)
Clock to AF Flag V a lid (Al most -Fu ll)—16—20—25—30ns
Clock to MBF Flag V alid (Mail box
Flag)
Data to Parity Flag Valid—13.6—17—20—25ns
Reset/ Retr ansm it Puls e Width
Reset/ Retr ansm it Set up T ime
Reset/ Retr ansm it Hol d Ti me
7
3
3
Reset LOW to Flag V ali d—28—35—40—45ns
First Read Latenc y
First Wr ite Latency
4
5
Bypass Data Setup12—15—18—21—ns
Bypass Data Hold3—5—5—5—ns
Bypass Da ta Ac cess—18—20—25—30ns
and/or t
is the minimum first-write-to-first-read delay, following an empty condition, which is required to assure valid read data.
is the minimum first-read-to-first-write delay, following a full condtion, which is required to assure successful writing of data.
need not be met unless a rising edge of CKA occurs while ENA is being asserted, or else a rising edge of CKB occurs while
RSH
–20–25–30–35
MINMAXMINMAXMINMAXMINMAX
10.4—13—15—15—ns
12—15—18—21—ns
0—0—0—0—ns
1.5—2.0—3.0—3.0—ns
— 9 —12—15—20ns
—16—20—25—30ns
—12—15—20—25ns
32/20—40/25—52/30—65/35—ns
16—20—25—30—ns
8 —10—15—20—ns
20—25—30—35—ns
20—25—30—35—ns
UNITS
9
LH543601256 × 36 × 2 Bidirectional FIFO
OPERATIONAL DESCRI PT ION
Reset
The device is r eset wh enever the a synchro nous Res et
(RS) in put is taken LOW , and at leas t one rising edge an d
one falling edge of both CKA and CKB occur while RS is
LOW . A reset ope ration is r equired af ter power-u p, before
the f irst wr it e operat ion ma y occur. The LH543601 is fu lly
ready for ope ration afte r being reset . No device progra mming is required if the default states described below are
accepta ble.
A reset operation initializes the read-address and
write-a ddr ess p o inter s for FIFO #1 and FIFO #2 to t hose
FIFO’s first physical memory locations. If the respective
outputs are enabled, the initial contents of these first
locations appea r at the outputs. FIFO and mailbo x status
flags are updated to indicate an empty condition. In
addition, the progr am mab le-stat us -flag of fset values are
initialized to eight. Thus, the AE1/AE2 flags get asserted
within eight locations of an empty condition, and the
AF1/AF2 flag s likewise ge t asserted with in eight locations
of a full condition, for FIFO #1/FIFO #2 respectively.
Bypass Operation
During reset (whenever RS is LOW) the device acts
as a registered transceiver, bypassing the internal FIFO
memories. Port A acts as the m aster port. A write or read
operat ion on Port A during r ese t transf er s data dire ctly to
or from Port B. Port B is considered to be the slave, and
cannot perform write or read operations indepen dently on
its own during reset .
The direction of the bypass data trans mission is determined by th R/WA control input, which does not get
overridden by the RS input. Here, a ‘write’ operation
means passing data from Port A to Port B, and a ‘read’
operat ion me ans pas sing data f rom Por t B to Port A.
The bypass capability may be used to pass initialization or configur ation data directly bet ween a master processor and a peripher al device du ring r eset .
(CKA or CKB) whenever: the appropriat e e na ble (ENA or
ENB) is held HI GH; the appropriate request (RE QA or
REQB) is held HIGH; the appr opr iat e Read/ Wr ite contro l
(R/WA or R/WB) is held LOW; the FIFO address is
selected for the address inputs (A2A – A0A or A0B); and
the prescribed setup times and hold time s are observ ed
for all of these signals. Set up tim es and hold times mus t
also be observed on the data-bus pins (D0A – D
D0B – D
35B
).
35A
or
Normally, the appropriate Output Enable signal (OE
or OEB) is HIGH, to disable the outputs a t that port, so
that the data word present on the bus from external
sources gets stored. However, a ‘loopback’ mode of
operation also is possible, in which the data word supplied
by the outputs of one internal FIFO is ‘turned around’ at
the port and r ead ba ck int o the ot her FIFO. In this mode ,
the outputs at the port are not disabled. To remain within
specification for all timing parameters , the Clock Cycle
Frequency must be reduced slightly below the value
which otherwise would be permissible for that speed
grade of LH543601.
When a FIFO full condition is r eached, write operat ions
are locked out. Following the first read operation from a
full FIFO, another memory location is freed up, and the
cor responding Full Flag is deasserted (FF = HIGH ). The
first write operation should begin no earlier than a First
Write Latency (t
) after the first read operation from a
FWL
full FIFO, to ensure that correct read data are retrieve d.
FI FO Rea d
Po rt A r eads from FIFO #2, and Por t B reads from FIFO
#1. A read operation is initiated on the rising edge of
a clock (CKA or CKB) whenever: the appropriate enable
(ENA or ENB) is held HIGH; the appropriate request
(REQA or REQB) is held HIGH; the appropriate
Read/Write control (R/WA or R/WB) is held HIGH;
the FIFO address is selected for the address inputs
(A2A – A0A or A0B); and the prescribed setup times and
hold t imes are obse rved for all of these signals. Read data
A
Address Modes
Address pins select the device resource to be
accessed by each port. Port A has three resource -register-select inputs, A0A, A1A, and A2A, which s elect be tween
FIFO access, mailbox-register access, control-register
access (writ e only) , and p rogramm able flag- of fset -valueregister access. Port B has a single address input, A0B,
to select between FIFO access or mail box-register access.
The status of the resource-register-select inputs is
sampled at the rising edge of an enabled clock (CKA or
CKB). Resource- regist er select-input address definitions
are summarized in Table 1.
FIFO Write
Port A writ es to FIFO #1, and Por t B writes to FIFO #2.
A write operation is initiated on the rising edge of a clock
10
T abl e 1. Resource-Regi ste r Addresses
A2AA1AA
0A
HHH
HHL
HLH
HLL
LHH
LHL
LLH
FIFO
Mailbox
AF2, AE2, AF1, AE1 Flag Offsets
Register (36-Bit Mode)
Contro l Register (Par ity M ode)
AE1 Flag Offset Register
AF1 Flag Of fset Register
AE2 Flag Offset Register
RESOURCE
PORT A
LLLAF2 Flag Of fset Register
A
0B
H
L
FIFO
Mailbox
RESOURCE
PORT B
256 × 36 × 2 Bidirectional FIFOLH543601
OPE RATIO N AL D ESCRIPT IO N (cont’d)
becomes valid on the data-bus pins (D0A – D
D0B – D
) by a time tA after the rising clock (C KA or
35B
CKB) edge, provided that the data outputs ar e enabled.
OEA and OEB are as sertiv e-LOW , asy nchr onous, O utput Enable control input signals. Their effect is only to
enable or disable t he outp ut driv ers of th e respec tive por t.
Disabling the out puts does
not
disable a read operation;
data trans mitt ed to the corres ponding o utp ut register wi ll
remain available later, when the outputs again are enabled, unless it subsequent ly is over written .
When an empty condition is reached, r ead operat io ns
are locked out until a valid write operation(s) has loaded
additional data into the FIFO. Following the first wri te to
an empty FIFO, the corresponding empty flag (EF) will be
deasser ted (HIGH). The first read oper ation should begin
no earlier than a First Read Latency (t
) after the first
FRL
write to an empty FIFO , to ensure th at corr ect read data
words are retrieved.
Dedicated FIFO Status Flags
Six dedicated FIFO status flags are i ncluded for Full
(FF1 and FF2), Half-Ful l (HF1 and HF2), and Empty (EF
and EF2). FF1, HF1, and EF1 indicate the status of FIFO
#1; and FF2, HF2, and EF2 ind icate the sta tus of FIFO #2.
A Full Flag is asser ted following the first subsequent
rising clock edge f or a write oper ation which fills the FIFO.
A Full Flag is deasserted following the first subsequent
falling clock edge for a read operation to a full FIFO. A
Half-Full Flag is updated following the first subsequent
rising clock edge of a read or w rite operation to a FIF O
which changes its ‘half-full’ status. An Empty Flag is
asserted following the firs t subsequent rising clock edge
for a read operation which empties the FIFO. An Empty
Flag is deasserted following the falling clock edge for a
write oper atio n to an empty FIFO.
Programmable Status Fla gs
Four programmable FIFO s tatus flags are provided,
two for Almost-Full (AF1 and AF2), and two for AlmostEmpty ( AE1 and AE2). Th us, each p ort has t wo programmable flags t o mon itor the st atus of t he two int ernal FIFO
buffer memories. The offset values for these flags are
initialized to eight locations from the respective FIFO
boundaries during reset , but can be reprog ram med over
the e nt ir e FI FO d e pth.
An Almost-Full Flag is asserted following the first su bsequent rising clock edge after a write operation which
has partiall y fill ed th e FIF O up to th e ‘almost-full’ offset
point. An Almost-Full F lag is deasser ted following the first
subsequent falling clock edge after a read operation
which has partially emptied the FIFO down past the
‘almost-full’ offset point. An Almost-Empty Flag is asserted following the first subsequent rising clock edge
after a read operation w hich has partially emptied the
FIFO down to the ‘almost-empty’ offs et point. An AlmostEmpty Flag is deasserted following the first subsequent
35A
or
fall ing clock edge after a write operation which has partially filled the FIFO up past the ‘almost-empty’ offset
point.
Flag off se ts may be written or r ead thr ough the Por t A
data bus. Al l four program mable FI FO status flag of fset s
can be set simultaneously through a single 36-bit status
word; or, each programmable flag offset can be set
individually, through one of four eight-bit status words.
Table 3 illustrates the data format for flag-programming
words .
Also, Table 4 defines the meaning of each of the five
flags, both the dedicated flags and the programmable
flags, for the LH543601.
WARNING: Contro l inputs which may affec t the com putation of flag values at a port generally should not change
while the clock for that port is HIGH, since some updatin g
of flag values takes place o n t he
falling
edge of t he clock.
Mailbox Operation
Two mailbox registe rs are pr ovided f or pass ing system
hardwar e or software control/ status words between ports.
Each port can read its own mailbox and write to the other
1
port’s mailbox . Mailbox access is p erf or me d on the rising
edge of the controlling FIFO’s clock, with the mailbox
address selected and the enable (ENA or ENB) H IGH.
That is, writing to Mailbox Register #1, or reading from
Mai lbox Register #2, is synch ron ized to C KA; and writin g
to Ma ilbox Regist er #2, or reading f rom M ailbox Regist er
#1, is synch ronized to CKB.
The R/W
and OE
A/B
pins control the direction and
A/B
availabi lity of mailbox-registe r accesses. Each mailbox
register has its own New-Mail-Alert Flag (MBF1 and
MBF2), which is synchronized to the reading port’s clock .
These New-Mail -Alert Flags are s tatus indicators only,
and cannot inhibit mailbox-register read or write operations.
Request Acknowledge Handshake
A sync hro nous reque st-ac knowledge ha ndsha ke feature is provided for each port, to perform boundary synchronization between asynchronously-operated ports.
The use of this feature is optional. When it is used, the
Request input (REQ
With REQ
HIGH, R/W
A/B
) is sampled at a rising clock edge.
A/B
dete rmines whether a FI FO
A/B
read operation or a FIFO write operation is being requested. The Acknowledge output (ACK
A/B
during the following clock cycle(s). ACK
setup and hold time requirements of the Enable input
(ENA or E NB). There fore, ACK
may be tied back to the
A/B
enable input to directly gate FIFO accesses, at a sl ight
decrea se in maxim um oper ating frequenc y.
The assertion of ACK
asserted. However, ACK
EN
; and thus the assert ion of ACK
A/B
signifies that REQ
A/B
does not depen d logically on
A/B
does
A/B
that a FIFO write access or a FIFO read access act ually
took place. While REQ
HIGH, ACK
may be considered as a synchronous,
A/B
predictive boundary flag. That is, ACK
and EN
A/B
are being held
A/B
A/B
) is updated
meets the
A/B
was
A/B
not
prove
acts as a syn-
11
LH543601256 × 36 × 2 Bidirectional FIFO
OPE RATIO N AL D ESCRIPT IO N (cont’d)
chronized predictor of the Almost-Full Flag AF for write
operat ions, or as a sy nchronized pr edictor of the AlmostEmpty Flag A E for re ad operatio ns.
Outside the ‘almost-full’ region and the ‘almo s t-em pty ’
region, ACK
REQ
is he ld cont inuously HIGH. With in t he ‘alm ost-full’
A/B
region or the ‘almost-empty’ region, ACK
on every
actual full or empty boundaries and to ensure that the t
(first write lat ency ) an d t
tions are sat isf ied befor e AC K
The ‘almost-full region’ is defined as ‘that region, where
the Almost-Full Flag is being asserted’; and the ‘almostempty region’ as ‘that region, where the Almost-Empty
Flag is being asserted. ’ Thus, t he extent of these ‘almost’
regions depends on ho w the system h as p rog ramm ed the
offset values for the Almost-Full Flags and the AlmostEmpty Flags . If the system has
then these offset values remai n at their default values,
eight in each case.
If a write attempt is unsuccessful because the correspond ing FI FO is full, or if a r ead atte mpt is unsucces sf u l
because th e corresp onding FIFO is empty , ACK
asserted in respons e to REQ
If the REQ/ACK handshake is not used, then the
REQ
input may be used as a second enable input, at
A/B
a possible mino r loss in maximum operating speed. In this
case, the ACK
WARNING : Whether or not the REQ/A CK handshake is
being used, the REQ
for that port to function at all – for FIFO, mailbox, or
data- bypas s operat ion.
Data Retransmit
A retransmit operation resets the read-address pointer of
the c orre spo nding FIF O (#1 or # 2) bac k to the fi rs t FIFO
physical memory location, so that data may be reread. The
write pointer is not aff ected. The sta tus flags are updated;
and a block of up to 256 data words, which previously had
been writt en i nto and read fr om a FIFO, can be retrieved.
The block to be retransmitted is bounded by the first FIFO
memory location, and the FIFO memory location addressed
by the write pointer. FIFO #1 retransmit is initiated by
strobing the RT1 pin LOW. FIFO #2 retransmit is initiated by
strobing the RT2 pin LOW. Read and write operations to a
FIFO should be stopped while the corresponding Retransmit signal is being asserted.
Parity Checki ng
The Parity Check Flags, PFA and PFB, are asserted
(LOW) whenever there is a parity error in the data word
present on the Port A data bus or the Port B data bus
respectively. The inputs to the parity-evaluation logic
come direct ly (via is o lation trans is tors) fr om th e data-bus
bonding
remains continuously HIGH whenever
A/B
occurs only
A/B
third
cycle, to prevent an overrun of the FIFO’s
(first read late ncy) specific a-
FRL
is received.
A/B
not
programmed them,
.
A/B
output may be ignored.
A/B
input for a port
A/B
pads
, in each case. Thus, PFA and PFB provide
must
be asserted
A/B
is
FWL
not
parity-error indications for whatever 36-bit words are
present at Port A and Port B respectively, regardless of
whether those words originated within the LH543601 or
in the external system.
The four bytes of a 36-bit data word are grouped as D0 –
D8, D9 – D17, D18 – D26, and D27 – D35. The parity of each
nine-bit byte is individually checked, and the four single-bit
parity indications are logically inclusive-ORed and inverted,
to produce the Parity-Flag output. Parity checking is initialized for odd parity at reset, but can be reprogrammed fo r
ev en par it y or for odd par ity dur ing o per atio n. Control- Register bit 00 (zero) selects the parity mode, odd or even.
(See Table 3.)
All nine bits of each byte are treated alike by the parity
log ic. The byte parit y ove r the nine bit s is compar ed w ith
the Parit y Mod e bit in the Cont r ol Reg iste r , to gene rate a
byt e-parity- error indication. Then, the four byte-parityerr or signals a re NORed t oget her, to comput e the a sser tive- LOW parity -flag value.
Word-Width Selection on Port B
The word width of data access on Port B is selected
by the WS0 and WS1 contr ol input s. WS0 and WS1 both
are tied HIGH for 36-bit access; they both are tied LOW
for single-byte access. For double-byte access, WS0 is
tied HI GH and WS1 is tied LOW . (See Table 2.)
In the single-byte-access or double-byte-access modes,
FIFO w rite operations on Port B e ssentially pack the data to
form 36-bit words, as viewed from Port A. Similarly, singlebyte or double -byte FI FO read opera tions o n Po rt B e ssentially unpack 36-bit words through a series of shift
opera tions . FI FO status flags are u pdated fo llow ing th e la st
access which forms a complete 36-bit transfer.
Sin ce the valu es for eac h st atu s fl ag a re co mpute d by
logic directly associated with one of the two FIFO-memory
array s, and not by l ogic a ssoci ated w ith P ort B,
the flag
values reflect the arra y fullness situation in term s of c omplete 36-bit words
, and no t in terms of bytes or double byte s.
However , there is no such re strict ion for switc hing from
writing t o reading, or from r eading to writing, at Port B. A s
long as t
state after
, tDS, and tA are sat isfied, R/ WB may ch ange
RW S
any
single- byte or doub le-byte access, and not
only aft er a full 36- bit- wor d access.
Also, the word-width-matching feature continues to
oper at e prop erly in ‘ loopback ’ mode.
Note that the program mable word-width-matching feature is
Data Bypass operations do
only
supported fo r FIFO accesses. Mailbox and
not
support word-width
matching between Port A and Port B. Tables 2, 3, and 4,
and Figures 6a, 6b, 7a, and 7b summarize word-width
select ion fo r Port B.
Tab le 2. Port B Word-W idt h Sel ection
WS
1
HH36-B it
HL(Reserved)
LH18-Bit
LL9-Bit
WS
0
PORT B DATA WIDTH
12
256 × 36 × 2 Bidirectional FIFOLH543601
Table 3. Resourc e-Register Programming
RESOURCE-
REGISTER
ADDRESS
A2AA1AA
0A
RESOURCE-REGISTER CONTENTS
NORMAL FIFO OPERATION
D
35A
D
0A
HHHX......X
MAILBOX
D
35A
D
0A
HHLX......X
AF2, AE2, AF1, AE1 FLAG OFFSETS REGISTER (36-BIT MODE)
D
D
35A
34A
. . . D
HLHX AF2 Offset
D
35A
HLLX......XParity Mode
27A
D
26A
1
XAE2 Offset
D
25A
. . . D
18A
D
17A
1
XAF1 Offset
D
. . . D
16A
CONTROL REGISTER: (WRITE-ONLY) PARITY EVEN/ODD
8-BIT AE1 FLAG OFFSET REGISTER
9A
D
8A
1
XAE1 Offset
D
D7A . . . D
1A
0A
1
D0A
2
D
35A
D
8A
D7A . . . D
LHHX......XAE1 Offset
AF1 FLAG OFFSET REGISTER
8-BIT
D
35A
D
8A
D7A . . . D
LHLX......XAF1 Offset
8-BIT AE2 FLAG OFFSET REGISTER
D
35A
D
8A
D7A . . . D
LLHX......XAE2 Offset
AF2 FLAG OFFSET REGISTER
8-BIT
D
35A
D
8A
D7A . . . D
LLLX......XAF2 Offset
NOTES:
1. All four programmable-flag-offset values are initialized to eight (8) during a reset operation.
2. Odd parity = HIGH; even parity = LOW. The parity m ode is initialized t o odd during a res e t operation.
0A
1
0A
1
0A
1
0A
1
13
Loading...
+ 30 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.