Constant Time Addition

Tom Kelliher, CS 240

Feb. 26, 1999

Administrivia

Announcements

Assignment

Read B.4--B.7.

From Last Time

Derivation of carry lookahead adder, carry lookahead unit.

Outline

  1. ``Quiz.''

  2. Constant time addition.

Coming Up

Latches and flip-flops, biker light example.

``Quiz''

Five minutes: Complete the 64-bit carry lookahead adder.

Constant Time Addition

The MRR4 Digit Set

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?

Numeric Properties

  1. Sign of the leading digit is the sign of the number.

  2. Conversion from non-redundant form to redundant form is trivial.

  3. There are an infinite number of ways of representing a single value:

    Therefore, comparing two numbers is difficult.

  4. Converting from redundant to non-redundant is (relatively) hard.

MRR4 Addition

One digit full adder:

Organized like this:

where:

Section of a Larger Adder

For this to work, we must have:

Can we actually accomplish this?

Addition Table:

Observations

What about Winograd's bound?

Conclusion



Thomas P. Kelliher
Thu Feb 25 09:18:31 EST 1999
Tom Kelliher