Skip to main content

HalfAdder

Adds two bits. sum = a XOR b and carry = a AND b. Children: xor, and.

FullAdder

Adds three bits. It is built from two half adders and an OR gate. Children: first, second, or.
Chain full adders to add wider numbers. See the four-bit adder tutorial.