
Input 0 and 1 are the Input to the Full ADDER with CIN being connected to GND. Input 2 and 3 are connected to the XOR gate. Input 4 is connected to the D flip D input. Input 5 is connected to the INVERTER. Input 6 and 7 are connected to the NAND and AND gate. OUTPUT 0 is the SUM output of the FULL ADDER and OUTPUT 1 is the COUT. OUTPUT 2 is the XOR, OUTPUT 3 is the NAND, OUTPUT 4 is the AND, Output 5 is Q, Output 6 is Q_B and Output 7 is the INVERTER
Use the DIP switches to set the inputs of the gates according to the descripton. The 7 Segment Display can be used to see the outputs.
List external hardware used in your project (e.g. PMOD, LED display, etc), if any
| # | Input | Output | Bidirectional |
|---|---|---|---|
| 0 | FULL_A | SUM | |
| 1 | FULL_B | CARRY | |
| 2 | XOR_1 | XOR | |
| 3 | XOR_2 | NAND | |
| 4 | AND_1 | AND | |
| 5 | AND_2 | Q" | |
| 6 | D_FLIP | Q_B | |
| 7 | INV | INV_B |