13 8bit configurable galois lfsr

13 : 8bit configurable galois lfsr

Select Project123456789ONSW2
  • Author: Alexander Schönborn
  • Description: A 8bit configurable galois lfsr.
  • GitHub repository
  • Clock: 1000 Hz

How it works

Uses 2 cycles each to set the shift and xor mask registers. It has 3 operation modes: normal shift,

How to test

After reset, set the shift register and xor state, after that normal shift mode

IO

#InputOutput
0clockoutput[0] lsb normal lfsr output
1resetoutput[1] other 7 bits to see the full state
2mode[0] 00 normal shift mode, 01 set register mode,output[2]
3mode[1] 10 set mode registers, 11 unusedoutput[3]
4data_in[0] is used for both filling register and xor mask stateoutput[4]
5data_in[1] needs 2 cycles to fill all 8 bitsoutput[5]
6data_in[2] first cyle is lower 4 bits, 2nd upper 4 bitsoutput[6]
7data_in[3] see aboveoutput[7]