8-BIT MAGNITUDE
COMPARATORS
The SN54 / 74LS682, 684, 688 are 8-bit magnitude comparators. These
device types are designed to perform comparisons between two eight-bit
binary or BCD words. All device types provide P = Q outputs and the LS682
and LS684 have P>Q outputs also.
The LS682, LS684 and LS688 are totem pole devices. The LS682 has a
20 k鈩?pullup resistor on the Q inputs for analog or switch data.
CONNECTION DIAGRAMS
(TOP VIEW)
SN54/74LS682
SN54/74LS684
SN54/74LS688
8-BIT MAGNITUDE
COMPARATORS
LOW POWER SCHOTTKY
VCC P=Q
20
19
Q7
18
P7
17
Q6
16
P6
15
Q5
14
P5
13
Q4
12
P4
11
20
1
J SUFFIX
CERAMIC
CASE 732-03
SN54/74LS682/684
N SUFFIX
PLASTIC
CASE 738-03
1
1
P>Q
2
P0
3
Q0
4
P1
5
Q1
6
P2
7
Q2
8
P3
9
Q3
10
GND
20
VCC P=Q
20
19
Q7
18
P7
17
Q6
16
P6
15
Q5
14
P5
13
Q4
12
P4
11
20
1
DW SUFFIX
SOIC
CASE 751D-03
SN54/74LS688
ORDERING INFORMATION
SN54LSXXXJ
Ceramic
SN74LSXXXN Plastic
SN74LSXXXDW SOIC
1
G
2
P0
3
Q0
4
P1
5
Q1
6
P2
7
Q2
8
P3
9
Q3
10
GND
FUNCTION TABLE
INPUTS
TYPE
LS682
LS684
LS688
P=Q
yes
yes
yes
P>Q
yes
yes
no
OUTPUT
ENABLE
no
no
yes
OUTPUT
CONFIGURATION
totem-pole
totem-pole
totem-pole
DATA
PULLUP
yes
no
no
P, Q
P=Q
P>Q
P<Q
X
ENABLES
G, GT
L
L
L
H
G2
L
L
L
H
P=Q
L
H
H
H
P>Q
H
L
H
H
OUTPUTS
H = HIGH Level, L = LOW Level, X = Irrelevant
FAST AND LS TTL DATA
5-603