Jump to content

Lookahead carry unit

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Bgwhite (talk | contribs) at 07:03, 25 April 2016 (Reverted edits by 175.144.197.145 (talk) to last version by BG19bot). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

A lookahead carry unit (LCU) is a logical unit in digital circuit design used to decrease calculation time in adder units and used in conjunction with carry look-ahead adders (CLAs).

4-bit adder

A single 4-bit CLA is shown below:

4-bit adder with Carry Look Ahead (CLA)

16-bit adder

By combining four 4-bit CLAs, a 16-bit adder can be created but additional logic is needed in the form of an LCU.

The LCU accepts the group propagate () and group generate () from each of the four CLAs. and have the following expressions for each CLA adder:[1]

The LCU then generates the carry input for each CLA.

Assume that is and is from the ith CLA then the output carry bits are

Substituting into , then into , then into yields the expanded equations:

corresponds to the carry input into the second CLA; to the third CLA; to the fourth CLA; and to overflow carry bit.

In addition, the LCU can calculate its own propagate and generate:

16-bit adder with LCU

64-bit adder

By combining 4 CLAs and an LCU together creates a 16-bit adder. Four of these units can be combined to form a 64-bit adder. An additional (second-level) LCU is needed that accepts the propragate () and generate () from each LCU and the four carry outputs generated by the second-level LCU are fed into the first-level LCUs.

64-bit adders with a second-level LCU

References

  • Katz, Randy (1994). Contemporary Logic Design. The Benjamin/Cummings Publishing Company. pp. 249–256. ISBN 0-8053-2703-7.
  • Vahid, Frank (2006). Digital Design. John Wiley and Sons Publishers. pp. 296–316. ISBN 0-470-04437-3.