123 5-bit Galois LFSR
123 : 0b 001 111 011 : 5-bit Galois LFSR
- Author: Michael Bikovitsky
- Description: 5-bit Galois LFSR with configurable taps and initial state. Outputs a value every second.
- GitHub repository
- HDL project
- Extra docs
- Clock: 625 Hz
- External hardware:
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 |