Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

$dist_normal system task

Status
Not open for further replies.

rettylee

Newbie level 6
Joined
Dec 9, 2010
Messages
12
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,355
Hi,guys:
I need to use $dist_normal to generate random data.The task $dist_normal has 3 parameters:SEED,MEAN,STDEV.I only want to maks sure the MEAN and STDEV,the SEED is random.
How can i use the first parameter of task $dist_normal(????,DATA1,DATA2)?
Anyone can help me ?
Thanks
 
Last edited:

kornukhin

Full Member level 3
Joined
Sep 2, 2010
Messages
165
Helped
46
Reputation
92
Reaction score
46
Trophy points
1,308
Location
Zelenograd
Activity points
2,169
From "SYSTEMVERILOG FOR VERIFICATION.A Guide to Learning the Testbench Language Features.":
" If you run the same test 50 times, each with a unique seed, you will get 50 different sets of stimuli. Running with multiple seeds broadens the coverage of your test and leverages your work. "

If you need only one set - use constant seed.
Else use unique seed.
 

rettylee

Newbie level 6
Joined
Dec 9, 2010
Messages
12
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,355
Thanks for your guide.I know how should I do now.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top