Did you know that Icarus Verilog includes a non-standard random number generator as a built-in?
$mti_random()
$mti_dist_uniform
These functions are similar to the IEEE1364 standard
$random
functions, but they use the Mersenne Twister (MT19937) algorithm. This is considered an excellent random number generator, but does not generate the same sequence as the standardized $random
.#iverilog #simulation #verilog #random #RNG
>>Click here to continue<<
