
A full adder adds three 1-bit inputs: a, b, and cin (carry-in). It produces two outputs: sum and cout (carry-out).
Set the inputs and verify the outputs match the expected results:
| input a b cin | output sum | output 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 |
| # | Input | Output | Bidirectional |
|---|---|---|---|
| 0 | input a | output s | |
| 1 | input b | output c | |
| 2 | ipnut c | ||
| 3 | |||
| 4 | |||
| 5 | |||
| 6 | |||
| 7 |