EmbDev.net

Forum: FPGA, VHDL & Verilog how to generate a RANDOM NUMBER in VHDL


Author: deepak singh (dksagra)
Posted on:

Rate this post
0 useful
not useful
hi,
please tell me how to generate a RANDOM NUMBER in VHDL

Author: Christoph S. (mixer)
Posted on:

Rate this post
0 useful
not useful
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

Author: deepak singh (dksagra)
Posted on:

Rate this post
0 useful
not useful
if have to use it on HARDWARE..

Best Regards

Author: user (Guest)
Posted on:

Rate this post
0 useful
not useful

Author: Hotte (Guest)
Posted on:

Rate this post
0 useful
not useful
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_... 
(german only)

Author: Raghavendra B. (raghavendra_b98)
Posted on:

Rate this post
0 useful
not useful
Random number in VHDL in opencore project.

http://opencores.org/project,rng_lib

Author: patu (Guest)
Posted on:

Rate this post
0 useful
not useful
Do you need the random for security eg. crypto ?

Author: Raghavendra B. (raghavendra_b98)
Posted on:

Rate this post
0 useful
not useful
I don't no about security.

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [vhdl]VHDL code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.