A lookahead carry unit (LCU) is a logical unit in
digital circuit In theoretical computer science, a circuit is a model of computation in which input values proceed through a sequence of gates, each of which computes a function. Circuits of this kind provide a generalization of Boolean circuits and a mathemati ...
design used to decrease calculation time in
adder units and used in conjunction with
carry look-ahead adder
A carry-lookahead adder (CLA) or fast adder is a type of electronics adder used in digital logic. A carry-lookahead adder improves speed by reducing the amount of time required to determine carry bits. It can be contrasted with the simpler, b ...
s (CLAs).
4-bit adder
A single 4-bit CLA is shown below:
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:
:
:
The LCU then generates the carry input for each CLA.
Assume that
is
and
is
from the i
th 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:
:
:
:
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 propagate (
) and generate (
) from each LCU and the four carry outputs generated by the second-level LCU are fed into the first-level LCUs.
References
*
* {{cite book , last=Vahid , first=Frank , title=Digital Design , url=https://archive.org/details/digitaldesign00vahi , url-access=limited , publisher=John Wiley and Sons Publishers , year=2006 , isbn=0-470-04437-3 , page
296��316
Digital circuits
Adders (electronics)
de:Paralleladdierer mit Übertragsvorausberechnung