Github linear feedback shift register

broken image
broken image
broken image

The outputs obtained when the shift register is initialized to 7'b1 are: 1, 3, 7, 1F, 3F, 7F, 7E, 7D, 7A, 75. In order to implement the polynomial 1+X+X^7 on the other hand the 7th and 1st output of a 7-bit shift-register are fed to a xor gate and then to the input of the shift-register itself.īefore implementing the circuit in verilog the values produced by the LFSR were calculated manually. This experiment requires us to implement a 7-bit LFSR using the polynomial 1+X+X^7.Īn example of LFSR implementing the polynomial 1+X^3+X^4 is the following:

broken image