Skip to content
Tactiverge
  1. Stage 1
  2. Stage 2
  3. Stage 3
  4. Stage 4
  5. Stage 5
  6. Stage 6 (this one)
  7. Stage 7
  8. Stage 8
  9. Stage 9
  10. Stage 10
  11. Stage 11
  12. Stage 12
  13. Stage 13
  14. Stage 14
  15. Stage 15

Explanation

Column addition needs three inputs: A, B and the carry in from the column to the right. A full adder adds all three: S = A ⊕ B ⊕ Cin, and Cout = A·B + Cin·(A ⊕ B).

It is two half adders and an OR gate: the first adds A and B, the second adds Cin to that sum, and the OR combines the two possible carries (they can never both be 1).

Flip the inputs and follow the signal

A
B
Cin
ABCinXOR0XOR0AND0AND0OR0S=0Cout=0
Full adder. Inputs: A = 0, B = 0, Cin = 0. x1 is XOR of A and B = 0; x2 is XOR of x1 and Cin = 0; a1 is AND of A and B = 0; a2 is AND of x1 and Cin = 0; o1 is OR of a1 and a2 = 0. Outputs: S = 0, Cout = 0.

S = 0 Cout = 0

Two half adders and an OR. A + B + Cin = 2·Cout + S.

Check yourself

Marked instantly in your browser. Use the interactive above to work it out.

  1. 1. A = 1, B = 1, Cin = 1. Write Cout then S as two bits.
  2. 2. How many of the 8 rows of a full adder's truth table have Cout = 1?