5-603
FAST AND LS TTL DATA
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/684
18 17 16 15 14 13
1 2 3 4 5 6 7
20 19
8
VCC
P>Q
P=Q Q7 P7 Q6 Q5P6 P5
P0 Q0 P1 Q1 P2 Q2 P3
9 10
Q3 GND
12 11
Q4 P4
SN54/74LS688
18 17 16 15 14 13
1 2 3 4 5 6 7
20 19
8
VCC
G
P=Q Q7 P7 Q6 Q5P6 P5
P0 Q0 P1 Q1 P2 Q2 P3
9 10
Q3 GND
12 11
Q4 P4
TYPE
P = Q
P > Q
OUTPUT
ENABLE
OUTPUT
CONFIGURATION
PULLUP
TYPE
P = Q
P > Q
OUTPUT
ENABLE
OUTPUT
CONFIGURATION
PULLUP
LS682 yes yes no totem-pole yes
LS684 yes yes no totem-pole no
LS688 yes no yes totem-pole no
SN54/74LS682
SN54/74LS684
SN54/74LS688
8-BIT MAGNITUDE
COMPARATORS
LOW POWER SCHOTTKY
ORDERING INFORMATION
SN54LSXXXJ Ceramic
SN74LSXXXN Plastic
SN74LSXXXDW SOIC
20
1
J SUFFIX
CERAMIC
CASE 732-03
20 1
N SUFFIX
PLASTIC
CASE 738-03
20
1
DW SUFFIX
SOIC
CASE 751D-03
FUNCTION TABLE
INPUTS OUTPUTS
DATA ENABLES
P, Q G, GT G2 P = Q P > Q
P = Q
P > Q
P < Q
X
L
L
L
H
L
L
L
H
L
H
H
H
H
L
H
H
H = HIGH Level, L = LOW Level, X = Irrelevant
5-604
FAST AND LS TTL DATA
SN54/74LS682 SN54/74LS684 SN54/74LS688
GUARANTEED OPERATING RANGES
Symbol Parameter Min Typ Max Unit
VCC Supply Voltage 54
74 4.5
4.75 5.0
5.0 5.5
5.25 V
TAOperating Ambient Temperature Range 54
74 55
025
25 125
70 °C
IOH Output Current — High 54, 74 –0.4 mA
IOL Output Current — Low 54
74 12
24 mA
DC CHARACTERISTICS OVER OPERATING TEMPERATURE RANGE (unless otherwise specified)
Symbol
Parameter
Limits
Test Conditions
Symbol
Parameter
Min Typ Max
Test Conditions
VIH Input HIGH Voltage 2.0 V Guaranteed Input HIGH Voltage for
All Inputs
VIL
Input LOW Voltage
54 0.7
Guaranteed Input LOW Voltage for
All Inputs
VIL
Input LOW Voltage
74 0.8
Guaranteed Input LOW Voltage for
All Inputs
VIK Input Clamp Diode Voltage 0.65 1.5 V VCC = MIN, IIN = –18 mA
VOH
Output HIGH Voltage
54 2.5 3.5 V
V
CC = MIN, IOH = MAX, VIN = VIH
or VIL per Truth Table
VOH
Output HIGH Voltage
74 2.7 3.5 V
VCC = MIN, IOH = MAX, VIN = VIH
or VIL per Truth Table
VOL
Output LOW Voltage
54, 74 0.25 0.4 V IOL = 12 mA
VCC = VCC MIN,
VIN = VIL or VIH
per Truth Table
VOL
Output LOW Voltage
74 0.35 0.5 V IOL = 24 mA
VIN = VIL or VIH
per Truth Table
IIH
Input HIGH Current
20 µA VCC = MAX, VIN = 2.7 V
IIH Input HIGH Current
LS628-Q Inputs 0.1 mA VCC = MAX, VIN = 5.5 V
IH
Others 0.1 mA VCC = MAX, VIN = 7.0 V
IIL
Input LOW Current
LS682-Q Inputs 0.4 mA
VCC = MAX, VIN = 0.4 V
IIL
Input LOW Current
Others 0.2 mA
VCC = MAX, VIN = 0.4 V
IOS Short Circuit Current (Note 1) 30 130 mA VCC = MAX
ICC
Power Supply
Current
LS682 70 mA
VCC = MAX
ICC
Power Supply
Current
LS684 65 mA
VCC = MAX
CC
Current
LS688 65 mA
CC = MAX
Note 1: Not more than one output should be shorted at a time, nor for more than 1 second.
5-605
FAST AND LS TTL DATA
SN54/74LS682 SN54/74LS684 SN54/74LS688
LOGIC DIAGRAMS




































































