ECEN 248 Lab 7: Carry Look Ahead and Carry Save Adders: Dept. of Electrical and Computer Engineering
ECEN 248 Lab 7: Carry Look Ahead and Carry Save Adders: Dept. of Electrical and Computer Engineering
X [15:0] X [15:0]
CARRY CARRY
LOOK-AHEAD Sum [16:0] Y [15:0] SAVE Sum [17:0]
ADDER ADDER
Y [15:0] Z [15:0]
Carry Look-Ahead Adder Design
4-bit Carry-Look Ahead Adder
Ci+1 = Gi + Pi.Ci
Gi = Ai.Bi
PG= P3.P2.P1.P0;
GG = G3 + P3G2 + P3.P2.G1. + P3.P2.P1.G0
Carry Save Adder Design
Example of Carry Save Addition
X: 10011 X: 10011
Y: + 11001 Y: + 11001
Z: + 01011 Z: + 01011
C: 11011 S: 00001
X: 10011
Y: + 11001
Z: + 01011
S: 00001
C: 11011
Sum: 110111
Carry Save Adder Design
Single Bit Carry Save Adder Block
Xi Yi Xi Yi Zi
Full Carr-Save
Cout Adder Cin Adder
Block Block
Si Ci Si
The Full adder Block from Lab#5 can be reused as the carry-
save adder unit
Carry Save Adder Design
3 Operand Carry-Save Addition
X15 Y15 Z15 X14 Y14 Z14 ... X1 Y1 Z1 X0 Y0 Z0
A = 1 A C 5 B = 2 3 A 1
S U M = 0 3 E 6 6
1 A C 5 2 3 B 2 2 3 A 1
S U M = 0 6 2 1 8
Deadlines
Today
Work on Lab 7
Next Week
Lab 7 Post-Lab due
Lab 8 Pre-Lab due at the beginning of class