Forum Discussion
Altera_Forum
Honored Contributor
9 years agonot random at each execution
Hi all, I have a problem with generating a random from the uniform function, it is always the same with each execution of the process. I have attached a piece of code to the testbenc...
Altera_Forum
Honored Contributor
9 years agoFor testing, you NEED re-createable results, so having it fully random would be of a hinderance rather than a help.
On hardware, you cannot even use the uniform function, so you will need some form of random number generator. You could use an LFSR, but it works similarly, in that once you give it a seed you'll get the same sequence.