
Inputs a and b are fed into AND, NAND, and OR gates. The selected logic result is routed to the output through the control logic. The output state is shown on the connected display.
Set the inputs and verify the outputs match the table below:
| input a | input b | AND | NAND | OR |
|---|---|---|---|---|
| 0 | 0 | 0 | 1 | 0 |
| 0 | 1 | 0 | 1 | 1 |
| 1 | 0 | 0 | 1 | 1 |
| 1 | 1 | 1 | 0 | 1 |
List external hardware used in your project (e.g. PMOD, LED display, etc), if any
| # | Input | Output | Bidirectional |
|---|---|---|---|
| 0 | input a | seg a | |
| 1 | input b | seg b | |
| 2 | mux sel | seg c | |
| 3 | seg d | ||
| 4 | seg e | ||
| 5 | seg f | ||
| 6 | seg g | ||
| 7 | input d | seg dp |