The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
May 11th, 2024, 4:23am
Pages: 1
Send Topic Print
invoking gaussian function in hspice into veriloga (Read 3317 times)
parthsv
New Member
*
Offline



Posts: 6

invoking gaussian function in hspice into veriloga
Jan 27th, 2007, 11:26pm
 
Hi All,
 I am using agauss(nom,abs,sigma) in hspice to create gaussian values (say an offset voltage). How do I use this value generated in hspice into verilogA model which is used as a part of spice netlist?
   Ofcourse, i can use rdist_normal function in verilogA- the problem is, this function generates value everytime the program is run. I need to have one gaussian number generated only for one complete 'tran' simulation and  say '20' such numbers generated for each of '20' transient runs (monte calro sweep in hspice ).

can anyone help me with this?

Thanks in Advance,
Back to top
 
 
View Profile   IP Logged
ACWWong
Community Fellow
*****
Offline



Posts: 539
Oxford, UK
Re: invoking gaussian function in hspice into veri
Reply #1 - Jan 28th, 2007, 4:52am
 
The method of inherited parameters (which enables monte-carlo mismatch for verilogA devices) is now documented in the VerilogA reference guide since June2006 release (which should be availble in your installation path ?) Look under the section DatatypeObjects -> Parameters... i have used it with spectre monte-carlo analysis and it works well..

Please see the related topic:

http://www.designers-guide.org/Forum/YaBB.pl?num=1148344700/7#7

I'm not familiar with hspice monte-carlo sweep, but another solution might be to step the seed within the veriloga ( in $rdist_normal(seed,mean,sigma) )every sweep...

hope this helps....
aw

Back to top
 
 
View Profile   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.