HD74LS85
4-bit Magnitude Comparator
REJ03D0421–0200
Rev.2.00
Feb.18.2005
This four bit magnitude comparator performs comparison of straight binary and straight BCD (8-4-2-1) codes. Three
fully decoded decisions about two 4-bit words (A, B) are made and are externally available at three outputs. This
device is fully expandable to any number of bits without external gates. Words of greater length may be compared by
connecting comparators in cascade. The A > B, A < B, and A = B outputs of a stage handling less-significant bits. The
stage handling the least- significant bits must have a high-level voltage applied to the A
β
B input. The cascading path
is implemented with only a two-gate-level delay to reduce overall comparison times for long words.
Features
•
Ordering Information
Part Name
HD74LS85P
HD74LS85FPEL
Package Type
DILP-16 pin
SOP-16 pin (JEITA)
Package Code
(Previous Code)
PRDP0016AE-B
(DP-16FV)
PRSP0016DH-B
(FP-16DAV)
Package
Abbreviation
P
FP
Taping Abbreviation
(Quantity)
—
EL (2,000 pcs/reel)
Note: Please consult the sales office for the above package availability.
Pin Arrangement
B
3
Data Input
A<B
Cascade
Inputs
A=B
A>B
A>B
Outputs
A=B
A<B
GND
1
B
3
2
3
4
5
6
7
8
A<B
A=B
In
A>B
A>B
A
3
B
2
A
2
A
1
16
15
14
13
12
11
10
9
V
CC
A
3
B
2
A
2
A
1
B
1
A
0
B
0
Data Inputs
A=B
Out
B
1
A<B
B
0
A
0
(Top view)
Rev.2.00, Feb.18.2005, page 1 of 6