Professional Documents
Culture Documents
Inputs Outputs
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
The whole adder logic can be applied from the above truth table. We can see that the
output S is an EXOR with B or C-IN input from input A to the half-adder Number. The
C-OUT will also apply only if any of the two out of the three inputs is Big.
So we can use two half adder circuits to implement a complete adder circuit. In order to
generate a partial Sum, the first half adds to add A and B. You can add C-IN to the sum
generated with the first half adder to get the final S output using the second half address
logic. If a carry is generated by any of the half adder logic, the output will be carried. C-
OUT therefore is an OR function for the half-adder execution.