![]() |
VOOZH | about |
Full Adder is a combinational circuit that adds three inputs and produces two outputs. The first two inputs are A and B and the third input is an input carry as C-IN. The output carry is designated as C-OUT and the normal output is designated as S which is SUM.
A Full Adder takes three binary inputs:
And it produces two outputs:
Hereβs the truth table for the full adder:
INPUT | OUTPUT | |||
|---|---|---|---|---|
A | B | C-IN | Sum | C-OUT |
0 | 0 | 0 | 0 | 0 |
0 | 0 | 1 | 1 | 0 |
0 | 1 | 0 | 1 | 0 |
0 | 1 | 1 | 0 | 1 |
1 | 0 | 0 | 1 | 0 |
1 | 0 | 1 | 0 | 1 |
1 | 1 | 0 | 0 | 1 |
1 | 1 | 1 | 1 | 1 |
From the truth table, the logical expression for the sum (S) in a full adder is:
S = A'B'C-IN + A'BC-IN' + AB'C-IN' + ABC-IN
Since A'B + AB' =A β B. This simplifies to:
S = C-IN(A β B)' + C-IN'(A β B)
The final simplified expression is:
S = A β B β C-IN
Thus, the sum output is the XOR of A, B, and C-IN.
From the truth table, the logical expression for C-OUT (carry-out) in a full adder is:
C-OUT = A' B C-IN + A B' C-IN + A B C-IN' + A B C-IN
This simplifies to:
C-OUT = A B(C-IN'+C-IN) + C-IN(A'B+AB')
Since C-IN' + C-IN =1 and A'B + AB' =A β B. Thus, the final simplified expression is:
C-OUT = A B + C-IN (A β B)
To implement a Full Adder using basic logic gates:
Sum (S) is implemented using XOR gates:
Use two XOR gates:
Carry (C-Out) is implemented using XOR,AND and OR gates:Finally, the two outputs from the AND gates are combined using an OR gate to generate the final C-OUT output.
First AND gate: This gate calculates A AND B.
Second AND gate: This gate calculates C-IN AND (A β B). To do this, you need the result of the first XOR gate (A β B) as an input to the second AND gate.
2 Half Adders and an OR gate is required to implement a Full Adder.
With this logic circuit, two bits can be added together, taking a carry from the next lower order of magnitude, and sending a carry to the next higher order of magnitude.
Total 9 NAND gates are required to implement a Full Adder.
Total 9 NOR gates are required to implement a Full Adder.