SN74LS682 SN74LS684
SN74LS688
8-Bit Magnitude
Comparators
The SN74LS682, 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.
OUTPUT
ENABLE
no
no
yes
OUTPUT
CONFIGURATION
totem-pole
totem-pole
totem-pole
http://onsemi.com
LOW
POWER
SCHOTTKY
TYPE
LS682
LS684
LS688
P=Q
yes
yes
yes
P>Q
yes
yes
no
PULLUP
yes
no
no
20
GUARANTEED OPERATING RANGES
Symbol
V
CC
T
A
I
OH
I
OL
Parameter
Supply Voltage
Operating Ambient
Temperature Range
Output Current – High
Output Current – Low
Min
4.75
0
Typ
5.0
25
Max
5.25
70
– 0.4
24
Unit
V
°C
mA
mA
1
PLASTIC
N SUFFIX
CASE 738
20
1
SOIC
DW SUFFIX
CASE 751D
ORDERING INFORMATION
Device
SN74LS682N
SN74LS682DW
SN74LS684N
SN74LS684DW
SN74LS688N
SN74LS688DW
Package
16 Pin DIP
16 Pin
16 Pin DIP
16 Pin
16 Pin DIP
16 Pin
Shipping
1440 Units/Box
2500/Tape & Reel
1440 Units/Box
2500/Tape & Reel
1440 Units/Box
2500/Tape & Reel
©
Semiconductor Components Industries, LLC, 1999
1
December, 1999 – Rev. 6
Publication Order Number:
SN74LS682/D
SN74LS682 SN74LS684 SN74LS688
CONNECTION DIAGRAMS
(TOP VIEW)
V
CC
P=Q
20
19
Q7
18
P7
17
Q6
16
P6
15
Q5
14
P5
13
Q4
12
P4
11
SN74LS682/684
1
P>Q
2
P0
3
Q0
4
P1
5
Q1
6
P2
7
Q2
8
P3
9
Q3
10
GND
V
CC
P=Q
20
19
Q7
18
P7
17
Q6
16
P6
15
Q5
14
P5
13
Q4
12
P4
11
SN74LS688
1
G
2
P0
3
Q0
4
P1
5
Q1
6
P2
7
Q2
8
P3
9
Q3
10
GND
FUNCTION TABLE
INPUTS
DATA
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
http://onsemi.com
2
SN74LS682 SN74LS684 SN74LS688
DC CHARACTERISTICS OVER OPERATING TEMPERATURE RANGE
(unless otherwise specified)
Limits
Symbol
V
IH
V
IL
V
IK
V
OH
Parameter
Input HIGH Voltage
Input LOW Voltage
Input Clamp Diode Voltage
Output HIGH Voltage
2.7
– 0.65
3.5
0.25
V
O
OL
Output LOW Voltage
0.35
0.5
20
I
IH
Input HIGH Current
LS682-Q Inputs
Others
LS682-Q Inputs
I
IL
I
OS
Input LOW Current
Others
Short Circuit Current (Note 1)
LS682
I
CC
Power S
P
Supply
l
Current
LS684
LS688
– 30
– 0.2
– 130
70
65
65
mA
mA
mA
mA
mA
V
CC
= MAX
0.1
0.1
– 0.4
V
µA
mA
mA
mA
V
CC
= MAX, V
IN
= 0 4 V
MAX
0.4
V
CC
= MAX
I
OL
= 24 mA
0.4
Min
2.0
0.8
– 1.5
Typ
Max
Unit
V
V
V
V
V
Test Conditions
Guaranteed Input HIGH Voltage for
All Inputs
Guaranteed Input LOW Voltage for
All Inputs
V
CC
= MIN, I
IN
= – 18 mA
V
CC
= MIN, I
OH
= MAX, V
IN
= V
IH
or V
IL
per Truth Table
I
OL
= 12 mA
V
CC
= V
CC
MIN,
V
IN
= V
IL
or V
IH
per Truth Table
V
CC
= MAX, V
IN
= 2.7 V
V
CC
= MAX, V
IN
= 5.5 V
V
CC
= MAX, V
IN
= 7.0 V
Note 1: Not more than one output should be shorted at a time, nor for more than 1 second.
http://onsemi.com
3
SN74LS682 SN74LS684 SN74LS688
LOGIC DIAGRAMS
P7
Q7
P6
Q6
P5
Q5
P4
Q4
P3
Q3
P2
Q2
P1
Q1
P0
Q0
(17)
(18)
(15)
(16)
(13)
(14)
(11)
(12)
(8)
(9)
(6)
(7)
(4)
(5)
(2)
(3)
(19)
P7
Q7
P6
Q6
P5
Q5
P4
Q4
P3
Q3
P2
Q2
P1
(1)
(17)
(18)
(15)
(16)
(13)
(14)
(11)
(12)
(8)
(9)
(6)
(7)
(4)
(5)
(2)
(3)
(19)
P=Q
P=Q
Q1
P0
Q0
P>Q
G
(1)
SN74LS682 and LS684
SN74LS688
http://onsemi.com
4
SN74LS682 SN74LS684 SN74LS688
AC CHARACTERISTICS
(T
A
= 25°C)
SN74LS682
Limits
Symbol
t
PLH
t
PHL
t
PLH
t
PHL
t
PLH
t
PHL
t
PLH
t
PHL
Parameter
Propagation Delay, P to P = Q
Propagation Delay, Q to P = Q
Propagation Delay, P to P > Q
Propagation Delay, Q to P > Q
Min
Typ
13
15
14
15
20
15
21
19
Max
25
25
25
25
30
30
30
30
Unit
ns
ns
ns
ns
Test Conditions
V
CC
= 5.0 V
F
C
L
= 45 pF
R
L
= 667
Ω
SN74LS684
Limits
Symbol
t
PLH
t
PHL
t
PLH
t
PHL
t
PLH
t
PHL
t
PLH
t
PHL
Parameter
Propagation Delay, P to P = Q
Propagation Delay, Q to P = Q
Propagation Delay, P to P > Q
Propagation Delay, Q to P > Q
Min
Typ
15
17
16
15
22
17
24
20
Max
25
25
25
25
30
30
30
30
Unit
ns
ns
ns
ns
Test Conditions
V
CC
= 5.0 V
F
C
L
= 45 pF
R
L
= 667
Ω
SN74LS688
Limits
Symbol
t
PLH
t
PHL
t
PLH
t
PHL
t
PLH
t
PHL
Parameter
Propagation Delay, P to P = Q
Propagation Delay, Q to P = Q
Propagation Delay, G , G1 to P = Q
Min
Typ
12
17
12
17
12
13
Max
18
23
18
23
18
20
Unit
ns
ns
ns
Test Conditions
V
CC
= 5.0 V
C
L
= 45 pF
R
L
= 667
Ω
http://onsemi.com
5