
This is a simple 2 bit adder circuit. AND, OR and XOR gates are used in this circuit.
This circuit implements a two-bit adder, where each input has one bit.
A + B + Cin = S with Cout
| Cin | A | B | S | Cout |
|---|---|---|---|---|
| 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 |
List external hardware used in your project (e.g. PMOD, LED display, etc), if any
| # | Input | Output | Bidirectional |
|---|---|---|---|
| 0 | input 0 | output 0 | |
| 1 | input 1 | output 1 | |
| 2 | input 2 | output 2 | |
| 3 | input 3 | output 3 | |
| 4 | input 4 | output 4 | |
| 5 | input 5 | output 5 | |
| 6 | input 6 | output 6 | |
| 7 | input 7 | output 7 |