Hi Helina,
find the VHDL code for LFSRs there:
http://sciencezero.4hv.org/science/lfsr.htm[
^], the site also has the codes for MMX, ARM, C++ and BASIC.
VHDL code for a LFSR
signal lfsr : std_logic_vector(14 downto 0);
lfsr <= lfsr(13 downto 0) & (lfsr(14) xnor lfsr(0));
You may need to adjust for register length and tap points.
Best Regards,
Manfred