I am trying to teach myself the concept of (half and full) adders from Wikipedia and am a bit confused.
Do I need to use both half adders and full adders together for performing multi-bit addition? How do I combine them together?
|
I am trying to teach myself the concept of (half and full) adders from Wikipedia and am a bit confused. Do I need to use both half adders and full adders together for performing multi-bit addition? How do I combine them together? |
|||
|
|
|
Half adders, compared to full adders, don't have the carry input bit; so they're not necessary, but are used to save hardware when only two bits have to be added. An example is in the sum of two bytes: the least significant bits don't usually need a carry-in, so can be added with a half adder (or a full-adder with Cin=0). Another example is the multiplier: here you sum the partial products, but the last bit (the most significant) of each one has to be added only to the carry of the previous sum, so this operation can be performed by a half adder. Note that in several cases, the saving in area is not worth the additional effort of specifically design an half adder; so a full adder with grounded (or tied at 1 if working with inverted logic) carry-in is used instead. |
|||||
|
|
A half-adder is used for the first bit since there is no carry-in. For the second and subsequent bits, you need full adders. |
|||
|
|