ee FAIRCHILD ee SEMICONDUCTOR DM74LS85 4-Bit Magnitude Comparators General Description These 4-bit magnitude comparators perform comparison of straight binary or BCD codes. Three fully-decoded decisions about two, 4-bit words (A, B) are made and are externally available at three outputs. These devices are fully expand- able to any number of bits without external gates. Words of greater length may be compared by connecting comparators in cascade. The A> B, A< B, and A = B outputs of a stage handling less-significant bits are connected to the corre- sponding inputs of the next stage handling more-significant bits. The stage handling the least-significant bits must have March 1998 a high-level voltage applied to the A = B input. The cascad- ing path is implemented with only a two-gate-level delay to reduce overall comparison times for long words. Features @ Typical power dissipation 52 mW @ Typical delay (4-bit words) 24 ns @ Alternate Military/Aerospace device (54LS85) is available. Contact a Fairchild Semiconductor Sales Office/Distributor for specifications. Connection Diagram Dual-In-Line Package DATA INPUTS. Voc AS) B22. 16 1 fia [13 taza to | 9 ? 2 3 4 5 6 7 8 B3 AcB A=B A>B A>B A=B AB AB A B3 Xx Xx Xx Xx Xx Xx H L L A3 < B3 Xx Xx Xx Xx Xx Xx L H L A3 = B3 A2 > B2 Xx Xx Xx Xx Xx H L L A3 = B3 A2 < B2 Xx Xx Xx Xx Xx L H L A3 = B3 A2 = B2 Al > Bt Xx Xx Xx Xx H L L A3 = B3 A2 = B2 Al < Bt Xx Xx Xx Xx L H L A3 = B3 A2 = B2 A1 =B1 AO > BO Xx Xx Xx H L L A3 = B3 A2 = B2 A1 =B1 AO < BO Xx Xx Xx L H L A3 = B3 A2 = B2 A1 =B1 AO = BO H L L H L L A3 = B3 A2 = B2 A1 =B1 AO = BO L H L L H L A3 = B3 A2 = B2 A1 =B1 AO = BO L L H L L H A3 = B3 A2 = B2 A1 = B14 AO = BO Xx Xx H L L H A3 = B3 A2 = B2 Al = B1 AO = BO H H L L L L A3 = B3 A2 = B2 Al = B1 AO = BO L L L H H L H = High Level, L = Low Level, X = Dont Care www fairchildsemi.comAbsolute Maximum Ratings (note 1) Supply Voltage Input Voltage Operating Free Air Temperature Range 7V 7V Recommended Operating Conditions DM54LS and 54LS DM74LS Storage Temperature Range -55C to +125C 0C to +70C -65C to +150C Symbol Parameter DM54LS85 DM74LS85 Units Min Nom Max Min Nom Max Voc Supply Voltage 45 5 5.5 4.75 5 5.25 Vv Vin High Level Input Voltage 2 2 Vv ViL Low Level Input Voltage 0.7 0.8 Vv lou High Level Output Current -0.4 -0.4 mA lot Low Level Output Current 4 8 mA Ta Free Air Operating Temperature -55 125 0 70 C Note 1: The Absolute Maximum Ratings are those values beyond which the safety of the device cannot be guaranteed. The device should not be operated at these limits. The parametric values defined in the Electrical Characteristics table are not guaranteed at the absolute maximum ratings. The Recommended Operating Conditions table will define the conditions for actual device operation. Electrical Characteristics over recommended operating free air temperature range (unless otherwise noted) Symbol Parameter Conditions Min Typ Max Units (Note 2) Vv, Input Clamp Voltage Veco = Min, |, = -18 mA -1.5 Vv Vou High Level Output Veco = Min, loy = Max DM54 2.5 3.4 Vv Voltage Vit = Max, Viy = Min DM74 27 3.4 VoL Low Level Output Voc = Min, lo, = Max DM54 0.25 0.4 Voltage Vit = Max, Viy = Min DM74 0.35 0.5 Vv lo. = 4.MA, Voc = Min DM74 0.25 0.4 I, Input Current @ Max Veco = Max AB 0.1 mA Others 0.3 lia High Level Input Veco = Max AB 20 HA Others 60 liv Low Level Input Veco = Max AB -0.4 mA Others -1.2 log Short Circuit Veco = Max DM54 -20 -100 mA Output Current (Note 3) DM74 -20 -100 loc Supply Current Vec = Max (Note 4) 10 20 mA Note 2: All typicals are at Voc = 5V, Ta = 25C. Note 3: Not more than one output should be shorted at a time, and the duration should not exceed one second. Note 4: loc is measured with all outputs open, A = B grounded and all other inputs at 4.5V. www fairchildsemi.comSwitching Characteristics at Vec = 5V and T, = 25C From To Number of R, = 2kQ Symbol Parameter Input Output | Gate Levels C, = 15 pF C, = 50 pF Units Min Max Min Max teLy Propagation Delay Time Any AorB AB ns A=B 4 40 40 teu Propagation Delay Time Any AorB AB ns A=B 4 30 40 teLy Propagation Delay Time AB 4 22 26 ns Low-to-High Level Output orA=B teu Propagation Delay Time AB 4 17 26 ns High-to-Low Level Output orA=B teLy Propagation Delay Time A=B A=B 2 20 25 ns Low-to-High Level Output teu Propagation Delay Time A=B A=B 2 17 26 ns High-to-Low Level Output teLy Propagation Delay Time A>B AB AB A2 B2 Al A| k- Tye 0.005 [0.94+0.15] 0.290-0.520_| 113) a} bee 0.055 4 0.005 7.37-B.13 dn tye | rT | ft Traoaocrgy TYP GLASS SEALANT t 0.020-0.060 +75 t 0.208 a 4 [0.51-1.52] 0 189 WAX ] vane = E 0.010 + 0.002 TYP t | 1 i | [alee MIN TYP t I ) [0.25 0.05] 0.125-0.200 j Typ 90 4 4 95 45 [3.18-5.08] ae oe 0.080 fof | [2.03] Oa 0.310-0.410 BOTH ENDS 0.018 40.003 0.100 40.010 ~ [o.4620.08] [YP [7.87-10.41] sa eV [2.5440.25] [YP www fairchildsemi.comPhysical DimensiONS inches (millimeters) unless otherwise noted (Continued) 0.386 0.394 (9-804 10.00) 0.228 0.244 30 (5.791 6.198) TYP LEAD NO.1 / IDENT 0.010 max (0.254) 0.150 0.157 *| (3.810 3.988) 0.010 0.020 0.053 0.069 70.254 0508) F Kehr | v - LES FS Eee SEATING Fe } A 4 PLANE 0.008 0.010 0.014 | 0.050 0.0140.020 -0. 7 a55) . : 020 Typ {0.203 0.254) One (0.356) T1270) *! I~ 356 0.508) TYP ALL LEADS (0. f Tye 0.004 TYP ALL LEADS 0.008 1, (0.102) {0.203} MGA (REV H) ALL LEAD TIPS 16-Lead Small Outline Molded Package (M) Order Number DM74LS85M Package Number M16A 0.740 - 0.780 0.090 18.80 - 19.81 -0.090_ ( ) | (2.286) INDEX AREA 0.250 0.010_ (6.350 0.254) PIN NO. 1 4+ PIN NO. 1 IDENT IDENT OPTION 01 OPTION 02 0.068 (1.651) 959 5 0.008 - 0.016 0.130 0.005 0.130%0.005 0.060 4 TYP 0.500- 0,320 j 302802127) 7 [- (52a) TYP ~\ tr OPTIONAL 7 (7.620-8.128) ft { 0.145 0.200 \+ 1 oO gore 4 TYP [0280 (0.203-0.406) 0.030#0.015 12 (3.683 - 5.080) We 0.020 70003-0406) IP 2020 win (0.508) 0.125 0.150 112) (3.175 = 3.810) toa (0.762 0,381) MIN G.014- 0.023 0.100 0.010 +0.040 0.0500 no (2.540 0.254) (0.325 79.015 TYP ao eoen TYP 1.016 NIGE (REV F) (1.2700.254) (8.2557 1,018) TYP . (0.356 = 0.584) 16-Lead Molded Dual-In-Line Package (N) Order Number DM74LS85N Package Number N16E 7 www fairchildsemi.comDM74LS$85 4-Bit Magnitude Comparators Physical DimensioONS inches (millimeters) unless otherwise noted (Continued) 0.050 0.080 Ln 0.371 0.990 (1.270 2,032) (9.423 9.906) 0.0040.006 0.007 0.018 | 0.050 +0.005 (0102 0.15) '*? (0.1780.457) i 1.270=0.127) /*P me =| |<0.000 min TYP 0.250 -0.370 (6.350 9.398) a oY ' A 16151413 1211 10 9 A ' | ip 0.245 0.275 H WAN GLASS (6.223 6.985) { Mt "1 os | 0.008 0.012 DETAIL a>i| * ll (0.203 0.305) PIN NO. 1 0.250-0.370_ DETAIL A IDENT {6.350 9.398) YY 0.026 0.040 LL le 015 0.019 oe S_ ae (o.eso1.016) |? (0.381 0.482 WI6A (REY H) 16-Lead Ceramic Flat Package (W) Order Number 54LS85F Package Number Wi6A LIFE SUPPORT POLICY FAIRCHILDS PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT DE- VICES OR SYSTEMS WITHOUT THE EXPRESS WRITTEN CONDUCTOR CORPORATION. As used herein: 1. Life support devices or systems are devices or sys- tems which, (a) are intended for surgical implant into the body, or (b) support or sustain life, and (c) whose failure to perform when properly used in accordance with instructions for use provided in the labeling, can be reasonably expected to result in a significant injury to the user. MQB or DM54LS85W APPROVAL OF THE PRESIDENT OF FAIRCHILD SEMI- 2. Accritical component in any component of a life support device or system whose failure to perform can be rea- sonably expected to cause the failure of the life support device or system, or to affect its safety or effectiveness. Fairchild Semiconductor Fairchild Semiconductor Corporation Europe Americas Fax: +49 (0) 1 80-530 85 86 Customer Response Center Email: europe.support@nsc.cot Tel: 1-888-522-5372 Deutsch Tel: +49 (0) 8 141-35-0 English Tel: +44 (0) 1 793-85-68-56 Italy Tel: +39 (0) 2 57 5631 www. .fairchildsemi.com National Semiconductor Japan Ltd. Tel: 81-3-5620-6175 Fax: 81-3-5620-6179 Fairchild Semiconductor Hong Kong Ltd. 13th Floor, Straight Block, m Ocean Centre, 5 Canton Rd. Tsimshatsui, Kowloon Hong Kong Tel: +852 2737-7200 Fax: +852 2314-0061 Fairchild does not assume any responsibility for use of any circuitry described, no circuit patent licenses are implied and Fairchild reserves the right at any time without notice to change said circuitry and specifications.