The second button press sets a ceiling value for the 1kHz counter. When the counter hits that value, it barrel-shifts the outputs by one bit. When the mode pin isn’t asserted, the first output pin emits digital noise generated by a LFSR
Set 1kHz clock on first input. After reset, set mode to 1, tap the tap button twice within one second. The outputs should set to the beat
# | Input | Output |
---|---|---|
0 | clk | o_0 - LED or noise output |
1 | rst | o_1 - LED |
2 | tap | o_2 - LED |
3 | mode | o_3 - LED |
4 | none | o_4 - LED |
5 | none | o_5 - LED |
6 | none | o_6 - LED |
7 | none | o_7 - LED |