TL/F/6436
54LS670/DM54LS670/DM74LS670 TRI-STATE 4-by-4 Register Files
June 1989
54LS670/DM54LS670/DM74LS670
TRI-STATEÉ4-by-4 Register Files
General Description
These register files are organized as 4 words of 4 bits each,
and separate on-chip decoding is provided for addressing
the four word locations to either write-in or retrieve data.
This permits writing into one location, and reading from an-
other word location, simultaneously.
Four data inputs are available to supply the word to be
stored. Location of the word is determined by the write se-
lect inputs A and B, in conjunction with a write-enable sig-
nal. Data applied at the inputs should be in its true form.
That is, if a high level signal is desired from the output, a
high level is applied at the data input for that particular bit
location. The latch inputs are arranged so that new data will
be accepted only if both internal address gate inputs are
high. When this condition exists, data at the D input is trans-
ferred to the latch output. When the write-enable input, GW,
is high, the data inputs are inhibited and their levels can
cause no change in the information stored in the internal
latches. When the read-enable input, GR, is high, the data
outputs are inhibited and go into the high impedance state.
The individual address lines permit direct acquisition of data
stored in any four of the latches. Four individual decoding
gates are used to complete the address for reading a word.
When the read address is made in conjunction with the
read-enable signal, the word appears at the four outputs.
This arrangementÐdata entry addressing separate from
data read addressing and individual sense line Ð eliminates
recovery times, permits simultaneous reading and writing,
and is limited in speed only by the write time (27 ns typical)
and the read time (24 ns typical). The register file has a non-
volatile readout in that data is not lost when addressed.
All inputs (except read enable and write enable) are buff-
ered to lower the drive requirements to one normal Series
54LS/74LS load, and input clamping diodes minimize
switching transients to simplify system design. High speed,
double ended AND-OR-INVERT gates are employed for the
read-address function and have high sink current, TRI-
STATE outputs. Up to 128 of these outputs may be wire-
AND connected for increasing the capacity up to 512 words.
Any number of these registers may be paralleled to provide
n-bit word length.
Features
YAlternate Military/Aerospace device (54LS670) is avail-
able. Contact a National Semiconductor Sales Office/
Distributor for specifications.
YFor use as:
Scratch pad memory
Buffer storage between processors
Bit storage in fast multiplication designs
YSeparate read/write addressing permits simultaneous
reading and writing
YOrganized as 4 words of 4 bits
YExpandable to 512 words of n-bits
YTRI-STATE versions of DM54LS170/DM74LS170
YFast access times 20 ns typ
Connection Diagram
Dual-In-Line Package
TL/F/6436–1
Order Number 54LS670DMQB, 54LS670FMQB,
54LS670LMQB, DM54LS670J, DM54LS670W,
DM74LS670M or DM74LS670N
See NS Package Number E20A,
J16A, M16A, N16A or W16A
Function Tables
WRITE TABLE (SEE NOTES A, B, AND C)
Write Inputs Word
WBWAGW0123
LLLQ
e
DQ
0Q
0Q
0
LHL Q
0Q
e
DQ
0Q
0
HLL Q
0Q
0Q
e
DQ
0
HHL Q
0Q
0Q
0Q
e
D
XXH Q
0Q
0Q
0Q
0
READ TABLE (SEE NOTES A AND D)
Read Inputs Outputs
RBRAGRQ1 Q2 Q3 Q4
L L L WOB1 WOB2 WOB3 WOB4
L H L W1B1 W1B2 W1B3 W1B4
H L L W2B1 W2B2 W2B3 W2B4
H H L W3B1 W3B2 W3B3 W3B4
XXH Z Z Z Z
Note A: HeHigh Level, L eLow Level, X eDon’t Care, Z eHigh
Impedance (Off).
Note B: (Q eD) eThe four selected internal flip-flop outputs will assume
the states applied to the four external data inputs.
Note C: Q0eThe level of Q before the indicated input conditions were
established.
Note D: WOB1 eThe first bit of word 0, etc.
TRI-STATEÉis a registered trademark of National Semiconductor Corporation.
C1995 National Semiconductor Corporation RRD-B30M105/Printed in U. S. A.