Constant Time Addition
Tom Kelliher, CS 240
Feb. 26, 1999
Read B.4--B.7.
Derivation of carry lookahead adder, carry lookahead unit.
- ``Quiz.''
- Constant time addition.
Latches and flip-flops, biker light example.
Five minutes: Complete the 64-bit carry lookahead adder.
Start with the standard base four digit set:

Not binary!
Throw in some ``additional'' digits:

Where:

An MRR4 number:

How do we represent the digits?
-
Sign of the leading digit is the sign of the number.
-
Conversion from non-redundant form to redundant form is trivial.
-
There are an infinite number of ways of representing a single value:

Therefore, comparing two numbers is difficult.
-
Converting from redundant to non-redundant is (relatively) hard.
One digit full adder:
Organized like this:

where:

For this to work, we must have:

Can we actually accomplish this?

Addition Table:

-
The carry chain is broken.
-
Carries propagate at most one digit position.
-
This yields a constant time adder.
What about Winograd's bound?
-
Ordinary addition is
.
-
MRR4 addition is O
.
-
MRR4 skirts Winograd's bound by rejecting the dependency observation.
-
MRR4 is quite applicable within the domain of Application Specific Systems.
Thomas P. Kelliher
Thu Feb 25 09:18:31 EST 1999
Tom Kelliher