hi, please tell me how to generate a RANDOM NUMBER in VHDL
Hi, if you just simulate a VHDL code you can use the UNIFORM procedure, but if you want to use random numbers on real Hardware you may could use a linear feedback shift register. Greets
if have to use it on HARDWARE.. Best Regards
Guest
#2575798
you can use a lfsr http://en.wikipedia.org/wiki/Linear_feedback_shift_register
Guest
#2576799
This is no random number. These numbers are dedicated and only hard to estimate. real random numbers can only ge generated from non dedicated information sources like temprature, radiation and such thigs. you have to scan your environment and bring them into your system with an ADC influencing random number generators perhaps. you can find an approch here in this forum at: http://www.mikrocontroller.net/articles/Digitaler_Zufallszahlengenerator_in_VHDL (german only)
Random number in VHDL in opencore project. http://opencores.org/project,rng_lib
Guest
#2579136
Do you need the random for security eg. crypto ?
I don't no about security.
Reply
Please log in before posting.