The design has been fully generated using https://github.com/maehw/wokwi-lookup-table-generator using a truth table (https://github.com/maehw/wokwi-lookup-table-generator/blob/main/demos/bcd_7segment_lut.logic.json). The truth table describes the translation of binary coded decimal (BCD) numbers to wokwi 7-segment display (https://docs.wokwi.com/parts/wokwi-7segment). Valid BCD input values are in the range 0..9, other values will show a blank display.
Control the input switches on the PCB and check the digit displayed on the 7-segment display.
Input switches and 7-segment display (should be on the PCB)
| # | Input | Output |
|---|---|---|
| 0 | w | segment a |
| 1 | x | segment b |
| 2 | y | segment c |
| 3 | z | segment d |
| 4 | segment e | |
| 5 | segment f | |
| 6 | segment g | |
| 7 |