fet
New Member
Offline
Posts: 4
|
Hi, thank you in advance for your time and kindness.
I'm trying to model white noise using verilogams. However, the version I'm using (IUS62) does not support noise statement. So alternatively I'm trying to use random number generator. The code is quite straightforward:
------------------------------------- noise_seed=1234; rms_vthermal_noise=10m; rthermal_noise = $rdist_normal(noise_seed, 0, rms_vthermal_noise) $display ("Random noise is %g", rthermal_noise); -------------------------------------
According to the Verilog-AMS Language Reference (version 5.7, March 2006), page 125, the generated random number changes at every time step. However, I found this not true by using the $display statement.
Anyone has the same problem? Thank you very much!
|