Circuits / Arithmetic
Half Adder
Adds two 1-bit inputs A and B using an XOR gate for Sum and an AND gate for Carry.
A Half Adder adds two single-bit binary inputs.
The Sum output is 1 when A and B differ (odd parity).
The Carry output is 1 when both A and B are 1.
Use an XOR gate for Sum and an AND gate for Carry.
Tip: If Sum is wrong, check that the top gate is XOR, not OR.
01Z floatingE conflict (dashed)
| A | B | Sum | Carry |
|---|---|---|---|
| 0 | 0 | 0 | 0 |
| 0 | 1 | 1 | 0 |
| 1 | 0 | 1 | 0 |
| 1 | 1 | 0 | 1 |