DM74LS181 4-Bit Arithmetic Logic Unit

Similar documents
DM74LS02 Quad 2-Input NOR Gates

DM74LS11 Triple 3-Input AND Gates

DM74LS154 4-Line to 16-Line Decoder/Demultiplexer

DM7445 BCD to Decimal Decoders/Drivers

DM74LS138, DM74LS139 Decoders/Demultiplexers

DM7442A BCD to Decimal Decoders

DM74LS90/DM74LS93 Decade and Binary Counters

DM7473 Dual Master-Slave J-K Flip-Flops with Clear and Complementary Outputs

DM74LS174/DM74LS175 Hex/Quad D Flip-Flops with Clear

DM54LS181 DM74LS181 4-Bit Arithmetic Logic Unit

54LS20 DM54LS20 DM74LS20 Dual 4-Input NAND Gates

54LS00 DM54LS00 DM74LS00 Quad 2-Input NAND Gates

54LS85 DM54LS85 DM74LS85 4-Bit Magnitude Comparators

54LS256 DM74LS256 Dual 4-Bit Addressable Latch

DM54LS47 DM74LS47 BCD to 7-Segment Decoder Driver with Open-Collector Outputs

DM74LS375 4-Bit Latch

MM74HC4020 MM74HC Stage Binary Counter 12-Stage Binary Counter

Features. Y LS174 contains six flip-flops with single-rail outputs. Y LS175 contains four flip-flops with double-rail outputs

54LS153 DM54LS153 DM74LS153 Dual 4-Line to 1-Line Data Selectors Multiplexers

74F139 Dual 1-of-4 Decoder/Demultiplexer

54LS352 DM74LS352 Dual 4-Line to 1-Line Data Selectors Multiplexers

DM74LS02 Quad 2-Input NOR Gate

9321 DM9321 Dual 1-of-4 Decoder

DM54LS259 DM74LS259 8-Bit Addressable Latches

74F138 1-of-8 Decoder/Demultiplexer

DM54LS73A DM74LS73A Dual Negative-Edge-Triggered

DM74LS90 DM74LS93 Decade and Binary Counters

74F181 4-Bit Arithmetic Logic Unit

DM74LS75 Quad Latch. DM74LS75 Quad Latch. General Description. Ordering Code: Connection Diagram. Logic Diagram. Function Table (Each Latch)

DM74LS08 Quad 2-Input AND Gates

9312 DM9312 One of Eight Line Data Selectors Multiplexers

54LS109 DM54LS109A DM74LS109A Dual Positive-Edge-Triggered J-K Flip-Flops

DM74184 DM74185A BCD-to-Binary and Binary-to-BCD Converters

DM54LS450 DM74LS Multiplexer

DM74LS09 Quad 2-Input AND Gates with Open-Collector Outputs

74LCX138 Low Voltage 1-of-8 Decoder/Demultiplexer with 5V Tolerant Inputs

9334 DM Bit Addressable Latch

93L34 8-Bit Addressable Latch

DM7446A DM5447A DM7447A BCD to 7-Segment Decoders Drivers

Features. Y TRI-STATE versions LS157 and LS158 with same pinouts. Y Schottky-clamped for significant improvement in A-C.

54153 DM54153 DM74153 Dual 4-Line to 1-Line Data Selectors Multiplexers

DM7404 Hex Inverting Gates

74F365 Hex Buffer/Driver with 3-STATE Outputs

DM5490 DM7490A DM7493A Decade and Binary Counters

DM74LS353 Dual 4-Input Multiplexer with TRI-STATE Outputs

DM Quad 2-Input NAND Buffers with Open-Collector Outputs

DM Bit Addressable Latch

DM7417 Hex Buffers with High Voltage Open-Collector Outputs

DM74LS05 Hex Inverters with Open-Collector Outputs

74LVQ174 Low Voltage Hex D-Type Flip-Flop with Master Reset

54AC32 Quad 2-Input OR Gate


74F161A 74F163A Synchronous Presettable Binary Counter

CD4070BM CD4070BC Quad 2-Input EXCLUSIVE-OR Gate CD4077BM CD4077BC Quad 2-Input EXCLUSIVE-NOR Gate

