
This implements a full adder on IN0, IN1, and IN2 switches (for A, B, and Carry). It uses 2 XOR gates, 2 AND gates, and an OR gate.
Output will be LEDs on OUT0 and OUT1. The output will be the binary sum of IN0+IN1+IN2.
LEDs are used on OUT0 and OUT1.
| # | Input | Output | Bidirectional |
|---|---|---|---|
| 0 | IN0 | OUT0 | |
| 1 | IN1 | OUT1 | |
| 2 | IN2 | OUT2 | |
| 3 | |||
| 4 | |||
| 5 | |||
| 6 | |||
| 7 |