The input and inout (used as inputs) pins are connected to 8 different logic gates, which lead to the outputs. Only one logic layer of combinatoric logic. Each input is hooked up to only one gate.
No clock, enable or reset is used. As this is just one layer of combinatoric logic, you can simply check against a precalculated truth table. To play, flip the inputs and observe the output until you recognise what it must be.
Connect 16 switches to the input and inout pins, the 8 outputs are hooked up to one LED each (or other display hardware of your choice).
The solution is (SPOILER):
# | Input | Output | Bidirectional |
---|---|---|---|
0 | switch0 | gatey0 | switch8 |
1 | switch1 | gatey1 | switch9 |
2 | switch2 | gatey2 | switchA |
3 | switch3 | gatey3 | switchB |
4 | switch4 | gatey4 | switchC |
5 | switch5 | gatey5 | switchD |
6 | switch6 | gatey6 | switchE |
7 | switch7 | gatey7 | switchF |