Forum Discussion
Altera_Forum
Honored Contributor
18 years agoLFSR as counter in VHDL
I am running a bit low on gates in a VHDL design, and I am replacing a counter implemented by addition with a counter implemented as an LFSR. The main crystal is 3.6864 MHz and the counter needs to h...
Altera_Forum
Honored Contributor
18 years agoI think you need to xor bit(20) as well.
For a decent reference try http://en.wikipedia.org/wiki/linear_feedback_shift_register