If you google "lsfr verilog", you would come up with many choices. One of
the first entries I came up with is
probably tells you more than you will ever care to know about LFSRs. It is
straightforward to modify the LSFR code to just be a shift register.
Have fun with the rest of your homework.
"Sridhar_Gadda" <email@example.com> wrote in message
> Hi All,
> I need Shift register and LFSR verilog code...Please forward them
> if you have written one earlier.