Forum: FPGA, VHDL & Verilog generate random bit function

Author: Mike (Guest)
Posted on:

Rate this post
0 useful
not useful
Hello, I'm looking for a function that I call from a testbench and 
returns a random std_logic. Someone can help me? Thanks

Author: Der Besucher (Guest)
Posted on:

Rate this post
0 useful
not useful
This an example with UNIFORM function from math_real library.



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.