Forum Discussion
Altera_Forum
Honored Contributor
16 years agoDo you use LPMs for your LFSRs?
I want to implement an LFSR as a means of generating random numbers but I'm not sure whether to use an LPM or just code it in a process. I would be interested to hear how you choose to implement them...
Altera_Forum
Honored Contributor
16 years agoProbably your xor results in 1 always.
You need to use standard proven register lengths and taps. There is plenty of literature for various sizes and taps. e.g.one from xilinx: google xilinx LFSR also note your feedback point should be at one end rather than 2nd stage