fbpx
Wikipedia

Lookahead carry unit

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 Edit

A single 4-bit CLA is shown below:

 
4-bit adder with Carry Look Ahead (CLA)

16-bit adder Edit

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 Edit

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 propagate ( ) 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 Edit

  1. ^ . Archived from the original on 2011-09-25. Retrieved 2011-10-07.
  • 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.

lookahead, carry, unit, lookahead, carry, unit, logical, unit, digital, circuit, design, used, decrease, calculation, time, adder, units, used, conjunction, with, carry, look, ahead, adders, clas, contents, adder, adder, adder, references4, adder, edita, singl. 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 Contents 1 4 bit adder 2 16 bit adder 3 64 bit adder 4 References4 bit adder EditA single 4 bit CLA is shown below 4 bit adder with Carry Look Ahead CLA 16 bit adder EditBy 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 P G displaystyle P G and group generate G G displaystyle G G from each of the four CLAs P G displaystyle P G and G G displaystyle G G have the following expressions for each CLA adder 1 P G P 0 P 1 P 2 P 3 displaystyle P G P 0 cdot P 1 cdot P 2 cdot P 3 G G G 3 G 2 P 3 G 1 P 2 P 3 G 0 P 1 P 2 P 3 displaystyle G G G 3 G 2 cdot P 3 G 1 cdot P 2 cdot P 3 G 0 cdot P 1 cdot P 2 cdot P 3 The LCU then generates the carry input for each CLA Assume that P i displaystyle P i is P G displaystyle P G and G i displaystyle G i is G G displaystyle G G from the ith CLA then the output carry bits are C 4 G 0 P 0 C 0 displaystyle C 4 G 0 P 0 cdot C 0 C 8 G 4 P 4 C 4 displaystyle C 8 G 4 P 4 cdot C 4 C 12 G 8 P 8 C 8 displaystyle C 12 G 8 P 8 cdot C 8 C 16 G 12 P 12 C 12 displaystyle C 16 G 12 P 12 cdot C 12 Substituting C 4 displaystyle C 4 into C 8 displaystyle C 8 then C 8 displaystyle C 8 into C 12 displaystyle C 12 then C 12 displaystyle C 12 into C 16 displaystyle C 16 yields the expanded equations C 4 G 0 P 0 C 0 displaystyle C 4 G 0 P 0 cdot C 0 C 8 G 4 G 0 P 4 C 0 P 0 P 4 displaystyle C 8 G 4 G 0 cdot P 4 C 0 cdot P 0 cdot P 4 C 12 G 8 G 4 P 8 G 0 P 4 P 8 C 0 P 0 P 4 P 8 displaystyle C 12 G 8 G 4 cdot P 8 G 0 cdot P 4 cdot P 8 C 0 cdot P 0 cdot P 4 cdot P 8 C 16 G 12 G 8 P 12 G 4 P 8 P 12 G 0 P 4 P 8 P 12 C 0 P 0 P 4 P 8 P 12 displaystyle C 16 G 12 G 8 cdot P 12 G 4 cdot P 8 cdot P 12 G 0 cdot P 4 cdot P 8 cdot P 12 C 0 cdot P 0 cdot P 4 cdot P 8 cdot P 12 C 4 displaystyle C 4 corresponds to the carry input into the second CLA C 8 displaystyle C 8 to the third CLA C 12 displaystyle C 12 to the fourth CLA and C 16 displaystyle C 16 to overflow carry bit In addition the LCU can calculate its own propagate and generate P L C U P 0 P 4 P 8 P 12 displaystyle P LCU P 0 cdot P 4 cdot P 8 cdot P 12 G L C U G 12 G 8 P 12 G 4 P 8 P 12 G 0 P 4 P 8 P 12 displaystyle G LCU G 12 G 8 cdot P 12 G 4 cdot P 8 cdot P 12 G 0 cdot P 4 cdot P 8 cdot P 12 C 16 G L C U C 0 P L C U displaystyle C 16 G LCU C 0 cdot P LCU 16 bit adder with LCU64 bit adder EditBy 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 propagate P L C U displaystyle P LCU and generate G L C U displaystyle G LCU 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 LCUReferences Edit Carry Look Ahead Adder Archived from the original on 2011 09 25 Retrieved 2011 10 07 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 Retrieved from https en wikipedia org w index php title Lookahead carry unit amp oldid 1159963467, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.