MM54C85/MM74C85 4-Bit Magnitude Comparator General Description Features The MM54C85/MM74C85 is a four-bit magnitude comparator which will perform comparison of straight binary or BCD codes. The circuit consists of eight comparing inputs (A0, A1, A2, A3, B0, B1, B2, B3), three cascading inputs (A l B, A k B and A e B), and three outputs (A l B, A k B and A e B). This device compares two four-bit words (A and B) and determines whether they are ‘‘greater than,’’ ‘‘less than,’’ or ‘‘equal to’’ each other by a high level on the appropriate output. For words greater than four-bits, units can be cascaded by connecting the outputs (A l B, A k B, and A e B) of the least significant stage to the cascade inputs (A l B, A k B and A e B) of the next-significant stage. In addition the least significant stage must have a high level voltage (VIN(1)) applied to the A e B input and low level voltage (VIN(0)) applied to A l B and A k B inputs. Y Y Y Y Y Y Y Wide supply voltage range Guaranteed noise margin High noise immunity Low power TTL compatibility Expandable to ‘N’ stages Applicable to binary or BCD Low power pinout: 54L85/74L85 3.0V to 15V 1.0V 0.4 VCC (typ.) fan out of 2 driving 74L Logic Diagram TL/F/5886 – 1 C1995 National Semiconductor Corporation TL/F/5886 RRD-B30M105/Printed in U. S. A. MM54C85/MM74C85 4-Bit Magnitude Comparator September 1989 Absolute Maximum Ratings (Note 1) Power Dissipation (PD) Dual-In-Line Small Outline If Military/Aerospace specified devices are required, please contact the National Semiconductor Sales Office/Distributors for availability and specifications. Voltage at Any Pin Operating VCC Range b 0.3V to VCC a 0.3V Operating Temperature Range MM54C85 MM74C85 b 55§ C to a 125§ C b 40§ C to a 85§ C Storage Temperature Range b 65§ C to a 150§ C 700 mW 500 mW 3.0V to 15V 18V VCC Lead Temperature (Soldering, 10 seconds) 260§ C DC Electrical Characteristics Min/Max limits apply across temperature range unless otherwise noted Symbol Parameter Conditions Min Typ Max Units CMOS TO CMOS VIN(1) Logical ‘‘1’’ Input Voltage VCC e 5.0V VCC e 10V 3.5 8.0 VIN(0) Logical ‘‘0’’ Input Voltage VCC e 5.0V VCC e 10V VOUT(1) Logical ‘‘1’’ Output Voltage VOUT(0) Logical ‘‘0’’ Output Voltage VCC e 5.0V, IO e b10 mA VCC e 10V, IO e b10 mA VCC e 5.0V, IO e a 10 mA VCC e 10V, IO e a 10 mA IIN(1) Logical ‘‘1’’ Input Current VCC e 15V, VIN e 15V IIN(0) Logical ‘‘0’’ Input Current VCC e 15V, VIN e 0V ICC Supply Current VCC e 15V V V 1.5 2.0 4.5 9.0 V V V V 0.5 1.0 0.005 b 1.0 1.0 b 0.005 V V mA mA 0.05 300 mA CMOS/LPTTL INTERFACE VIN(1) Logical ‘‘1’’ Input Voltage 54C, VCC e 4.5V 74C, VCC e 4.75V VCC b 1.5 VCC b 1.5 V V VIN(0) Logical ‘‘0’’ Input Voltage 54C, VCC e 4.5V 74C, VCC e 4.75V VOUT(1) Logical ‘‘1’’ Output Voltage 54C, VCC e 4.5V, IO e b360 mA 74C, VCC e 4.75V, IO e b360 mA VOUT(0) Logical ‘‘0’’ Output Voltage ISOURCE Output Source Current (P-Channel) VCC e 5.0V, VOUT e 0V TA e 25§ C b 1.75 b 3.3 mA ISOURCE Output Source Current (P-Channel) VCC e 10V, VOUT e 0V TA e 25§ C b 8.0 b 15 mA ISINK Output Sink Current (N-Channel) VCC e 5.0V, VOUT e VCC TA e 25§ C 1.75 3.6 mA ISINK Output Sink Current (N-Channel) VCC e 10V, VOUT e VCC TA e 25§ C 8.0 16 mA 0.8 0.8 2.4 2.4 V V V V 54C, VCC e 4.5V, IO e 360 mA 74C, VCC e 4.75V, IO e 360 mA OUTPUT DRIVE (See 54C/74C Family Characteristics Data Sheet) (Short Circuit Current) 0.4 0.4 V V AC Electrical Characteristics* TA e 25§ C, CL e 50 pF, unless otherwise specified Symbol Parameter Typ Max Units 250 100 600 300 ns ns VCC e 50V VCC e 10V 200 100 500 250 ns ns Input Capacitance Any Inupt 5.0 pF Power Dissipation Capacitance (Note 3) Per Package 45 pF tpd Propagation Delay from any A or B Data Input to any Data Output tpd Propagation Delay Time from any Cascade Input to any Output CIN CPD Conditions VCC e 50V VCC e 10V Min *AC Parameters are guaranteed by DC correlated testing. Note 1: ‘‘Absolute Maximum Ratings’’ are those values beyond which the safety of the device cannot be guaranteed. Except for ‘‘Operating Temperature Range’’ they are not meant to imply that the devices should be operated at these limits. The table of ‘‘Electrical Characteristics’’ provides conditions for actual device operation. Note 2: Capacitance is guaranteed by periodic testing. Note 3: CPD determines the no load AC power consumption of any CMOS device. For complete explanation see 54C/74C Family Characteristics application note, AN-90. 2 Typical Applications Connection Diagram Four Digit Comparator Dual-In-Line Package TL/F/5886 – 3 Top View Order Number MM54C85 or MM74C85 Switching Time Waveforms TL/F/5886 – 4 Unused inputs must be tied to an appropriate logic level. TL/F/5886 – 2 Truth Table Comparing Inputs Cascading Inputs Outputs A3, B3 A2, B2 A1, B1 A0, B0 AlB AkB AeB AlB AkB AeB A3 l B3 A3 k B3 A3 e B3 A3 e B3 A3 e B3 A3 e B3 A3 e B3 A3 e B3 A3 e B3 A3 e B3 A3 e B3 A3 e B3 A3 e B3 A3 e B3 A3 e B3 A3 e B3 X X X X X X X X X X X X X X X X X X X X H L L L H H H L X X X X X X X X L H L H L H H L X X X X X X X X L L H H H H L L H L H L H L H L H L L L H H H L L H L H L H L H L H L H L H H L L L L L L L L L L L H H H H L L A2 l B2 A2 k B2 A2 e B2 A2 e B2 A2 e B2 A2 e B2 A2 e B2 A2 e B2 A2 e B2 A2 e B2 A2 e B2 A2 e B2 A2 e B2 A2 e B2 A1 l B1 A1 k B1 A1 e B1 A1 e B1 A1 e B1 A1 e B1 A1 e B1 A1 e B1 A1 e B1 A1 e B1 A1 e B1 A1 e B1 A0 l B0 A0 k B0 A0 e B0 A0 e B0 A0 e B0 A0 e B0 A0 e B0 A0 e B0 A0 e B0 A0 e B0 H e high level, L e low level, X e irrelevant 3 MM54C85/MM74C85 4-Bit Magnitude Comparator Physical Dimensions inches (millimeters) Ceramic Dual-In-Line Package (J) Order Number MM54C85J or MM74C85J NS Package Number J14A Molded Dual-In-Line Package (N) Order Number MM54C85N or MM74C85N NS Package Number N16E LIFE SUPPORT POLICY NATIONAL’S PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT DEVICES OR SYSTEMS WITHOUT THE EXPRESS WRITTEN APPROVAL OF THE PRESIDENT OF NATIONAL SEMICONDUCTOR CORPORATION. As used herein: 1. Life support devices or systems are devices or systems which, (a) are intended for surgical implant into the body, or (b) support or sustain life, and 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. National Semiconductor Corporation 1111 West Bardin Road Arlington, TX 76017 Tel: 1(800) 272-9959 Fax: 1(800) 737-7018 2. A critical component is any component of a life support device or system whose failure to perform can be reasonably expected to cause the failure of the life support device or system, or to affect its safety or effectiveness. National Semiconductor Europe Fax: (a49) 0-180-530 85 86 Email: cnjwge @ tevm2.nsc.com Deutsch Tel: (a49) 0-180-530 85 85 English Tel: (a49) 0-180-532 78 32 Fran3ais Tel: (a49) 0-180-532 93 58 Italiano Tel: (a49) 0-180-534 16 80 National Semiconductor Hong Kong Ltd. 13th Floor, Straight Block, Ocean Centre, 5 Canton Rd. Tsimshatsui, Kowloon Hong Kong Tel: (852) 2737-1600 Fax: (852) 2736-9960 National Semiconductor Japan Ltd. Tel: 81-043-299-2309 Fax: 81-043-299-2408 National does not assume any responsibility for use of any circuitry described, no circuit patent licenses are implied and National reserves the right at any time without notice to change said circuitry and specifications.