123 5-bit Galois LFSR
123 : 5-bit Galois LFSR
How it works
https://en.wikipedia.org/wiki/Linear-feedback_shift_register#Galois_LFSRs
How to test
- Set the desired taps using the switches
- Assert the reset_taps pin
- Deassert reset_taps
- Set the desired initial state
- Assert reset_lfsr
- Deassert reset_lfsr
- Look at it go!
- Values between 0x00-0x0F are output as hex digits.
- Values between 0x10-0x1F are output as hex digits with a dot.
- Did you know there is a secret CPU inside?
IO
# |
Input |
Output |
0 |
clock |
segment a |
1 |
reset_lfsr |
segment b |
2 |
reset_taps |
segment c |
3 |
data_in1 |
segment d |
4 |
data_in2 |
segment e |
5 |
data_in3 |
segment f |
6 |
data_in4 |
segment g |
7 |
data_in5 |
segment p |