SN54/74LS682 SN54/74LS684 SN54/74LS688 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. 8-BIT MAGNITUDE COMPARATORS LOW POWER SCHOTTKY CONNECTION DIAGRAMS (TOP VIEW) VCC P=Q 20 19 Q7 P7 Q6 P6 Q5 P5 Q4 P4 18 17 16 15 14 13 12 11 J SUFFIX CERAMIC CASE 732-03 20 1 SN54/74LS682/684 1 2 3 4 5 6 7 8 9 10 P>Q P0 Q0 P1 Q1 P2 Q2 P3 Q3 GND Q7 P7 Q6 P6 Q5 P5 Q4 P4 18 17 16 15 14 13 12 11 VCC P=Q 20 19 N SUFFIX PLASTIC CASE 738-03 20 1 DW SUFFIX SOIC CASE 751D-03 20 1 SN54/74LS688 ORDERING INFORMATION SN54LSXXXJ Ceramic SN74LSXXXN Plastic SN74LSXXXDW SOIC 1 2 3 4 5 6 7 8 9 10 G P0 Q0 P1 Q1 P2 Q2 P3 Q3 GND FUNCTION TABLE INPUTS OUTPUT CONFIGURATION DATA P=Q P>Q OUTPUT ENABLE LS682 yes yes no totem-pole yes LS684 yes yes no totem-pole no LS688 yes no yes totem-pole no TYPE PULLUP OUTPUTS ENABLES P, Q G, GT G2 P=Q P>Q P=Q L L L H P>Q L L H L 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 74 4.5 4.75 5.0 5.0 5.5 5.25 V TA Operating Ambient Temperature Range 54 74 – 55 0 25 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) Limits Symbol VIH Input HIGH Voltage VIL Input LOW Voltage VIK Input Clamp Diode Voltage VOH Output HIGH Voltage VOL Output LOW Voltage IIH Input HIGH Current Max Unit 54 0.7 74 0.8 – 0.65 – 1.5 Test Conditions V Guaranteed Input HIGH Voltage for All Inputs V Guaranteed Input LOW Voltage for All Inputs V VCC = MIN, IIN = – 18 mA 54 2.5 3.5 V 74 2.7 3.5 V VCC = MIN, IOH = MAX, VIN = VIH or VIL per Truth Table VCC = VCC MIN, VIN = VIL or VIH per Truth Table 54, 74 0.25 0.4 V IOL = 12 mA 74 0.35 0.5 V IOL = 24 mA 20 µA VCC = MAX, VIN = 2.7 V 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 Others – 0.2 mA Input LOW Current IOS Short Circuit Current (Note 1) Power Supply Current Typ 2.0 IIL ICC Min Parameter – 130 mA LS682 – 30 70 mA LS684 65 mA 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 VCC = MAX, VIN = 0.4 V VCC = MAX VCC = MAX 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 tPLH tPHL Propagation Delay, P to P = Q 13 15 25 25 ns tPLH tPHL Propagation Delay, Q to P = Q 14 15 25 25 ns tPLH tPHL Propagation Delay, P to P > Q 20 15 30 30 ns tPLH tPHL Propagation Delay, Q to P > Q 21 19 30 30 ns Typ Max Unit Test Conditions VCC = 5.0 V CL = 45 pF RL = 667 Ω SN54/74LS684 Limits Symbol Parameter Min tPLH tPHL Propagation Delay, P to P = Q 15 17 25 25 ns tPLH tPHL Propagation Delay, Q to P = Q 16 15 25 25 ns tPLH tPHL Propagation Delay, P to P > Q 22 17 30 30 ns tPLH tPHL Propagation Delay, Q to P > Q 24 20 30 30 ns Typ Max Unit 18 23 ns Test Conditions VCC = 5.0 V CL = 45 pF RL = 667 Ω SN54/74LS688 Limits Symbol Parameter Min tPLH tPHL Propagation Delay, P to P = Q 12 17 tPLH tPHL Propagation Delay, Q to P = Q 12 17 18 23 ns tPLH tPHL Propagation Delay, G , G1 to P = Q 12 13 18 20 ns FAST AND LS TTL DATA 5-606 Test Conditions VCC = 5.0 V CL = 45 pF RL = 667 Ω Case 751D-03 DW Suffix 20-Pin Plastic SO-20 (WIDE) "! ! " -A11 1 10 ! " # P C -T- " #! D J F K ! #! * * !" $ !" M * R X 45° " " %# G ! " ! -B- ! " 20 & ! ! ° ° ° ° ) ) ) ! Case 732-03 J Suffix 20-Pin Ceramic Dual In-Line "! ! $" '' " # !" " !" " %# 20 " 11 1 10 B L C F N H G D J M K Case 738-03 N Suffix 20-Pin Plastic ! ! ° ° ° ° ! " " ! ( " " B ! ! $ ! ( ! " # ! C -T- L K G ! & 11 E ! 10 1 #! !#! "! -A20 ! $ A " " " N M 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. SYMBOL SW1 SW2 tPLZ Closed Closed tPHZ Closed Closed Literature Distribution Centers: 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. ◊ FAST AND LS TTL DATA 5-608