Features. Y Low power TTL Fan out of 2 driving 74L. Y 5V 10V 15V parametric ratings. Y Symmetrical output characteristics

DM74LS670 3-STATE 4-by-4 Register File

54173 DM54173 DM74173 TRI-STATE Quad D Registers

DM74LS373 DM74LS374 3-STATE Octal D-Type Transparent Latches and Edge-Triggered Flip-Flops

Features. Y Wide supply voltage range 3V to 15V. Y Guaranteed noise margin 1V. Y High noise immunity 0 45 VCC (typ )

54LS160A DM74LS160A 54LS162A DM74LS162A Synchronous Presettable BCD Decade Counters

MM54HC148 MM74HC Line Priority Encoder

DM74ALS109A Dual J-K Positive-Edge-Triggered Flip-Flop with Preset and Clear

DM74LS74A Dual Positive-Edge-Triggered D Flip-Flops with Preset, Clear and Complementary Outputs

DM7446A, DM7447A BCD to 7-Segment Decoders/Drivers

CD4023M CD4023C Triple 3-Input NAND Gate CD4025M CD4025C Triple 3-Input NOR Gate

54AC258 54ACT258 Quad 2-Input Multiplexer with TRI-STATE Outputs

Features. Y Low power TTL Fan out of 2 driving 74L. Y 5V 10V 15V parametric ratings. Y Symmetrical output characteristics

74VHC574 74VHCT574 Octal D-Type Flip-Flop with 3-STATE Outputs

74F382 4-Bit Arithmetic Logic Unit

DM7490A Decade and Binary Counter

DM74LS244 Octal 3-STATE Buffer/Line Driver/Line Receiver

CD4723BM CD4723BC Dual 4-Bit Addressable Latch CD4724BM CD4724BC 8-Bit Addressable Latch

MM54HC73 MM74HC73 Dual J-K Flip-Flops with Clear

MM54HC08 MM74HC08 Quad 2-Input AND Gate

CD4029BM CD4029BC Presettable Binary Decade Up Down Counter

Features. Y Low power TTL Fan out of 2 driving 74L. Y 5V 10V 15V parametric ratings. Y Symmetrical output characteristics

CD4070BM CD4070BC Quad 2-Input EXCLUSIVE-OR Gate CD4077BM CD4077BC Quad 2-Input EXCLUSIVE-NOR Gate

Features. Y Wide supply voltage range 3 0V to 15V. Y High noise immunity 0 45 VDD (typ ) Y Low power TTL fan out of 2 driving 74L

MM54HC175 MM74HC175 Quad D-Type Flip-Flop With Clear

MM54HC154 MM74HC154 4-to-16 Line Decoder

CD4028BM CD4028BC BCD-to-Decimal Decoder

MM54C14 MM74C14 Hex Schmitt Trigger

CD4028BC BCD-to-Decimal Decoder

54AC 74AC11 Triple 3-Input AND Gate

Features. Y Wide supply voltage range 3 0V to 15V. Y Guaranteed noise margin 1 0V. Y High noise immunity 0 45 VCC (typ )

DS34C87T CMOS Quad TRI-STATE Differential Line Driver

74F30 8-Input NAND Gate

CGS74CT to 4 Minimum Skew (300 ps) Clock Driver

DM74S373 DM74S374 3-STATE Octal D-Type Transparent Latches and Edge-Triggered Flip-Flops

MM54HC194 MM74HC194 4-Bit Bidirectional Universal Shift Register

NTE74LS181 Integrated Circuit TTL Arithmetic Logic Unit/Function Generator

Features. Y Wide supply voltage range 3V to 15V. Y High noise immunity 0 45 VDD (typ ) Y Low power TTL compatibility Fan out of 2

CD4013BM CD4013BC Dual D Flip-Flop

CD4093BM CD4093BC Quad 2-Input NAND Schmitt Trigger

MM54C221 MM74C221 Dual Monostable Multivibrator

54AC174/54ACT174 Hex D Flip-Flop with Master Reset

Features. Y Wide supply voltage range 3 0V to 15V. Y High noise immunity 0 45 VDD (typ ) Y Low power TTL fan out of 2 driving 74L

