Carry Lookahead Addition
Tom Kelliher, CS 240
Feb. 27, 2002
Speaking of lookahead: Exam I 3/5.
Read 4.6.
MIPS ALU.
- Preliminaries, ``constant time addition.''
- Four-bit full carry lookahead adder.
- Four-big Group carry lookahead unit.
- Building large adders.
Multiplication.
- Why bother with speeding up addition?
- Divide and conquer approach to addition:
,
where
.
- Can we pre-compute the carries?
- Carry generate:
.
- Carry propagate:
.
- Illustration: look at p, g, and c for 11010101 and 01110011.
- Some carry equations:
-
-
-

- A bit of recursion:
- Base case:
- Recursive step:

- Why this isn't feasible. The Winograd lower bound.
Restricting the carry computation circuitry to a tree structure:

What does this buy us?
- Design a four-bit full carry lookahead adder.
Block diagram:

Block generate, propagate.
- What is the fan-in?
- What is the delay model from inputs to outputs?
- Design a 4-Group carry lookahead unit.
Block diagram:

Use of block generates, propagates.
- What is the fan-in?
- What is the delay model from inputs to outputs?
Cascaded and full carry lookahead.
Cascaded and full carry lookahead.
Thomas P. Kelliher
Tue Feb 24 16:42:38 EST 2004
Tom Kelliher