SN54/74LS682
SN54/74LS684
8-BIT MAGNITUDE SN54/74LS688
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 8-BIT MAGNITUDE
and LS684 have P>Q outputs also. COMPARATORS
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. LOW POWER SCHOTTKY
CONNECTION DIAGRAMS (TOP VIEW)
VCC P=Q Q7 P7 Q6 P6 Q5 P5 Q4 P4 J SUFFIX
20 19 18 17 16 15 14 13 12 11 CERAMIC
CASE 732-03
20
1
SN54/74LS682/684
N SUFFIX
PLASTIC
1 2 3 4 5 6 7 8 9 10 CASE 738-03
20
P>Q P0 Q0 P1 Q1 P2 Q2 P3 Q3 GND
1
DW SUFFIX
VCC P=Q Q7 P7 Q6 P6 Q5 P5 Q4 P4 SOIC
20
20 19 18 17 16 15 14 13 12 11 CASE 751D-03
1
SN54/74LS688
ORDERING INFORMATION
SN54LSXXXJ Ceramic
SN74LSXXXN Plastic
1 2 3 4 5 6 7 8 9 10 SN74LSXXXDW SOIC
G P0 Q0 P1 Q1 P2 Q2 P3 Q3 GND
FUNCTION TABLE
INPUTS OUTPUTS
OUTPUT OUTPUT DATA ENABLES
TYPE P=Q P>Q ENABLE CONFIGURATION PULLUP
P, Q G, GT G2 P=Q P>Q
LS682 yes yes no totem-pole yes
P=Q L L L H
LS684 yes yes no totem-pole no P>Q L L H L
LS688 yes no yes totem-pole no P<Q L L H H
X H H H H
H = HIGH Level, L = LOW Level, X = Irrelevant
FAST AND LS TTL DATA
5-603
SN54/74LS682 • SN54/74LS684 • SN54/74LS688
GUARANTEED OPERATING RANGES
Symbol Parameter Min Typ Max Unit
VCC Supply Voltage 54 4.5 5.0 5.5 V
74 4.75 5.0 5.25
TA Operating Ambient Temperature Range 54 – 55 25 125 °C
74 0 25 70
IOH Output Current — High 54, 74 –0.4 mA
IOL Output Current — Low 54 12 mA
74 24
DC CHARACTERISTICS OVER OPERATING TEMPERATURE RANGE (unless otherwise specified)
Limits
Symbol Parameter Min Typ Max Unit Test Conditions
Guaranteed Input HIGH Voltage for
VIH Input HIGH Voltage 2.0 V
All Inputs
54 0.7 Guaranteed Input LOW Voltage for
VIL Input LOW Voltage V
74 0.8 All Inputs
VIK Input Clamp Diode Voltage – 0.65 – 1.5 V VCC = MIN, IIN = – 18 mA
54 2.5 3.5 V VCC = MIN, IOH = MAX, VIN = VIH
VOH Output HIGH Voltage
74 2.7 3.5 V or VIL per Truth Table
54, 74 0.25 0.4 V IOL = 12 mA VCC = VCC MIN,
VOL Output LOW Voltage VIN = VIL or VIH
74 0.35 0.5 V IOL = 24 mA per Truth Table
20 µA VCC = MAX, VIN = 2.7 V
IIH Input HIGH Current LS628-Q Inputs 0.1 mA VCC = MAX, VIN = 5.5 V
Others 0.1 mA VCC = MAX, VIN = 7.0 V
LS682-Q Inputs – 0.4 mA
IIL Input LOW Current VCC = MAX, VIN = 0.4 V
Others – 0.2 mA
IOS Short Circuit Current (Note 1) – 30 – 130 mA VCC = MAX
LS682 70 mA
Power Supply
ICC LS684 65 mA VCC = MAX
Current
LS688 65 mA
Note 1: Not more than one output should be shorted at a time, nor for more than 1 second.
FAST AND LS TTL DATA
5-604
SN54/74LS682 • SN54/74LS684 • SN54/74LS688
LOGIC DIAGRAMS
SN54 / 74LS682 thru LS684 SN54 / 74LS688
FAST AND LS TTL DATA
5-605
SN54/74LS682•SN54/74LS684•SN54/74LS688
AC CHARACTERISTICS (TA = 25°C)
SN54/74LS682
Limits
Symbol Parameter Min Typ Max Unit Test Conditions
tPLH 13 25
Propagation Delay, P to P = Q ns
tPHL 15 25
tPLH 14 25
Propagation Delay, Q to P = Q ns VCC = 5.0 V
tPHL 15 25
CL = 45 pF
tPLH
Propagation Delay, P to P > Q
20 30
ns RL = 667 Ω
tPHL 15 30
tPLH 21 30
Propagation Delay, Q to P > Q ns
tPHL 19 30
SN54/74LS684
Limits
Symbol Parameter Min Typ Max Unit Test Conditions
tPLH 15 25
Propagation Delay, P to P = Q ns
tPHL 17 25
tPLH 16 25
Propagation Delay, Q to P = Q ns VCC = 5.0 V
tPHL 15 25
CL = 45 pF
tPLH
Propagation Delay, P to P > Q
22 30
ns RL = 667 Ω
tPHL 17 30
tPLH 24 30
Propagation Delay, Q to P > Q ns
tPHL 20 30
SN54/74LS688
Limits
Symbol Parameter Min Typ Max Unit Test Conditions
tPLH 12 18
Propagation Delay, P to P = Q ns
tPHL 17 23
VCC = 5.0 V
tPLH 12 18
Propagation Delay, Q to P = Q ns CL = 45 pF
tPHL 17 23
RL = 667 Ω
tPLH 12 18
Propagation Delay, G , G1 to P = Q ns
tPHL 13 20
FAST AND LS TTL DATA
5-606
Case 751D-03 DW Suffix
"!
20-Pin Plastic ! " !
SO-20 (WIDE) &
-A- " ! "
! " #
" #!
%# " #!
20 11 !
-B- P * * !" $ !"
*
1 10
G
R X 45°
-T- C ! !
M F J ° °
) °
) °
)
D K
" ! !
Case 732-03 J Suffix
20-Pin Ceramic Dual In-Line
"!
! $" '' " #
!" " !" " %#
" "
20 11
" " ! $
1 10
#! !#!
B
A
L
F C
! !
N J
H K M
!
!
D G ° ° ° °
Case 738-03 N Suffix
20-Pin Plastic "!
! " !
&
-A- " !
! ( " " $
20 11
B ! ( ! " #
1 10 !
* !" $ !"
*
C L
-T- K
E N M ! !
G F J
! !
D
"
"
!
!
° ° ° °
FAST AND LS TTL DATA
5-607
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 “Typicals” must be validated for each customer application by customer’s 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:
SYMBOL SW1 SW2
USA: Motorola Literature Distribution; P.O. Box 20912; Phoenix, Arizona 85036. tPZH Open Closed
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. tPZL Closed Open
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.
tPLZ Closed Closed
tPHZ Closed Closed
◊ FAST AND LS TTL DATA
5-608