MM54HC373 MM74HC373 TRI-STATE Octal D-Type Latch

MM54HC244 MM74HC244 Octal TRI-STATE Buffer

CD4028BC BCD-to-Decimal Decoder

Transcription:

DM74LS181 4-Bit Arithmetic Logic Unit General Description The LS181 is a 4-bit Arithmetic Logic Unit (ALU) which can perform all the possible 16 logic operations on two variables and a variety of arithmetic operations. Connection Diagram Dual-In-Line Package March 1998 Features n Provides 16 arithmetic operations: add, subtract, compare, double, plus twelve other arithmetic operations n Provides all 16 logic operations of two variables: exclusive-or, compare, AND, NAND, OR, NOR, plus ten other logic operations n Full lookahead for high speed arithmetic operation on long words DM74LS181 4-Bit Arithmetic Logic Unit DS009821-1 Order Number DM54LS181J, DM54LS181W or DM74LS181N See Package Number J24A, N24A or W24C Pin Names A0 A3 B0 B3 S0 S3 M C n F0 F3 A = B G P C n+4 Description Operand Inputs (Active LOW) Operand Inputs (Active LOW) Function Select Inputs Mode Control Input Carry Input Function Outputs (Active LOW) Comparator Output Carry Generate Output (Active LOW) Carry Propagate Output (Active LOW) Carry Output 1998 Fairchild Semiconductor Corporation DS009821 www.fairchildsemi.com

Absolute Maximum Ratings (Note 1) Supply Voltage Input Voltage 7V 7V Operating Free Air Temperature Range DM74LS Storage Temperature Range 0 C to +70 C 65 C to +150 C Recommended Operating Conditions Symbol Parameter DM54LS181 DM74LS181 Units Min Max Min Nom Max V CC Supply Voltage 4.5 5.5 4.75 5 5.25 V V IH High Level Input Voltage 2 2 V V IL Low Level Input Voltage 0.7 0.8 V I OH High Level Output Current 0.4 0.4 ma I OL Low Level Output Current 4 8 ma T A 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) V I Input Clamp Voltage V CC = Min, I I = 18 ma 1.5 V V OH High Level Output V CC = Min, I OH = Max, DM54 2.5 V Voltage V IL = Max DM74 2.7 V OL Low Level Output V CC = Min, I OL = Max, DM54 0.4 V Voltage V IH = Min DM74 0.35 0.5 I OL = 4 ma, V CC = Min DM74 0.25 0.4 I I Input Current @ Max V CC = Max, V I = 7V M input 0.1 Input Voltage V I = 10V (DM54) A n,b n 0.3 ma S n 0.4 C n 0.5 I IH High Level Input Current V CC = Max, V I = 2.7V M input 20 A n,b n 60 µa S n 80 C n 100 I IL Low Level Input Current V CC = Max, V I = 0.4V M input 0.4 A n,b n 1.2 ma S n 1.6 C n 2.0 I OS Short Circuit V CC = Max 20 100 ma Output Current (Note 3) I CC Supply Current V CC = Max, B n,c n =GND DM54 35 ma S n,m,a n =4.5V DM74 37 Note 2: All typicals are at V CC = 5V, T A = 25 C. Note 3: Not more than one output should be shorted at a time, and the duration should not exceed one second. www.fairchildsemi.com 2