SN54/74LS682 thru LS684 SN54/74LS688
5-606
FAST AND LS TTL DATA
SN54/74LS682SN54/74LS684SN54/74LS688
AC CHARACTERISTICS (TA = 25°C)
SN54/74LS682
Symbol
Parameter
Limits
Test Conditions
Symbol
Parameter
Min Typ Max
Test Conditions
tPLH
tPHL Propagation Delay, P to P = Q 13
15 25
25 ns
VCC = 5.0 V
CL = 45 pF
RL = 667
tPLH
tPHL Propagation Delay, Q to P = Q 14
15 25
25 ns
VCC = 5.0 V
CL = 45 pF
RL = 667
tPLH
tPHL Propagation Delay, P to P > Q 20
15 30
30 ns
CL = 45 pF
RL = 667
tPLH
tPHL Propagation Delay, Q to P > Q 21
19 30
30 ns
SN54/74LS684
Symbol
Parameter
Limits
Test Conditions
Symbol
Parameter
Min Typ Max
Test Conditions
tPLH
tPHL Propagation Delay, P to P = Q 15
17 25
25 ns
VCC = 5.0 V
CL = 45 pF
RL = 667
tPLH
tPHL Propagation Delay, Q to P = Q 16
15 25
25 ns
VCC = 5.0 V
CL = 45 pF
RL = 667
tPLH
tPHL Propagation Delay, P to P > Q 22
17 30
30 ns
CL = 45 pF
RL = 667
tPLH
tPHL Propagation Delay, Q to P > Q 24
20 30
30 ns
SN54/74LS688
Symbol
Parameter
Limits
Test Conditions
Symbol
Parameter
Min Typ Max
Test Conditions
tPLH
tPHL Propagation Delay, P to P = Q 12
17 18
23 ns
VCC = 5.0 V
CL = 45 pF
RL = 667
tPLH
tPHL Propagation Delay, Q to P = Q 12
17 18
23 ns
VCC = 5.0 V
CL = 45 pF
RL = 667
tPLH
tPHL Propagation Delay, G , G1 to P = Q 12
13 18
20 ns
RL = 667
5-607
FAST AND LS TTL DATA
"!
!  "   !
& 
"  ! " 
!   " # 
 " #!
%#   " #!   
!
*  * !" $ !" 
*
  
 








°









°
)









°
)









°
)


 !  !
-A-
-B- P
 
110
1120
G
-T-
D
 
K
C


R X 45°
MFJ
Case 751D-03 DW Suffix
20-Pin Plastic
SO-20 (WIDE)
 
"
 
! !
Case 732-03 J Suffix
20-Pin Ceramic Dual In-Line
"!
! $"  ''   " #
!" " !"  " %#
"  "
 " "  ! $  
 
  #! !#!
  
 

















°


















°

 !
 !
 !
 !
°
 
°

B
C
DG
H
J
M
N
AL
20 11
1 10


K
F
Case 738-03 N Suffix
20-Pin Plastic
  
 















°
















°

 !
 !
 !
 !
 !
 !
°
 
°

"!
!  "   !
& 
"  ! 
! ( " "   $
   
! ( ! " # 
!
* !" $ !"  *
-A-
B
C
K
NE
G F D
 
J
 
L
M
-T-


1 10
1120
"   "  
5-608
FAST AND LS TTL DATA
SYMBOL SW1 SW2
tPZH Open Closed
tPZL Closed Open
tPLZ Closed Closed
tPHZ Closed Closed
Motorola reserves the right to make changes without further notice to any products herein. Motorola makes no warranty , representation or guarantee regarding
the suitability of its products for any particular purpose, nor does Motorola assume any liability arising out of the application or use of any product or circuit,
and specifically disclaims any and all liability , including without limitation consequential or incidental damages. “Typical” parameters can and do vary in different
applications. All operating parameters, including “T ypicals” must be validated for each customer application by customers technical experts. Motorola does
not convey any license under its patent rights nor the rights of others. Motorola products are not designed, intended, or authorized for use as components in
systems intended for surgical implant into the body , or other applications intended to support or sustain life, or for any other application in which the failure of
the Motorola product could create a situation where personal injury or death may occur. Should Buyer purchase or use Motorola products for any such
unintended or unauthorized application, Buyer shall indemnify and hold Motorola and its officers, employees, subsidiaries, affiliates, and distributors harmless
against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death
associated with such unintended or unauthorized use, even if such claim alleges that Motorola was negligent regarding the design or manufacture of the part.
Motorola and are registered trademarks of Motorola, Inc. Motorola, Inc. is an Equal Opportunity/Affirmative Action Employer .
Literature Distribution Centers:
USA: Motorola Literature Distribution; P.O. Box 20912; Phoenix, Arizona 85036.
EUROPE: Motorola Ltd.; European Literature Centre; 88 Tanners Drive, Blakelands, Milton Keynes, MK14 5BP, England.
JAPAN: Nippon Motorola Ltd.; 4-32-1, Nishi-Gotanda, Shinagawa-ku, Tokyo 141, Japan.
ASIA PACIFIC: Motorola Semiconductors H.K. Ltd.; Silicon Harbour Center, No. 2 Dai King Street, Tai Po Industrial Estate, Tai Po, N.T., Hong Kong.