HD74HC682/HD74HC684 8-bit Magnitude Comparator Description These magnitude comparators perform comparisons of two eight-bit binary or BCD words. All types provide P=Q outputs and provide P>Q outputs. The HD74HC682 features 20 k pullup termination resistors on the Q inputs for analog or switch data. Type P=Q P>Q Output Enable 20 kΩ Pullup HD74HC682 Yes Yes No Yes HD74HC684 Yes Yes No No Features • • • • • High Speed Operation High Output Current: Fanout of 10 LSTTL Loads Wide Operating Voltage: VCC = 2 to 6 V Low Input Current: 1 µA max Low Quiescent Supply Current: ICC (static) = 4 µA max (Ta = 25°C) Function Table Input Data Outputs P, Q P=Q P>Q P=Q L H P>Q H L H H P<Q Note: 1. The P<Q function can be generated by applying the P=Q and P>Q Outputs to a 2-input NAND gate. HD74HC682/HD74HC684 Pin Arrangement HD74HC682/HD74HC684 P>Q 1 20 VCC P0 2 19 P=Q Q0 3 18 Q7 P1 4 17 P7 Q1 5 16 Q6 P2 6 15 P6 Q2 7 14 Q5 P3 8 13 P5 Q3 9 12 Q4 GND 10 11 P4 (Top view) 2 HD74HC682/HD74HC684 Logic Diagram HD74HC682/HD74HC684 P0 P=Q Q0 P1 Q1 VCC P2 Q2 P>Q P3 Q3 P4 Q4 VCC P5 Q5 P6 Q6 P7 Q7 VCC 3 HD74HC682/HD74HC684 DC Characteristics Ta = –40 to +85°C Ta = 25°C Item Symbol VCC (V) Min Typ Max Min Max Unit Input voltage VIH 2.0 1.5 — — 1.5 — V 4.5 3.15 — — 3.15 — 6.0 4.2 — — 4.2 — 2.0 — — — 0.5 — 4.5 — — 1.35 — 1.35 6.0 — — 1.8 — 1.8 2.0 1.9 2.0 — 1.9 — 4.5 4.4 4.5 — 4.4 — 6.0 5.9 6.0 — 5.9 — 4.5 4.18 — — 4.13 — I OH = –4 mA 6.0 5.68 — — 5.63 — I OH = –5.2 mA 2.0 — 0.0 0.1 — 0.1 4.5 — 0.0 0.1 — 0.1 6.0 — 0.0 0.1 — 0.1 4.5 — — 0.26 — 0.33 I OL = 4 mA 6.0 — — 0.26 — 0.33 I OL = 5.2 mA VIL Output voltage VOH VOL Test Conditions V V V Vin = VIH or VIL I OH = –20 µA Vin = VIH or VIL I OL = 20 µA Input current (HC684) Iin 6.0 — — ±0.1 — ±1.0 µA Vin = VCC or GND Quiescent supply current (HC684) I CC 6.0 — — 4.0 40 µA Vin = VCC or GND, Iout = 0 µA Input current Iin 6.0 — — ±0.1 — ±1.0 µA Vin = VCC –0.6 –0.7 mA Iin = GND (HD682) Quescent supply current (HC682) 4 I CC 6.0 — — — 4.8 — 5.6 mA Qn = GND, other inputs = V CC or GND Iout = 0 µA — — 4.0 — 40 µA Qn = VCC, other inputs = V CC or GND Iout = 0 µA HD74HC682/HD74HC684 AC Characteristics (CL = 50 pF, Input tr = tf = 6 ns) Ta = –40 to +85°C Ta = 25°C VCC (V) Min Typ Max Min Max Unit Test Conditions Propagation delay t PLH 2.0 — — 175 — 220 ns P or Q to P=Q time 4.5 — — 35 — 44 6.0 — — 30 — 37 t PLH 2.0 — — 200 — 250 ns P or Q to P>Q t PHL 4.5 — — 40 — 50 6.0 — — 34 — 43 Item Symbol t PHL Output rise/fall t TLH 2.0 — — 60 — 75 time t THL 4.5 — — 12 — 15 6.0 — — 10 — 13 — — 5 10 — 10 Input capacitance Cin ns pF 5 Unit: mm 24.50 25.40 Max 6.30 11 1 7.00 Max 20 10 1.30 2.54 ± 0.25 0.48 ± 0.10 0.51 Min 1.27 Max 2.54 Min 5.08 Max 0.89 7.62 + 0.11 0.25 – 0.05 0° – 15° Hitachi Code JEDEC EIAJ Weight (reference value) DP-20N — Conforms 1.26 g Cautions 1. Hitachi neither warrants nor grants licenses of any rights of Hitachi’s or any third party’s patent, copyright, trademark, or other intellectual property rights for information contained in this document. Hitachi bears no responsibility for problems that may arise with third party’s rights, including intellectual property rights, in connection with use of the information contained in this document. 2. Products and product specifications may be subject to change without notice. Confirm that you have received the latest product standards or specifications before final design, purchase or use. 3. Hitachi makes every attempt to ensure that its products are of high quality and reliability. However, contact Hitachi’s sales office before using the product in an application that demands especially high quality and reliability or where its failure or malfunction may directly threaten human life or cause risk of bodily injury, such as aerospace, aeronautics, nuclear power, combustion control, transportation, traffic, safety equipment or medical equipment for life support. 4. Design your application so that the product is used within the ranges guaranteed by Hitachi particularly for maximum rating, operating supply voltage range, heat radiation characteristics, installation conditions and other characteristics. Hitachi bears no responsibility for failure or damage when used beyond the guaranteed ranges. Even within the guaranteed ranges, consider normally foreseeable failure rates or failure modes in semiconductor devices and employ systemic measures such as failsafes, so that the equipment incorporating Hitachi product does not cause bodily injury, fire or other consequential damage due to operation of the Hitachi product. 5. This product is not designed to be radiation resistant. 6. No one is permitted to reproduce or duplicate, in any form, the whole or part of this document without written approval from Hitachi. 7. Contact Hitachi’s sales office for any questions regarding this document or Hitachi semiconductor products. Hitachi, Ltd. Semiconductor & Integrated Circuits. Nippon Bldg., 2-6-2, Ohte-machi, Chiyoda-ku, Tokyo 100-0004, Japan Tel: Tokyo (03) 3270-2111 Fax: (03) 3270-5109 URL NorthAmerica : http:semiconductor.hitachi.com/ Europe : http://www.hitachi-eu.com/hel/ecg Asia (Singapore) : http://www.has.hitachi.com.sg/grp3/sicd/index.htm Asia (Taiwan) : http://www.hitachi.com.tw/E/Product/SICD_Frame.htm Asia (HongKong) : http://www.hitachi.com.hk/eng/bo/grp3/index.htm Japan : http://www.hitachi.co.jp/Sicd/indx.htm For further information write to: Hitachi Semiconductor (America) Inc. 179 East Tasman Drive, San Jose,CA 95134 Tel: <1> (408) 433-1990 Fax: <1>(408) 433-0223 Hitachi Europe GmbH Electronic components Group Dornacher Stra§e 3 D-85622 Feldkirchen, Munich Germany Tel: <49> (89) 9 9180-0 Fax: <49> (89) 9 29 30 00 Hitachi Europe Ltd. Electronic Components Group. Whitebrook Park Lower Cookham Road Maidenhead Berkshire SL6 8YA, United Kingdom Tel: <44> (1628) 585000 Fax: <44> (1628) 778322 Hitachi Asia Pte. Ltd. 16 Collyer Quay #20-00 Hitachi Tower Singapore 049318 Tel: 535-2100 Fax: 535-1533 Hitachi Asia Ltd. Taipei Branch Office 3F, Hung Kuo Building. No.167, Tun-Hwa North Road, Taipei (105) Tel: <886> (2) 2718-3666 Fax: <886> (2) 2718-8180 Hitachi Asia (Hong Kong) Ltd. Group III (Electronic Components) 7/F., North Tower, World Finance Centre, Harbour City, Canton Road, Tsim Sha Tsui, Kowloon, Hong Kong Tel: <852> (2) 735 9218 Fax: <852> (2) 730 0281 Telex: 40815 HITEC HX Copyright ' Hitachi, Ltd., 1999. All rights reserved. Printed in Japan.