Switching Characteristics: for test waveforms and output load. V CC = 5V, T A = 25 C DM54/DM74LS Symbol Parameter Conditions C L = 15 pf Units Min Max t PLH Propagation Delay M = GND 27 ns C n to C n+4 20 t PLH Propagation Delay M = GND 26 ns C n to F 20 t PLH Propagation Delay M, S 1,S 2 =GND; 29 ns A or B to G (Sum) S 1,S 3 =4.5V 23 t PLH Propagation Delay M, S 0,S 3 =GND; 32 ns A or B to G (Diff) S 1,S 2 =4.5V 26 t PLH Propagation Delay M, S 1,S 2 =GND; 30 ns A or B to P (Sum) S 0,S 3 =4.5V 30 t PLH Propagation Delay M, S 0,S 3 =GND; 30 ns A or B to P (Diff) S 1,S 2 =4.5V 33 t PLH Propagation Delay M, S 1,S 2 =GND; 32 ns A i or B i to F i (Sum) S 0,S 3 =4.5V 25 t PLH Propagation Delay M, S 0,S 3 =GND; 32 ns A i or B i to F i (Diff) S 1,S 2 =4.5V 33 t PLH Propagation Delay M = 4.5V 33 ns A or B to F (Logic) 29 t PLH Propagation Delay M, S 1,S 2 =GND; 38 ns AorBtoC n+4 (Sum) S 0,S 3 =4.5V 38 t PLH Propagation Delay M, S 0,S 3 =GND; 41 ns AorBtoC n+4 (Diff) S 1,S 2 =4.5V 41 t PLH Propagation Delay M, S 0,S 3 =GND; 50 ns AorBtoA=B S 1,S 2 =4.5V; 62 R L = 2kΩto 5.0V Sum Mode Test Table 1 Function Inputs S0 = S3 = 4.5V, S1 = S2 = M = 0V Input Other Input Other Data Inputs Output Symbol Under Same Bit Under Test Apply Apply Apply Apply Test 4.5V GND 4.5V GND t PLH A i B i None Remaining C n F i A and B t PLH B i A i None Remaining C n F i A and B t PLH A B None None Remaining P t PLH B A None None Remaining P t PLH A None B Remaining Remaining G B A, C n t PLH B None A Remaining Remaining G B A, C n t PLH A None B Remaining Remaining C n+4 B A, C n 3 www.fairchildsemi.com

Sum Mode Test Table 1 Function Inputs (Continued) S0 = S3 = 4.5V, S1 = S2 = M = 0V Input Other Input Other Data Inputs Output Symbol Under Same Bit Under Test Apply Apply Apply Apply Test 4.5V GND 4.5V GND t PLH B None A Remaining Remaining C n+4 B A, C n t PLH C n None None All All Any F A B or C n+4 Diff Mode Test Table 2 Function Inputs S1 = S2 = 4.5V, S0 = S3 = M = 0V Input Other Input Other Data Inputs Output Symbol Under Same Bit Under Test Apply Apply Apply Apply Test 4.5V GND 4.5V GND t PLH A None B Remaining Remaining F i A B, C n t PLH B A None Remaining Remaining F i A B, C n t PLH A None B None Remaining P t PLH B A None None Remaining P t PLH A B None None Remaining G t PLH B None A None Remaining G t PLH A None B Remaining Remaining A = B A B, C n t PLH B A None Remaining Remaining A = B A B, C n t PLH A B None None Remaining C n+4 t PLH B None A None Remaining C n+4 t PLH C n None None All None C n+4 A and B Logic Mode Test Table 3 Function Inputs S1 = S2 = M = 4.5V, S0 = S3 = 0V Input Other Input Other Data Inputs Output Symbol Under Same Bit Under Test Apply Apply Apply Apply Test 4.5V GND 4.5V GND t PLH A B None None Remaining Any F t PLH B A None None Remaining Any F www.fairchildsemi.com 4

