INTEGRATED CIRCUITS 74F85 4-bit magnitude comparator Product specification IC15 Data Handbook Philips Semiconductors 1994 Sep 27 Philips Semiconductors Product specification 4-bit magnitude comparator 74F85 FEATURES PIN CONFIGURATION • High-impedance NPN base inputs for reduced loading B3 1 16 VCC IA<B 2 15 A3 IA=B 3 14 B2 IA>B 4 13 A2 A>B 5 12 A1 (20µA in High and Low states) • Magnitude comparison of any binary words • Serial or parallel expansion without extra gating DESCRIPTION The 74F85 is a 4-bit magnitude comparator that can be expanded to almost any length. It compares two 4-bit binary, BCD, or other monotonic codes and presents the three possible magnitude results at the outputs. The 4-bit inputs are weighted (A0–A3) and (B0–B3) where A3 and B3 are the most significant bits. The operation of the 74F85 is described in the Function Table, showing all possible logic conditions. The upper part of the table describes the normal operation under all conditions that will occur in a single device or in a series expansion scheme. In the upper part of the table the three outputs are mutually exclusive. In the lower part of the table, the outputs reflect the feed-forward conditions that exist in the parallel expansion scheme. The expansion inputs IA>B, and IA=B and IA<B are the least significant bit positions. When used for series expansion, the A>B, A=B and A<B outputs of the lease significant word are connected to the corresponding IA>B, IA=B and IA<B inputs of the next higher stage. Stages can be added in this manner to any length, but a propagation delay penalty of about 15ns is added with each additional stage. For proper operation, the expansion inputs of the least significant word should be tied as follows: IA>B = Low, IA=B = High, and IA<B = Low. A=B 6 11 B1 A<B 7 10 A0 GND 8 9 B0 SF00075 TYPE TYPICAL PROPAGATION DELAY TYPICAL SUPPLY CURRENT (TOTAL) 74F85 7.0ns 40mA ORDERING INFORMATION DESCRIPTION COMMERCIAL RANGE VCC = 5V ±10%, Tamb = 0°C to +70°C PKG DWG # 16-pin plastic DIP N74F85N SOT38-4 16-pin plastic SO N74F85D SOT162-1 INPUT AND OUTPUT LOADING AND FAN OUT TABLE 74F (U.L.) HIGH/LOW LOAD VALUE HIGH/LOW A0–A3 PINS Comparing inputs DESCRIPTION 1.0/0.033 20µA/20µA B0–B3 Comparing inputs 1.0/0.033 20µA/20µA IA<B, IA=B, IA>B Expansion inputs (active High) 1.0/0.033 20µA/20µA A<B, A=B, A>B Data outputs (active High) 50/33 1.0mA/20mA NOTE: One (1.0) FAST unit load is defined as: 20µA in the High state and 0.6mA in the Low state. LOGIC SYMBOL 10 12 IEC/IEEE SYMBOL 13 15 9 11 14 1 10 0 COMP 12 P 13 A0 2 A1 A2 A3 B0 B1 B2 15 B3 9 IA<B 3 0 P<Q 11 3 4 IA=B 1 IA>B A>B A=B A<B 2 3 VCC = Pin 16 GND = Pin 8 4 5 6 P>Q 6 5 3 < = > 7 SF00076 September 27, 1994 P=Q Q 14 7 SF00077 2 853–0055 13903 Philips Semiconductors Product specification 4-bit magnitude comparator 74F85 LOGIC DIAGRAM A3 B3 15 1 5 A>B A2 B2 IA<B IA=B IA>B A1 B1 13 14 2 6 3 A=B 4 12 11 7 A<B A0 B0 10 9 VCC = Pin 16 GND = Pin 8 SF00078 FUNCTION TABLE COMPARING INPUTS EXPANSION INPUTS OUTPUTS A3,B3 A2,B2 A1,B1 A0,B0 IA>B IA<B IA=B A>B A<B A=B A3>B3 X X X X X X H L L A3<B3 X X X X X X L H L A3=B3 A2>B2 X X X X X H L L A3=B3 A2<B2 X X X X X L H L A3=B3 A2=B2 A1>B1 X X X X H L L A3=B3 A2=B2 A1<B1 X X X X L H L A3=B3 A2=B2 A1=B1 A0>B0 X X X H L L A3=B3 A2=B2 A1=B1 A0<B0 X X X L H L A3=B3 A2=B2 A1=B1 A0=B0 H L L H L L A3=B3 A2=B2 A1=B1 A0=B0 L H L L H L A3=B3 A2=B2 A1=B1 A0=B0 L L H L L H A3=B3 A2=B2 A1=B1 A0=B0 X X H L L H A3=B3 A2=B2 A1=B1 A0=B0 H H L L L L A3=B3 A2=B2 H = High voltage level L = Low voltage level X = Don’t care A1=B1 A0=B0 L L L H H L September 27, 1994 3 Philips Semiconductors Product specification 4-bit magnitude comparator 74F85 APPLICATION The parallel expansion scheme shown in Figure 1 demonstrates the most efficient general use of these comparators. The expansion inputs can be used as a fifth input bit position except on the least significant device, which must be connected as in the serial scheme. The expansion inputs used by labeling IA>B as an “A” input, IA<B as a “B” input and setting IA=B = Low. The 74F85 can be used as a 5-bit comparator only when the outputs are used to drive the (A0–A3) and (B0–B3) inputs of another 74F85 device. The parallel technique can be expanded to any number of bits as shown in Table 1. INPUTS (LSB) B23 B3 A23 A3 B22 B2 A22 B21 A2 B1 A<B A21 A1 A=B B20 B0 A>B A20 A0 B19 IA<B L A19 Table 1. IA=B IA>B B18 B3 A18 A3 B17 B2 A17 A2 B16 B1 A<B A16 B15 A1 B0 A=B A>B A15 A0 B14 L NC IA<B IA=B A14 IA>B B13 B3 B3 A13 B12 A3 B2 A3 B2 A12 A2 B11 B1 A<B A11 A1 A=B B10 B0 A>B A10 B9 A0 A2 NC A<B A1 A=B B0 A>B A=B A9 IA=B IA>B B8 B3 A8 A3 B7 A7 B2 A2 B6 B1 A<B A6 A1 A=B B5 B0 A>B A5 A0 B4 OUTPUTS B1 A0 A<B IA<B L A>B NC IA<B L (LSB) NC IA=B A4 IA>B B3 B3 A3 A3 B2 B2 A2 A2 B1 A1 B1 A1 A<B A=B B0 B0 A>B A0 A0 L H IA<B L IA>B IA=B SF00079 Figure 1. Comparison of Two 24-Bit Words September 27, 1994 4 WORD LENGTH NUMBER OF PACKAGES TYPICAL SPEEDS 74F 1–4 bits 1 12ns 5–24 bits 2–6 22ns 25–120 bits 8–31 34ns Philips Semiconductors Product specification 4-bit magnitude comparator 74F85 ABSOLUTE MAXIMUM RATINGS (Operation beyond the limits set forth in this table may impair the useful life of the device. Unless otherwise noted these limits are over the operating free-air temperature range.) SYMBOL PARAMETER RATING UNIT VCC Supply voltage –0.5 to +7.0 V VIN Input voltage –0.5 to +7.0 V IIN Input current –30 to +5 mA VOUT Voltage applied to output in High output state –0.5 to VCC V IOUT Current applied to output in Low output state Tamb Operating free-air temperature range Tstg Storage temperature range 40 mA 0 to +70 °C –65 to +150 °C RECOMMENDED OPERATING CONDITIONS LIMITS SYMBOL PARAMETER UNIT MIN NOM MAX 5.0 5.5 VCC Supply voltage 4.5 V VIH High-level input voltage 2.0 VIL Low-level input voltage 0.8 V IIK Input clamp current –18 mA IOH High-level output current –1 mA IOL Low-level output current 20 mA Tamb Operating free-air temperature range +70 °C V 0 DC ELECTRICAL CHARACTERISTICS (Over recommended operating free-air temperature range unless otherwise noted.) SYMBOL TEST CONDITIONS1 PARAMETER TYP2 MAX UNIT VCC = MIN, VIL = MAX ±10%VCC 2.5 VIH = MIN, IOH = MAX ±5%VCC 2.7 VCC = MIN, VIL = MAX ±10%VCC 0.30 0.50 VIH = MIN, IOL = MAX ±5%VCC 0.30 0.50 –0.73 –1.2 V 100 µA 20 µA VOH O High level output voltage High-level VOL O Low level output voltage Low-level VIK Input clamp voltage VCC = MIN, II = IIK II Input current at maximum input voltage VCC = 0.0V, VI = 7.0V IIH High-level input current VCC = MAX, VI = 2.7V IIL Low-level input current VCC = MAX, VI = 0.5V IOS Short-circuit output current3 VCC = MAX ICC Supply current (total) V 3.4 –60 ICCH ICCL LIMITS MIN VCC = MAX V –20 µA –150 mA VIN = GND 36 50 An = Bn = IA=B = GND, IA>B= IA<B = 4.5V 40 54 mA NOTES: 1. For conditions shown as MIN or MAX, use the appropriate value specified under recommended operating conditions for the applicable type. 2. All typical values are at VCC = 5V, Tamb = 25°C. 3. Not more than one output should be shorted at a time. For testing IOS, the use of high-speed test apparatus and/or sample-and-hold techniques are preferable in order to minimize internal heating and more accurately reflect operational values. Otherwise, prolonged shorting of a High output may raise the chip temperature well above normal and thereby cause invalid readings in other parameter tests. In any sequence of parameter tests, IOS tests should be performed last. September 27, 1994 5 Philips Semiconductors Product specification 4-bit magnitude comparator 74F85 AC ELECTRICAL CHARACTERISTICS LIMITS SYMBOL TEST CONDITION PARAMETER VCC = +5.0V ± 10% Tamb = 0°C to +70°C CL = 50pF, RL = 500Ω VCC = +5.0V Tamb = +25°C CL = 50pF, RL = 500Ω MIN TYP MAX MIN MAX UNIT tPLH tPHL Propagation delay A or B to A<B, A>B Waveform 1 3 logic levels 6.0 7.0 8.5 9.5 11.0 14.0 5.5 6.5 13.0 15.5 ns tPLH tPHL Propagation delay A or B to A=B Waveform 1 4 logic levels 6.5 7.0 9.0 9.5 11.5 14.0 6.0 6.5 14.0 14.5 ns tPLH tPHL Propagation delay IA<B and IA=B to A>B Waveform 1 1 logic level 3.0 3.0 5.0 6.0 7.5 9.0 2.5 2.5 9.0 10.0 ns tPLH tPHL Propagation delay IA=B to A=B Waveform 1 2 logic levels 2.5 3.5 4.5 7.5 7.0 10.0 2.0 2.5 9.0 12.0 ns tPLH tPHL Propagation delay IA>B and IA=B to A<B Waveform 1 1 logic level 3.0 3.0 5.0 6.0 8.0 9.0 3.0 2.0 9.5 9.5 ns AC WAVEFORMS VIN VM VM tPHL tPLH VOUT VM VM SF00080 Waveform 1. Propagation Delay Input to Output NOTE: For all waveforms, VM = 1.5V. TEST CIRCUIT AND WAVEFORMS VCC NEGATIVE PULSE VIN tw 90% VM D.U.T. RT CL RL AMP (V) VM 10% VOUT PULSE GENERATOR 90% 10% tTHL (tf ) tTLH (tr ) tTLH (tr ) tTHL (tf ) 0V AMP (V) 90% 90% POSITIVE PULSE DEFINITIONS: RL = Load resistor; see AC ELECTRICAL CHARACTERISTICS for value. CL = Load capacitance includes jig and probe capacitance; see AC ELECTRICAL CHARACTERISTICS for value. RT = Termination resistance should be equal to ZOUT of pulse generators. VM VM 10% Test Circuit for Totem-Pole Outputs 10% tw 0V Input Pulse Definition INPUT PULSE REQUIREMENTS family amplitude VM 74F 3.0V 1.5V rep. rate 1MHz tw tTLH tTHL 500ns 2.5ns 2.5ns SF00006 September 27, 1994 6 Philips Semiconductors Product specification 4-bit magnitude comparator 74F85 DIP16: plastic dual in-line package; 16 leads (300 mil) 1994 Sep 27 7 SOT38-4 Philips Semiconductors Product specification 4-bit magnitude comparator 74F85 SO16: plastic small outline package; 16 leads; body width 7.5 mm 1994 Sep 27 8 SOT162-1 Philips Semiconductors Product specification 4-bit magnitude comparator 74F85 NOTES 1994 Sep 27 9 Philips Semiconductors Product specification 4-bit magnitude comparator 74F85 Data sheet status Data sheet status Product status Definition [1] Objective specification Development This data sheet contains the design target or goal specifications for product development. Specification may change in any manner without notice. Preliminary specification Qualification This data sheet contains preliminary data, and supplementary data will be published at a later date. Philips Semiconductors reserves the right to make chages at any time without notice in order to improve design and supply the best possible product. Product specification Production This data sheet contains final specifications. Philips Semiconductors reserves the right to make changes at any time without notice in order to improve design and supply the best possible product. [1] Please consult the most recently issued datasheet before initiating or completing a design. Definitions Short-form specification — The data in a short-form specification is extracted from a full data sheet with the same type number and title. For detailed information see the relevant data sheet or data handbook. Limiting values definition — Limiting values given are in accordance with the Absolute Maximum Rating System (IEC 134). Stress above one or more of the limiting values may cause permanent damage to the device. These are stress ratings only and operation of the device at these or at any other conditions above those given in the Characteristics sections of the specification is not implied. Exposure to limiting values for extended periods may affect device reliability. Application information — Applications that are described herein for any of these products are for illustrative purposes only. Philips Semiconductors make no representation or warranty that such applications will be suitable for the specified use without further testing or modification. Disclaimers Life support — These products are not designed for use in life support appliances, devices or systems where malfunction of these products can reasonably be expected to result in personal injury. Philips Semiconductors customers using or selling these products for use in such applications do so at their own risk and agree to fully indemnify Philips Semiconductors for any damages resulting from such application. Right to make changes — Philips Semiconductors reserves the right to make changes, without notice, in the products, including circuits, standard cells, and/or software, described or contained herein in order to improve design and/or performance. Philips Semiconductors assumes no responsibility or liability for the use of any of these products, conveys no license or title under any patent, copyright, or mask work right to these products, and makes no representations or warranties that these products are free from patent, copyright, or mask work right infringement, unless otherwise specified. Copyright Philips Electronics North America Corporation 1998 All rights reserved. Printed in U.S.A. Philips Semiconductors 811 East Arques Avenue P.O. Box 3409 Sunnyvale, California 94088–3409 Telephone 800-234-7381 print code Document order number: yyyy mmm dd 10 Date of release: 10-98 9397-750-05067