Professional Documents
Culture Documents
Arithmetic / Logic Unit - ALU Design
Arithmetic / Logic Unit - ALU Design
ALU
Design
Dr. Arjan Durresi
Louisiana State University
Baton Rouge, LA 70810
Durresi@Csc.LSU.Edu
These slides are available at:
http://www.csc.lsu.edu/~durresi/CSC3501_07/
CSC3501 S07
Overview
1-Bit ALU
Full Adder
32-Bit ALU
CSC3501 S07
Different Implementations
a
Sum
b
CarryOut
How could we build a 1-bit ALU for add, and, and or?
CSC3501 S07
32-bit ALU
CSC3501 S07
A 1-Bit ALU
CSC3501 S07
A Full Adder
CSC3501 S07
A Full Adder
CSC3501 S07
A Full Adder
Sum=(abCarryIn)+(abCarryIn)+(abCarryIn)+(abCarryIn)
CSC3501 S07
CSC3501 S07
CSC3501 S07
CSC3501 S07
32-bit Adder
CSC3501 S07
CarryOut
Louisiana State University
CSC3501 S07
32-bit Subtractor
CSC3501 S07
CSC3501 S07
CSC3501 S07
2s Complement Overflow
CSC3501 S07
CSC3501 S07
CSC3501 S07
CSC3501 S07
Zero
AB=0 A=B
CSC3501 S07
CSC3501 S07
CSC3501 S07
Carry-lookahead Adder
CSC3501 S07
Carry-lookahead Adder
CSC3501 S07
Carry-lookahead Adder
CSC3501 S07
That is, the super propagate signal for the 4-bit abstraction
(Pi) is true only if each of the bits in the group will propagate a
carry.
CSC3501 S07
CSC3501 S07
CSC3501 S07
CSC3501 S07
Example
CSC3501 S07
NOR
CSC3501 S07
CSC3501 S07
CSC3501 S07
Summary
1-Bit ALU
Full Adder
32-Bit ALU
CSC3501 S07