Source file and testbench for the LFSR tutorial - https://fpgaer.tech/?p=51
VHDL src and testbench for LFSR tutorial