Functional Description Function Table The LS181 is a 4-bit high speed parallel Arithmetic Logic Unit (ALU). Controlled by the four Function Select inputs (S0 S3) and the Mode Control input (M), it can perform all the 16 possible logic operations or 16 different arithmetic operations on active HIGH or active LOW operands. The Function Table lists these operations When the Mode Control input (M) is HIGH, all internal carries are inhibited and the device performs logic operations on the individual bits as listed. When the Mode Control input is LOW, the carries are enabled and the device performs arithmetic operations on the two 4-bit words. The device incorporates full internal carry lookahead and provides for either ripple carry between devices using the C n+4 output, or for carry lookahead between packages using the signals P (Carry Propagate) and G (Carry Generate). In the ADD mode, P indicates that F is 15 or more, while G indicates that F is 16 or more. In the SUBTRACT mode, P indicates that F is zero or less, while G indicates that F is less than zero. P and G are not affected by carry in. When speed requirements are not stringent, it can be used in a simple ripple carry mode by connecting the Carry output (C n+4 ) signal to the Carry input (C n ) of the next unit. For high speed operation the device is used in conjunction with the 9342 or 93S42 carry lookahead circuit. One carry lookahead package is required for each group of four LS181 devices. Carry lookahead can be provided at various levels and offers high speed capability over extremely long word lengths. The A = B output from the device goes HIGH when all four F outputs are HIGH and can be used to indicate logic equivalence over four bits when the unit is in the subtract mode. The A = B output is open-collector and can be wired-and with other A = B outputs to give a comparison for more than four bits. The A = B signal can also be used with the C n+4 signal to indicate A > B and A < B. The Function Table lists the arithmetic operations that are performed without a carry in. An incoming carry adds a one to each operation. Thus, select code LHHL generates A minus B minus 1 (2s complement notation) without a carry in and generates A minus B when a carry is applied. Because subtraction is actually performed by complementary addition (1s complement), a carry out means borrow; thus a carry is generated when there is no underflow and no carry is generated when there is underflow. As indicated, this device can be used with either active LOW inputs producing active LOW outputs or with active HIGH inputs producing active HIGH outputs. For either case the table lists the operations that are performed to the operands labeled inside the logic symbol. Mode Select Active LOW Operands Active HIGH Operands Inputs & F n Outputs & F n Outputs Logic Arithmetic (Note 5) Logic Arithmetic (Note 5) S3 S2 S1 S0 (M = H) (M = L) (C n = L) (M = H) (M = L) (C n = H) L L L L A A minus 1 A A L L L H AB AB minus 1 A + B A+B L L H L A + B AB minus 1 AB A+B L L H H Logic 1 minus 1 Logic 0 minus 1 L H L L A + B A plus (A + B) AB A plus AB L H L H B AB plus (A + B) B (A + B) plus AB L H H L A % B A minus B minus 1 A % B A minus B minus 1 L H H H A + B A+B AB AB minus 1 H L L L A B A plus (A + B) A + B A plus AB H L L H A % B A plus B A % B A plus B H L H L B AB plus (A + B) B (A + B) plus AB H L H H A + B A + B AB AB minus 1 H H L L Logic 0 A plus A (Note 4) Logic 1 A plus A (Note 4) H H L H AB AB plus A A + B (A + B) plus A H H H L AB AB minus A A + B (A + B) plus A H H H H A A A Aminus 1 Note 4: Each bit is shifted to the next most significant position. Note 5: Arithmetic operations expressed in 2s complement notation. 5 www.fairchildsemi.com

Logic Symbols Active High Operands Active Low Operands DS009821-3 V CC = Pin 24 GND = Pin 12 DS009821-4 www.fairchildsemi.com 6

Logic Diagram DS009821-5 7 www.fairchildsemi.com

8

Physical Dimensions inches (millimeters) unless otherwise noted Package (J) Order Number DM54LS181J Package Number J24A 24-Lead Molded Dual-In-Line Package (N) Order Number DM74LS181N Package Number N24A 9 www.fairchildsemi.com

DM74LS181 4-Bit Arithmetic Logic Unit Physical Dimensions inches (millimeters) unless otherwise noted (Continued) Package (W) Order Number DM54LS181W Package Number W24C LIFE SUPPORT POLICY FAIRCHILD S PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT DE- VICES OR SYSTEMS WITHOUT THE EXPRESS WRITTEN APPROVAL OF THE PRESIDENT OF FAIRCHILD SEMI- CONDUCTOR 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 (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. 2. A critical component in 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. Fairchild Semiconductor Corporation Americas Customer Response Center Tel: 1-888-522-5372 www.fairchildsemi.com Fairchild Semiconductor Europe Fax: +49 (0) 1 80-530 85 86 Email: europe.support@nsc.com Deutsch Tel: +49 (0) 8 141-35-0 English Tel: +44 (0) 1 793-85-68-56 Italy Tel: +39 (0) 2 57 5631 Fairchild Semiconductor Hong Kong Ltd. 13th Floor, Straight Block, Ocean Centre, 5 Canton Rd. Tsimshatsui, Kowloon Hong Kong Tel: +852 2737-7200 Fax: +852 2314-0061 National Semiconductor Japan Ltd. Tel: 81-3-5620-6175 Fax: 81-3-5620-6179 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.