
The half adder adds two single binary digits A and B. It has two outputs, sum (S) and carry (C)
Set the inputs and check whether the outputs match.
| Input A B Cin | Output S Cout |
|---|---|
| 0 0 0 | 0 0 |
| 0 0 1 | 0 1 |
| 0 1 0 | 0 1 |
| 0 1 1 | 1 0 |
| 1 0 0 | 0 1 |
| 1 0 1 | 1 0 |
| 1 1 0 | 1 0 |
| 1 1 1 | 1 1 |
List external hardware used in your project (e.g. PMOD, LED display, etc), if any
| # | Input | Output | Bidirectional |
|---|---|---|---|
| 0 | A | S | |
| 1 | B | ||
| 2 | Cin | ||
| 3 | |||
| 4 | |||
| 5 | Cout | ||
| 6 | |||
| 7 |