The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl Design Languages >> Verilog-AMS >> random number generation https://designers-guide.org/forum/YaBB.pl?num=1273229531 Message started by rajdeep on May 7th, 2010, 3:52am |
Title: random number generation Post by rajdeep on May 7th, 2010, 3:52am Hi All, I was trying to use a $rdist_uniform to generate random numbers. The code portion is: Code:
Seed has been defined as 1. I thought it would generate a random voltage at every negative edge of clk. But it does not do that!! Im running it using Cadence Spectre. Any help? Thanks! Rajdeep |
Title: Re: random number generation Post by rajdeep on May 7th, 2010, 4:28am Hi all, Sorry! I got the problem now! :-? It was the seed variable. I made it hard coded!! I didnt realize this variable gets updated internally!! Rajdeep |
The Designer's Guide Community Forum » Powered by YaBB 2.2.2! YaBB © 2000-2008. All Rights Reserved. |