| jnicolle.com |
11/05/2001 - LFSR testbench 1.20 (beta) adds more sequence lengths.
07/05/2000 - LFSR testbench 1.10 fixes the schematic feedback paths when the 'extended-sequence logic' is used. HDL generation was correct and has not changed. Thanks for Rick Collins for bringing that to my attention.
LFSRs are pretty well known and understood. You can find numerous descriptions in the literature and on the net.
My contribution is LFSR testbench 1.20 beta (156KB) software. It will help you understand LFSR basics:

Note that the software always produces non-parameterized LFSR designs, so here's an example of a parameterized one (AHDL).
What's an LFSR? is a TI article in PDF format.
LFSR Reference from New Wave Instruments.
LFSR counters from EDN mag.
LFSR from EDN mag.
Here comes the usual disclaimer: These software and all the accompanying files are provided "as is" and without any warranties expressed or implied including but not limited to implied warranties of merchantability and fitness for a particular purpose. In no event should the author be liable for any damages whatsoever (including without limitation, damages for loss of business profits, business interruption, loss of business information, or any other pecuniary loss) arising out of the use or inability to use this product.