For:char Printed on:Mon, Feb 6, 1995 09:49:57 From book:DL121CH4 (5) VIEW Document:MC74F382 (5) VIEW Last saved on:Fri, Feb 3, 1995 16:07:09 MC54/74F382 4-BIT ARITHMETIC LOGIC UNIT The MC54/74F382 performs three arithmetic and three logic operations on two 4-bit words, A and B. Two additional Select input codes force the Function outputs LOW or HIGH. An Overflow output is provided for convenience in twos complement arithmetic. A Carry output is provided for ripple expansion. For high-speed expansion using a Carry Lookahead Generator, refer to the F381 data sheet. • • • • • 4-BIT ARITHMETIC LOGIC UNIT FAST SCHOTTKY TTL Performs Six Arithmetic and Logic Functions Selectable Low (Clear) and High (Preset) Functions LOW Input Loading Minimizes Drive Requirements Carry Output for Ripple Expansion Overflow Output for Twos Complement Arithmetic J SUFFIX CERAMIC CASE 732-03 CONNECTION DIAGRAM VCC A2 20 19 B2 18 A3 17 B3 16 Cn Cn+4 OVR F3 15 14 13 12 F2 20 11 1 N SUFFIX PLASTIC CASE 738-03 20 1 1 A1 2 B1 3 A0 4 B0 5 S0 6 S1 8 F0 7 S2 9 F1 10 GND DW SUFFIX SOIC CASE 751D-03 20 LOGIC SYMBOL 3 4 1 1 2 19 18 17 16 ORDERING INFORMATION A0 B0 A1 B1 A2 B2 A3 B3 15 7 6 5 Cn S2 S1 S0 F0 F1 F2 F3 8 9 11 12 Cn+4 14 OVR 13 MC54FXXXJ Ceramic MC74FXXXN Plastic MC74FXXXDW SOIC GUARANTEED OPERATING RANGES Symbol Parameter Min Typ Max Unit 54, 74 4.5 5.0 5.5 V 54 – 55 25 125 74 0 25 70 VCC Supply Voltage TA Operating Ambient Temperature Range IOH Output Current — High 54, 74 –1.0 mA IOL Output Current — Low 54, 74 20 mA FAST AND LS TTL DATA 4-184 °C MC54/74F382 LOGIC DIAGRAM Cn B0 Please note that this diagram is provided only for the understanding of logic operations and should not be used to estimate propagation delays. F0 A0 B1 F1 A1 B2 F2 A2 B3 F3 P A3 F381 ONLY G S0 OVR Cn+4 S1 S2 FAST AND LS TTL DATA 4-185 F382 ONLY MC54/74F382 DC CHARACTERISTICS OVER OPERATING TEMPERATURE RANGE (unless otherwise specified) Limits Symbol VIH Input HIGH Voltage VIL Input LOW Voltage VIK Input Clamp Diode Voltage VOH Output HIGH Voltage VOL Output LOW Voltage IIH Input HIGH Current IIL IOS ICC Min Parameter Typ Max Unit 2.0 Test Conditions V Guaranteed Input HIGH Voltage 0.8 V Guaranteed Input LOW Voltage –1.2 V IIN = –18 mA VCC = MIN 54, 74 2.5 3.4 V IOH = –1.0 mA VCC = 4.5 V 74 2.7 3.4 V IOH = –1.0 mA VCC = 4.75 V 0.5 V IOL = 20 mA VCC = MIN 20 µA VIN = 2.7 V 100 µA VIN = 7.0 V Input LOW Current S0–S2 Inputs – 0.6 mA Other Inputs – 2.4 mA Cn Input – 3.0 mA –150 0.35 Output Short Circuit Current (Note 2) – 60 Power Supply Current 54 81 VCC = MAX VIN = 0.5 V VCC = MAX mA VOUT = 0 V VCC = MAX mA S0, Cn = HIGH; Other Inputs GND VCC = MAX NOTES: 1. For conditions such as MIN or MAX, use the appropriate value specified under guaranteed operating ranges. 2. Not more than one output should be shorted at a time, nor for more than 1 second. FUNCTIONAL DESCRIPTION Signals applied to the Select inputs S0–S2 determine the mode of operation, as indicated in the Function Select Table. An extensive listing of input and output levels is shown in the Truth Table. The circuit performs the arithmetic functions for either active HIGH or active LOW operands, with output levels in the same convention. In the Subtract operating modes, it is necessary to force a carry (HIGH for active HIGH operands, LOW for active LOW operands) into the Cn input of the least significant package. Ripple expansion is illustrated in Figure 1. The overflow output OVR is the Exclusive-OR of Cn + 3 and Cn+4; a HIGH signal on OVR indicates overflow in twos complement operation. Typical delays for Figure 1 are given in Figure 2. FUNCTION SELECT TABLE Select S0 S1 S2 Operation L H L H L H L H L L H H L L H H L L L L H H H H Clear B Minus A A Minus B A Plus B A⊕B A+B AB Preset H = HIGH Voltage Level L = LOW Voltage Level FAST AND LS TTL DATA 4-186 MC54/74F382 A0–A3 B0–B3 4 4 3 B4–B7 4 A B Cn Cn+4 F382 S Cin SELECT A4–A7 A8–A11 B8–B11 4 4 A B Cn Cn+4 F382 S 3 4 4 4 A B Cn Cn+4 F382 S OVR A B Cn Cn+4 F382 S 3 F0–F3 A12–A15 B12–B15 3 Cout OVERFLOW 3 F4–F7 F8–F11 F12–F15 Figure 1. 16-Bit Ripple Carry ALU Expansion Toward F Output Cn + 4, OVR Ai or Bi to Cn + 4 Cn to Cn + 4 Cn to Cn + 4 Cn to F Cn to Cn + 4, OVR 6.5 ns 6.3 ns 6.3 ns 8.1 — 6.5 ns 6.3 ns 6.3 ns — 8.0 ns Total Delay 27.2 ns 27.1 ns Path Segment Figure 2. 16-Bit Delay Tabulation AC CHARACTERISTICS 54/74F 54F 74F TA = +25°C VCC = +5.0 V CL = 50 pF TA = –55 to +125°C VCC = 5.0 V ±10% CL = 50 pF TA = 0 to 70°C VCC = 5.0 V ±10% CL = 50 pF Parameter Min Typ Max Min Max Min Max Unit tPLH tPHL Propagation Delay Cn to Fi 3.0 2.5 8.1 5.7 12 8.0 3.0 2.5 15 11 3.0 2.5 13 9.0 ns tPLH tPHL Propagation Delay Any A or B to Any F 4.0 3.5 10.4 8.2 15 11 4.0 3.5 18 14 4.0 3.5 16 12 ns tPLH tPHL Propagation Delay Si to Fi 6.0 4.0 11 8.2 15 20.5 6.0 4.0 21 23.5 6.0 4.0 16 21.5 ns tPLH tPHL Propagation Delay Ai or Bi to Cn + 4 3.5 3.0 6.0 6.5 8.5 9.0 3.5 3.0 11.5 12.5 3.5 3.0 9.5 10.5 ns tPLH tPHL Propagation Delay Si to OVR or Cn + 4 7.0 4.5 12.5 9.0 16.5 12 7.0 4.5 19.5 15 7.0 4.5 17.5 13 ns tPLH tPHL Propagation Delay Cn to Cn + 4 2.5 2.5 5.6 6.3 8.0 9.0 2.5 2.5 11 12 2.5 2.5 9.0 10 ns tPLH tPHL Propagation Delay Cn to OVR 3.5 3.5 8.0 7.1 11 10 3.5 3.5 14 13 3.5 3.5 12 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