0% found this document useful (0 votes)
229 views5 pages

Arithmetic Logic Unit PDF

Download as pdf or txt
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 5

ARITHMETIC LOGIC UNITS

Arithmetic Logic Unit (ALU)


Circuit
Data processing
Addition, Subtraction, Multiplication, Division
Comparing operands, finding unmatched bits
Figure 4.28 Basic n-bit ALU
n
X
n
N-bit logic unit
n
Y

Data
Two-way n-bit n
in Z Data out
multiplexer

n
N-bit adder-
subtracter k
Flags

4
Select Carry in Mode
Figure 4.29 N-bit logic with 16 two-variable
functions

n
X

n
Z Data out

n
Y

Data
in

Select S
Figure 4.30 Register-level view of 74181 4-bit
ALU
Sum Logic
4 4 4
A F Data out
IP 4
Module M1 4
4 4
B 4

Data
in IC
4
4-bit carry-look (A = B)
ahead generator
IG
p
4 g
Module M2 Cout

4
Select S Carry in Cin Mode M

You might also like