OUT7 stays high as long as reset_n XOR clk is active (effectively, on when clk low). Other outputs (OUT0-6) have at most one high, based on inputs IN0-6, arbiting between multiple inputs. Arbiter prioritizes lowest active input.
Connect outputs to 7-segment LED display, or any other form of testable output (ex. LEDs). Change inputs and verify correct arbitration. OUT7, with a freerunning clock and stable reset, should oscillate periodically.
Input switches, output 7-segment LED, possibly a button to step clk.
# | Input | Output | Bidirectional |
---|---|---|---|
0 | IN0 | OUT0 | |
1 | IN1 | OUT1 | |
2 | IN2 | OUT2 | |
3 | IN3 | OUT3 | |
4 | IN4 | OUT4 | |
5 | IN5 | OUT5 | |
6 | IN6 | OUT6 | |
7 | OUT7 |