Forum Discussion
Altera_Forum
Honored Contributor
14 years agoHandling large arrays in VHDL
I have a constant array of integers (2^8 words deep) declared in VHDL. Each entry is a random number in the range 0-65535. There is a nonlinear mapping between the random numbers and the index of the...
Altera_Forum
Honored Contributor
14 years agoIf you just want random numbers, then use a Linear Feedback Shift Register (LFSR), see this doc and source:
http://www.ovro.caltech.edu/~dwh/correlator/pdf/lfsr_tutorial.pdf http://www.ovro.caltech.edu/~dwh/correlator/pdf/lfsr_tutorial_src.zip Cheers, Dave