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
MARKING
DIAGRAMS
SN74LS68xN
AWLYYWW
1
TYPE
LS682
LS684
LS688
P=Q
yes
yes
yes
P>Q
yes
yes
no
PULLUP
yes
no
no
20
1
GUARANTEED OPERATING RANGES
Symbol
VCC
TA
IOH
IOL
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
20
PDIP–20
N SUFFIX
CASE 738
mA
1
mA
SOIC–20
DW SUFFIX
CASE 751D
x
A
WL
YY
WW
LS68x
AWLYYWW
= 2, 4, or 8
1
= Assembly Location
= Wafer Lot
= Year
= Work Week
ORDERING INFORMATION
Device
SN74LS682N
SN74LS682DW
Package
PDIP–20
SOIC–WIDE
Shipping
1440 Units/Box
38 Units/Rail
SN74LS682DWR2 SOIC–WIDE 2500/Tape & Reel
SN74LS684N
SN74LS684DW
PDIP–20
SOIC–WIDE
1440 Units/Box
38 Units/Rail
SN74LS684DWR2 SOIC–WIDE 2500/Tape & Reel
SN74LS688N
SN74LS688DW
PDIP–20
SOIC–WIDE
1440 Units/Box
38 Units/Rail
SN74LS688DWR2 SOIC–WIDE 2500/Tape & Reel
©
Semiconductor Components Industries, LLC, 2001
1
October, 2001 – Rev. 8
Publication Order Number:
SN74LS682/D
SN74LS682, SN74LS684, SN74LS688
CONNECTION DIAGRAMS
(TOP VIEW)
VCC 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
VCC 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
OUTPUTS
ENABLES
G, GT
L
L
L
H
G2
L
L
L
H
P=Q
L
H
H
H
P>Q
H
L
H
H
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
VIH
VIL
VIK
VOH
Parameter
Input HIGH Voltage
Input LOW Voltage
Input Clamp Diode Voltage
Output HIGH Voltage
2.7
–0.65
3.5
0.25
VOL
Output LOW Voltage
0.35
0.5
20
IIH
Input HIGH Current
LS682-Q Inputs
Others
LS682-Q Inputs
IIL
IOS
Input LOW Current
Others
Short Circuit Current (Note 1.)
LS682
ICC
Power Supply
Current
LS684
LS688
–30
–0.2
–130
70
65
65
mA
mA
mA
mA
mA
VCC = MAX
0.1
0.1
–0.4
V
µA
mA
mA
mA
VCC = MAX, VIN = 0 4 V
MAX
0.4
VCC = MAX
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
VCC = MIN, IIN = –18 mA
VCC = MIN, IOH = MAX, VIN = VIH
or VIL per Truth Table
IOL = 12 mA
IOL = 24 mA
VCC = VCC MIN,
VIN = VIL or VIH
per Truth Table
VCC = MAX, VIN = 2.7 V
VCC = MAX, VIN = 5.5 V
VCC = MAX, VIN = 7.0 V
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
(TA = 25°C)
SN74LS682
Limits
Symbol
tPLH
tPHL
tPLH
tPHL
tPLH
tPHL
tPLH
tPHL
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
VCC = 5.0 V
CL = 45 pF
RL = 667
Ω
SN74LS684
Limits
Symbol
tPLH
tPHL
tPLH
tPHL
tPLH
tPHL
tPLH
tPHL
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
VCC = 5.0 V
CL = 45 pF
RL = 667
Ω
SN74LS688
Limits
Symbol
tPLH
tPHL
tPLH
tPHL
tPLH
tPHL
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
VCC = 5.0 V
CL = 45 pF
RL = 667
Ω
Test Conditions
http://onsemi.com
5