dimanche 1 juillet 2018

Random real numbers with uniform distribution in verilog

Is there a function to generate random real numbers in the range [0,1] with uniform distribution in verilog. I tried $random%2 but it generates only integer values {-1,0,1}. There is a function uniform() in VHDL, is there a similar function in verilog?




Aucun commentaire:

Enregistrer un commentaire