These arithmetic logic units (ALU)/function generators utilize advanced silicon-gate CMOS technology. They possess
the high noise immunity and low power consumption of
standard CMOS integrated circuits, as well as the ability to
drive 10 LS-TTL loads.
The MM54HC181/MM74HC181 are arithmetic logic unit
(ALU)/function generators that have a complexity of 75
equivalent gates on a monolithic chip. These circuits perform 16 binary arithmetic operations on two 4-bit words as
shown in Tables 1 and 2. These operations are selected by
the four function-select lines (S0, S1, S2, S3) and include
addition, subtraction, decrement, and straight transfer.
When performing arithmetic manipulations, the internal carries must be enabled by applying a low-level voltage to the
mode control input (M). A full carry look-ahead scheme is
made available in these devices for fast, simultaneous carry
generation by means of two cascade-outputs (pins 15 and
17) for the four bits in the package. When used in conjunction with the MM54HC182 or MM74HC182, full carry lookahead circuits, high-speed arithmetic operations can be performed. The method of cascading HC182 circuits with these
ALU’s to provide multi-level full carry look-ahead is illustrated under typical applications data for the MM54HC182/
MM74HC182.
If high speed is not of importance, a ripple-carry input (C
and a ripple-carry output (C
the ripple-carry delay has also been minimized so that arithmetic manipulations for small word lengths can be performed without external circuitry.
Features
Y
Full look-ahead for high-speed operations on
long words
Y
Arithmetic operating modes:
Addition
Subtraction
Shift operand a one position magnitude comparison
Plus twelve other arithmetic operations
Y
Logic function modes:
Exclusive-OR
Comparator
AND, NAND, OR, NOR
Plus ten other logic operations
1995 National Semiconductor CorporationRRD-B30M105/Printed in U. S. A.
TL/F/5320
TL/F/5320– 1
Pin Designations
DesignationPin Nos.Function
A3, A2, A1, A019, 21, 23, 2Word A Inputs
B3, B2, B1, B018, 20, 22, 1Word B Inputs
S3, S2, S1, S03, 4, 5, 6
C
n
M8
F3, F2, F1, F013, 11, 10, 9Function Outputs
AeB14Comparator Outputs
P15
a
C
416Inv. Carry Output
n
G17
V
CC
GND12Ground
7Inv. Carry Input
24Supply Voltage
Function-Select
Inputs
Mode Control
Input
Carry Propagate
Output
Carry Generate
Output
Page 2
General Description (Continued)
These circuits will accommodate active-high or active-low
data, if the pin designations are interpreted as shown below.
Subtraction is accomplished by 1’s complement addition
where the 1’s complement of the subtrahend is generated
internally. The resultant output is AÐBÐ1, which requires
an end-around or forced carry to produce AÐB.
The 181 can also be utilized as a comparator. The A
e
output is internally decoded from the function outputs (F0,
F1, F2, F3) so that when two words of equal magnitude are
applied at the A and B inputs, it will assume a high level to
indicate equality (A
mode with C
e
A
B output is open-drain so that it can be wire-AND con-
e
B). The ALU should be in the subtract
e
H when performing this comparison. The
n
nected to give a comparison for more than four bits. The
carry output (C
magnitude information. Again, the ALU should be placed in
) can also be used to supply relative
na4
the subtract mode by placing the function select inputs S3,
S2, S1, S0 at L, H, H, L, respectively.
These circuits have been designed to not only incorporate
all of the designer’s requirements for arithmetic operations,
Pin Number2123222120191891011137161517
Active-High Data (Table 1)A0B0A1B1A2B2A3B3F0F1F2F3CnC
Active-Low Data (Table 1)A0B0A1B1A2B2A3B3F0F1F2F3CnC
but also to provide 16 possible functions of two Boolean
variables without the use of external circuitry. These logic
functions are selected by use of the four function-select inputs (S0, S1, S2, S3) with the mode-control input (M) at a
high level to disable the internal carry. The 16 logic functions are detailed in Tables 1 and 2 and include exclusiveOR, NAND, AND, NOR, and OR functions.
B
ALU SIGNAL DESIGNATIONS
The MM54HC181/MM74HC181 can be used with the signal
designations of either
Figure 1orFigure 2
The logic functions and arithmetic operations obtained with
signal designations as in
Figure 1
are given in Table 1; those
obtained with the signal designations of
in Table 2.
The 54HC/74HC logic family is speed, function, and pinout
compatible with the standard 54LS/74LS logic family. All
inputs are protected from damage due to static discharge by
internal diode clamps to V
and ground.
CC
.
Figure 2
na4
na4
are given
XY
P G
FIGURE 1
InputOutputActive-High DataActive-Low Data
C
n
HHA
HLA
LHA
LLA
a
C
4(Figure 1)(Figure 2)
n
s
BA
l
BA
k
BA
t
BA
Selection
MeHM
Logic
S3 S2 S1 S0 FunctionsC
e
H (no carry)C
n
LLLLFeAFeAF
LLLHF
LLHLFeABF
LLHHFe0F
LHLLF
eAa
BFeAaBF
e
a
A
e
e
ABFeA Plus ABFeA Plus AB Plus 1
Minus 1 (2’s Compl) FeZero
LHLHFeBFe(AaB) Plus ABFe(AaB) Plus AB Plus 1
LHHLF
LHHHF
e
AZBFeA Minus B Minus 1 FeA Minus B
e
ABFeAB Minus 1FeAB
HLL LFeAaBFeA Plus ABFeA Plus AB Plus 1
HLLHFeAZBFeA Plus BFeA Plus B Plus 1
TL/F/5320– 2
HLHLF
e
BF
HLHHFeABFeAB Minus 1FeAB
HHL LFe1F
HHL HF
HHHLF
HHHHF
*Each bit is shifted to the next more significant position.
eAa
eAa
e
AF
e(Aa
e
A Plus A*FeA Plus A Plus 1
BFe(AaB) Plus AFe(AaB) Plus A Plus 1
BFe(AaB) Plus AFe(AaB) Plus A Plus 1
e
A Minus 1FeA
t
B
k
B
l
B
s
B
Table I
Active High Data
e
L; Arithmetic Operations
e
L (with carry)
n
e
A Plus 1
e
(AaB) Plus 1
BF
e(Aa
B) Plus 1
B) Plus ABFe(AaB) Plus AB Plus 1
2
Page 3
General Description (Continued)
Selection
S3 S2 S1 S0 FunctionsC
LLLLFeAFeA Minus 1FeA
LLLHF
LLHLFeAaBFeAB Minus 1Fe(AB)
LLHHFe1F
LHLLF
LHLHFeB FeAB Plus (AaB)FeAB Plus (AaB) Plus 1
LHHLF
LHHHF
HLLLF
HLLHFeAaBFeA Plus BFeA Plus B Plus 1
HLHLF
HLHHFeAaBFeAaBF
HHL LFe0F
HHLHF
HHHLF
HHHHF
*Each bit is shifted to the next more significant position.
eAa
eAa
eAa
e
e
e
e
e
TL/F/5320– 3
FIGURE 2
Table II
Active Low Data
MeHM
e
L; Arithmetic Operations
Logic
e
L (no carry)C
n
e
ABFeAB Minus 1FeAB
e
Minus 1 (2’s Compl) FeZero
BFeA Plus (AaB)F
e
H (with carry)
n
e
A Plus (AaB) Plus 1
BFeA Minus B Minus 1FeA Minus B
BFeAaBFe(AaB Plus 1
ABF
BF
e
A Plus (AaB)FeA Plus (AaB) Plus 1
e
AB Plus (AaB)FeAB Plus (AaB) Plus 1
e
A Plus A*FeA Plus A Plus 1
e
(AaB) Plus 1
ABFeAB Plus AFeAB Plus A Plus 1
ABFeAB Plus AFeAB Plus A Plus 1
AF
e
AF
e
A Plus 1
NumberPackage CountCarry Method
of
Bits
Typical
Addition Times
Arithmetic/Look Ahead
Logic UnitsCarry Generators
Between
ALU’s
1 to 420 ns10None
5 to 830 ns20Ripple
9 to 1630 ns3 or 41Full Look-Ahead
17 to 6450 ns5 to 162 to 5Full Look-Ahead
3
Page 4
Absolute Maximum Ratings (Notes1&2)
Operating Conditions
If Military/Aerospace specified devices are required,
please contact the National Semiconductor Sales
Office/Distributors for availability and specifications.
Supply Voltage (V
CC
)
DC Input Voltage (VIN)
DC Output Voltage (V
OUT
)
Clamp Diode Current (IIK,IOK)
DC Output Current, per pin (I
OUT
)
DC VCCor GND Current, per pin (ICC)
Storage Temperature Range (T
STG
b
b
)
b
0.5 toa7.0V
1.5 to V
CC
0.5 to V
CC
g
g
b
g
65§Ctoa150§C
a
1.5V
a
0.5V
20 mA
25 mA
50 mA
Supply Voltage (V
)26V
CC
DC Input or Output Voltage0V
(V
IN,VOUT
)
Operating Temp. Range (TA)
MM74HC
MM54HC
Input Rise or Fall Times
e
V
2.0V(tr,tf)1000ns
CC
e
V
4.5V500ns
CC
e
V
6.0V400ns
CC
Power Dissipation (PD)
(Note 3)600 mW
S.O. Package only500 mW
Lead Temperature (T
)
L
(Soldering 10 seconds)260§C
DC Electrical Characteristics (Note 4)
e
T
25§C
SymbolParameterConditionsV
CC
A
TypGuaranteed Limits
V
Minimum High Level2.0V1.51.51.5V
IH
Input Voltage4.5V3.153.153.15V
6.0V4.24.24.2V
V
Maximum Low Level2.0V0.50.50.5V
IL
Input Voltage**4.5V1.351.351.35V
6.0V1.81.81.8V
V
I
LKG
V
Minimum High LevelV
OH
Output Voltage
(any output except4.5V 4.54.44.44.4V
e
A
B)6.0V 6.05.95.95.9V
Maximum LeakageV
Open Drain Output Current V
(AeB Output)
Maximum Low LevelV
OL
Output Voltage
e
VIHor V
l
V
l
l
l
IN
I
OUT
IN
I
OUT
I
OUT
IN
OUT
IN
I
OUT
e
e
e
IL
s
20 mA2.0V 2.01.91.91.9V
l
VIHor V
IL
s
4.0 mA4.5V 4.23.983.843.7V
l
s
5.2 mA6.0V 5.75.485.345.2V
l
VIHor V
e
V
CC
VIHor V
s
20 mA2.0V00.10.10.1V
l
6.0V0.55.010mA
IL
IL
4.5V00.10.10.1V
6.0V00.10.10.1V
e
V
VIHor V
IN
I
l
OUT
I
l
OUT
I
IN
I
CC
Maximum InputV
Current
Maximum QuiescentV
Supply CurrentI
Note 1: Absolute Maximum Ratings are those values beyond which damage to the device may occur.
Note 2: Unless otherwise specified all voltages are referenced to ground.
Note 3: Power Dissipation temperature derating Ð plastic ‘‘N’’ package:
Note 4: For a power supply of 5V
with this supply. Worst case V
) occur for CMOS at the higher voltage and so the 6.0V values should be used.
I
OZ
** V
limits are currently tested at 20% of VCC. The above VILspecification (30% of VCC) will be implemented no later than Q1, CY’89.
IL
g
10% the worst case output voltages (VOH, and VOL) occur for HC at 4.5V. Thus the 4.5V values should be used when designing
and VILoccur at V
IH
IN
IN
OUT
CC
e
e
e
IL
s
4.0 mA4.5V 0.20.260.330.4V
l
s
5.2 mA6.0V 0.20.260.330.4V
l
VCCor GND 6.0V
g
0.1
VCCor GND 6.0V8.080160mA
e
0 mA
b
12 mW/§C from 65§Cto85§C; ceramic ‘‘J’’ package:b12 mW/§C from 100§Cto125§C.
5.5V and 4.5V respectively. (The VIHvalue at 5.5V is 3.85V.) The worst case leakage current (IIN,ICC, and
74HC54HC
eb
T
40 to 85§CT
A
g
1.0
MinMaxUnits
V
§
§
Units
b
b
40
55
A
eb
CC
a
85
a
125
55 to 125§C
g
1.0mA
C
C
4
Page 5
AC Electrical Characteristics V
CC
e
5V, T
A
SymbolParameterConditionsTyp
t
PHL,tPLH
t
PHL,tPLH
t
PHL,tPLH
t
PHL,tPLH
t
PHL,tPLH
t
PHL,tPLH
t
PHL,tPLH
t
PHL,tPLH
t
PHL,tPLH
t
PHL,tPLH
t
PHL,tPLH
t
PHL,tPLH
Maximum Propagation1320ns
Delay from C
a
to C
4
n
n
Maximum PropagationMe0V, S0eS3eVCC3045ns
Delay from anyS1
AorBtoC
a
4(Sum mode)
N
eS0e
0V
Maximum PropagationMe0V, S0eS3e0V3045ns
Delay from anyS1
AorBtoC
a
4(Diff. mode)
N
eS2e
V
CC
Maximum PropagationMe0V2030ns
Delay from C
Maximum PropagationMe0V, S0
Delay from anyS3
AorBtoGS1eS2e0V
Maximum PropagationMe0V, S0
Delay from anyS3
AorBtoGS1
Maximum PropagationMe0V, S0
Delay from anyS3
AorBtoPS1eS2e0V
Maximum PropagationMe0V, S0
Delay from anyS3
AorBtoPS1eS2eV
Maximum PropagationMe0V, S0
Delay from A
Maximum PropagationMe0V, S0
Delay from A
Maximum PropagationMeV
Delay from A
Maximum PropagationMe0V, S0
to any F(Sum or
n
Diff.
e
(Sum
e
eS2e
mode)
V
CC
mode)
0V
(Diff mode)
e
V
CC
(Sum
mode)
e
0V
(Diff mode)
or BIto FIS3eV
I
or BIto FIS3e0V
I
CC
S1eS2e0V
(Sum
mode)
eS2e
S1
(Diff mode)
or BIto FI(Logic mode)
I
CC
e
e
V
CC
e
e
CC
e
e
V
CC
e
Delay from anyS3e0V
AorBtoA
e
BS1
e
S2eV
(Diff mode)
CC
e
25§C, C
L
e
15 pF, t
Guaranteed
Limit
2030ns
2030ns
2741ns
2437ns
2030ns
1929ns
2537ns
2537ns
e
r
Units
e
t
6ns
f
5
Page 6
AC Electrical Characteristics C
e
L
SymbolParameterConditionsV
t
PHL,tPLH
t
PHL,tPLH
t
PHL,tPLH
t
PHL,tPLH
t
PHL,tPLH
t
PHL,tPLH
t
PHL,tPLH
t
PHL,tPLH
t
PHL,tPLH
t
PHL,tPLH
t
PHL,tPLH
t
PHL,tPLH
t
TLH,tTHL
C
PD
C
IN
Note 5: CPDdetermines the no load dynamic power consumption, P
Maximum Propagation2.0V125155190ns
Delay from C
Maximum PropagationMe0V, S0
Delay from anyS3eV
AorBtoC
Maximum PropagationMe0V, S0
Delay from anyS3e0V4.5V506375ns
AorBtoC
Maximum PropagationMe0V2.0V65150190225ns
Delay from Cnto any F(Sum or4.5V22324048ns
Maximum PropagationMe0V, S0
Delay from anyS3
AorBtoGS1eS2e0V6.0V12303845ns
Maximum PropagationMe0V, S0
Delay from anyS3
AorBtoGS1eS26.0V16293744ns
Maximum PropagationMe0V, S0
Delay from anyS3
AorBtoPS1eS2e0V6.0V25374756ns
Maximum PropagationMe0V, S0
Delay from anyS3
AorBtoPS1eS2eVCC6.0V24344351ns
Maximum PropagationMe0V, S0
Delay from A
Maximum PropagationMe0V, S0
Delay from A
Maximum PropagationMeV
Delay from A
Maximum PropagationMe0V, S0
Delay from anyS3
AorBtoA
Maximum Output Rise2.0V307595110ns
and Fall Time4.5V8151922ns
Power Dissipation300pF
Capacitance (Note 5)
Maximum Input5151515pF
Capacitance
a
to C
44.5V253138ns
n
n
e
a
4S1
n
a
4S1
n
or BIto FIS3eV
I
or BIto FIS3e0V4.5V324048ns
I
or BIto FI(Logic mode)4.5V30405060ns
I
e
BS1
CC
e
S2e0V6.0V30435365ns
mode)
(Sum
e
e
S2eVCC6.0V435365ns
mode)
(Diff
mode)6.0V14283542ns
Diff
e
e
VCC,4.5V20354453ns
mode)
(Sum
e
e
0V4.5V23334250ns
mode)
(Diff
e
e
V
CC
mode)
(Sum
e
e
0V4.5V27394960ns
mode)
(Diff
e
CC
S1eS2e0V6.0V21313947ns
mode)
(Sum
e
S1eS2eVCC6.0V273441ns
mode)
(Diff
CC
e
e
0V4.5V30405060ns
e
S2eVCC6.0V23344351ns
(Diff mode)
D
e
50 pF, t
CC
e
t
6 ns (unless otherwise specified)
r
f
e
T
25§C
A
eb
T
A
74HC54HC
40 to 85§CT
eb
A
55 to 125§C
TypGuaranteed Limits
6.0V222833ns
2.0V110250325375ns
4.5V35506375ns
2.0V250325375ns
2.0V70175220263ns
2.0V65165210250ns
2.0V80220275330ns
4.5V30445566ns
2.0V75195244293ns
2.0V70180225270ns
4.5V26364554ns
2.0V160200290ns
2.0V180200250300ns
6.0V23344351ns
2.0V180200250300ns
6.0V7131619ns
2
e
CPDV
faICCVCC, and the no load dynamic current consumption, I
CC
e
CPDVCCfaICC.
S
Units
6
Page 7
Parameter Measurement Information
Logic Mode Test TableFunction Inputs: S1eS2eMeVCC,S0eS3e0V
ParameterUnder
t
PHL,tPLH
t
PHL,tPLH
InputSame BitOutput
Test
A
I
B
I
Other Input
ApplyApplyApplyApply
V
CC
B
I
A
I
GNDV
NoneNone
NoneNone
SUM Mode Test TableFunction Inputs: S0eS3eV
ParameterUnder
t
PHL,tPLH
t
PHL,tPLH
t
PHL,tPLH
t
PHL,tPLH
t
PHL,tPLH
t
PHL,tPLH
t
PHL,tPLH
t
PHL,tPLH
t
PHL,tPLH
InputSame BitOutput
Test
A
I
B
I
A
I
B
I
A
I
B
I
C
n
A
I
B
I
Other Input
ApplyApplyApplyApply
V
CC
B
I
A
I
B
I
A
I
NoneB
NoneA
GNDV
None
None
NoneNone
NoneNone
I
I
NoneNone
NoneB
NoneA
I
I
Diff Mode Test TableFunction Inputs: S1eS2eVCC,S0eS3eMe0V
NATIONAL’S PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT
DEVICES OR SYSTEMS WITHOUT THE EXPRESS WRITTEN APPROVAL OF THE PRESIDENT OF NATIONAL
SEMICONDUCTOR CORPORATION. As used herein:
1. Life support devices or systems are devices or2. A critical component is any component of a life
systems which, (a) are intended for surgical implantsupport device or system whose failure to perform can
into the body, or (b) support or sustain life, and whosebe reasonably expected to cause the failure of the life
failure to perform, when properly used in accordancesupport device or system, or to affect its safety or
with instructions for use provided in the labeling, caneffectiveness.
be reasonably expected to result in a significant injury
to the user.
National SemiconductorNational SemiconductorNational SemiconductorNational Semiconductor
CorporationEuropeHong Kong Ltd.Japan Ltd.
1111 West Bardin RoadFax: (
Arlington, TX 76017Email: cnjwge@tevm2.nsc.comOcean Centre, 5 Canton Rd.Fax: 81-043-299-2408
Tel: 1(800) 272-9959Deutsch Tel: (
Fax: 1(800) 737-7018English Tel: (
National does not assume any responsibility for use of any circuitry described, no circuit patent licenses are implied and National reserves the right at any time without notice to change said circuitry and specifications.