The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Modeling >> Behavioral Models >> invoking gaussian function in hspice into veriloga
https://designers-guide.org/forum/YaBB.pl?num=1169969161

Message started by parthsv on Jan 27th, 2007, 11:26pm

Title: invoking gaussian function in hspice into veriloga
Post by parthsv on 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,

Title: Re: invoking gaussian function in hspice into veri
Post by ACWWong on 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


The Designer's Guide Community Forum » Powered by YaBB 2.2.2!
YaBB © 2000-2008. All Rights Reserved.