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. 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 OUTPUT CONFIGURATION http://onsemi.com LOW POWER SCHOTTKY PULLUP 20 GUARANTEED OPERATING RANGES Symbol VCC Parameter Supply Voltage Min Typ Max Unit 4.75 5.0 5.25 V 0 25 70 °C TA Operating Ambient Temperature Range IOH Output Current – High – 0.4 mA IOL Output Current – Low 24 mA 1 PLASTIC N SUFFIX CASE 738 20 1 SOIC DW SUFFIX CASE 751D ORDERING INFORMATION Device SN74LS682N SN74LS682DW SN74LS684N SN74LS684DW SN74LS688N SN74LS688DW Semiconductor Components Industries, LLC, 1999 December, 1999 – Rev. 6 1 Package Shipping 16 Pin DIP 1440 Units/Box 16 Pin 2500/Tape & Reel 16 Pin DIP 1440 Units/Box 16 Pin 2500/Tape & Reel 16 Pin DIP 1440 Units/Box 16 Pin 2500/Tape & Reel Publication Order Number: SN74LS682/D SN74LS682 SN74LS684 SN74LS688 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 8 P3 9 Q3 10 GND SN74LS682/684 1 P>Q 2 P0 VCC P=Q 20 19 3 Q0 4 P1 5 Q1 6 P2 7 Q2 Q7 P7 Q6 P6 Q5 P5 Q4 P4 18 17 16 15 14 13 12 11 7 Q2 8 P3 9 Q3 10 GND SN74LS688 1 G 2 P0 3 Q0 4 P1 5 Q1 6 P2 FUNCTION TABLE INPUTS DATA 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 http://onsemi.com 2 SN74LS682 SN74LS684 SN74LS688 DC CHARACTERISTICS OVER OPERATING TEMPERATURE RANGE (unless otherwise specified) Limits Symbol Parameter VIH Input HIGH Voltage VIL Input LOW Voltage VIK Input Clamp Diode Voltage VOH Output HIGH Voltage VOL O Output LOW Voltage IIH Input HIGH Current Min Typ Max 2.0 0.8 – 0.65 2.7 – 1.5 3.5 Unit Test Conditions V Guaranteed Input HIGH Voltage for All Inputs V Guaranteed Input LOW Voltage for All Inputs V VCC = MIN, IIN = – 18 mA V VCC = MIN, IOH = MAX, VIN = VIH or VIL per Truth Table VCC = VCC MIN, VIN = VIL or VIH per Truth Table 0.25 0.4 V IOL = 12 mA 0.35 0.5 V IOL = 24 mA 20 µA VCC = MAX, VIN = 2.7 V LS682-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 – 130 mA LS682 70 mA LS684 65 mA LS688 65 mA IIL Input LOW Current IOS Short Circuit Current (Note 1) ICC Power S P Supply l Current – 30 Note 1: Not more than one output should be shorted at a time, nor for more than 1 second. http://onsemi.com 3 VCC = MAX, MAX VIN = 0 0.4 4V VCC = MAX VCC = MAX SN74LS682 SN74LS684 SN74LS688 LOGIC DIAGRAMS P7 Q7 P6 Q6 P5 Q5 P4 Q4 P3 Q3 P2 Q2 P1 Q1 P0 Q0 (17) (18) P7 (15) (16) Q7 (13) (14) P6 (11) (12) Q6 (19) (8) (9) P=Q P5 (6) (7) Q5 (4) (5) P4 (2) (3) Q4 P3 Q3 P2 Q2 P1 Q1 (1) P>Q P0 Q0 G (17) (18) (15) (16) (13) (14) (11) (12) (19) (8) P=Q (9) (6) (7) (4) (5) (2) (3) (1) SN74LS682 and LS684 SN74LS688 http://onsemi.com 4 SN74LS682 SN74LS684 SN74LS688 AC CHARACTERISTICS (TA = 25°C) SN74LS682 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 F RL = 667 Ω SN74LS684 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 F RL = 667 Ω SN74LS688 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 18 20 ns 13 http://onsemi.com 5 Test Conditions VCC = 5.0 V CL = 45 pF RL = 667 Ω SN74LS682 SN74LS684 SN74LS688 PACKAGE DIMENSIONS N SUFFIX PLASTIC PACKAGE CASE 738–03 ISSUE E –A– 20 11 1 10 NOTES: 1. DIMENSIONING AND TOLERANCING PER ANSI Y14.5M, 1982. 2. CONTROLLING DIMENSION: INCH. 3. DIMENSION L TO CENTER OF LEAD WHEN FORMED PARALLEL. 4. DIMENSION B DOES NOT INCLUDE MOLD FLASH. B L C –T– K SEATING PLANE M N E G F J D 0.25 (0.010) 20 PL 0.25 (0.010) 20 PL M T A M http://onsemi.com 6 M T B M DIM A B C D E F G J K L M N INCHES MIN MAX 1.010 1.070 0.240 0.260 0.150 0.180 0.015 0.022 0.050 BSC 0.050 0.070 0.100 BSC 0.008 0.015 0.110 0.140 0.300 BSC 0_ 15 _ 0.020 0.040 MILLIMETERS MIN MAX 25.66 27.17 6.10 6.60 3.81 4.57 0.39 0.55 1.27 BSC 1.27 1.77 2.54 BSC 0.21 0.38 2.80 3.55 7.62 BSC 0_ 15_ 0.51 1.01 SN74LS682 SN74LS684 SN74LS688 PACKAGE DIMENSIONS D SUFFIX PLASTIC SOIC PACKAGE CASE 751D–05 ISSUE F q A 20 X 45 _ M E h 0.25 1 10 20X B B 0.25 M T A S B S A L H 10X NOTES: 1. DIMENSIONS ARE IN MILLIMETERS. 2. INTERPRET DIMENSIONS AND TOLERANCES PER ASME Y14.5M, 1994. 3. DIMENSIONS D AND E DO NOT INCLUDE MOLD PROTRUSION. 4. MAXIMUM MOLD PROTRUSION 0.15 PER SIDE. 5. DIMENSION B DOES NOT INCLUDE DAMBAR PROTRUSION. ALLOWABLE PROTRUSION SHALL BE 0.13 TOTAL IN EXCESS OF B DIMENSION AT MAXIMUM MATERIAL CONDITION. 11 B M D 18X e A1 SEATING PLANE DIM A A1 B C D E e H h L q C T http://onsemi.com 7 MILLIMETERS MIN MAX 2.35 2.65 0.10 0.25 0.35 0.49 0.23 0.32 12.65 12.95 7.40 7.60 1.27 BSC 10.05 10.55 0.25 0.75 0.50 0.90 0_ 7_ SN74LS682 SN74LS684 SN74LS688 ON Semiconductor and are trademarks of Semiconductor Components Industries, LLC (SCILLC). SCILLC reserves the right to make changes without further notice to any products herein. SCILLC makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does SCILLC 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 special, consequential or incidental damages. “Typical” parameters which may be provided in SCILLC data sheets and/or specifications can and do vary in different applications and actual performance may vary over time. All operating parameters, including “Typicals” must be validated for each customer application by customer’s technical experts. SCILLC does not convey any license under its patent rights nor the rights of others. SCILLC 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 SCILLC product could create a situation where personal injury or death may occur. Should Buyer purchase or use SCILLC products for any such unintended or unauthorized application, Buyer shall indemnify and hold SCILLC 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 SCILLC was negligent regarding the design or manufacture of the part. SCILLC is an Equal Opportunity/Affirmative Action Employer. PUBLICATION ORDERING INFORMATION North America Literature Fulfillment: Literature Distribution Center for ON Semiconductor P.O. Box 5163, Denver, Colorado 80217 USA Phone: 303–675–2175 or 800–344–3860 Toll Free USA/Canada Fax: 303–675–2176 or 800–344–3867 Toll Free USA/Canada Email: [email protected] ASIA/PACIFIC: LDC for ON Semiconductor – Asia Support Phone: 303–675–2121 (Tue–Fri 9:00am to 1:00pm, Hong Kong Time) Toll Free from Hong Kong 800–4422–3781 Email: ONlit–[email protected] N. American Technical Support: 800–282–9855 Toll Free USA/Canada EUROPE: LDC for ON Semiconductor – European Support German Phone: (+1) 303–308–7140 (M–F 2:30pm to 5:00pm Munich Time) Email: ONlit–[email protected] French Phone: (+1) 303–308–7141 (M–F 2:30pm to 5:00pm Toulouse Time) Email: ONlit–[email protected] English Phone: (+1) 303–308–7142 (M–F 1:30pm to 5:00pm UK Time) Email: [email protected] JAPAN: ON Semiconductor, Japan Customer Focus Center 4–32–1 Nishi–Gotanda, Shinagawa–ku, Tokyo, Japan 141–8549 Phone: 81–3–5487–8345 Email: [email protected] Fax Response Line: 303–675–2167 800–344–3810 Toll Free USA/Canada ON Semiconductor Website: http://onsemi.com For additional information, please contact your local Sales Representative. http://onsemi.com 8 SN74LS682/D