Robert Rogers
08/25/2021, 8:19 PM-hspice-ext
and similar? Reviewing the following app note:
https://xyce.sandia.gov/downloads/_assets/documents/AppNote-HSPICE_Compat.pdf
I wanted to confirm my distribution functions (e.g. unif
, agauss
, etc.) are acting as i expect when MC is off.Eric Keiter
08/27/2021, 7:26 PMEric Keiter
08/27/2021, 7:27 PM-hspice-ext random
not being necessary anymore. Before, the default behavior was for these operators to always produce a random number, even if the code was not doing sampling. After 7.3, the default behavior got changed so that they return the mean, unless some type of UQ analysis is specified in the netlist.Eric Keiter
08/27/2021, 7:29 PMEric Keiter
08/27/2021, 7:32 PMSAMPLING
command to the netlist, and then specify a single sample. But I’m expecting most people won’t need to do that.Eric Keiter
08/27/2021, 7:34 PM-hspice-ext random
command there. Xyce’s weird default behavior required extra logic, but now that is has been deprecated that code was removed and it is a bit cleaner.Eric Keiter
08/27/2021, 7:43 PM-hspice-ext
since the Xyce 7.3 release, and that is support for using a period “.” rather than a colon “:” as a subcircuit name delimeter. That feature is only on the Xyce development branch right now, but will be part of Xyce 7.4 later. So at this point, the 3 things that are toggled by -hspice-ext all
are units
, math
, and separator
.Eric Keiter
08/27/2021, 7:43 PMunits
modifies the meaning of the “a” suffix in expressions. In some codes it means amps and in other codes it means a 1.0e-18 multiplier.Eric Keiter
08/27/2021, 7:43 PMmath
toggles the meaning of a few arithmetic operators such as log
. In some codes log means natural log and in others it means log10.Eric Keiter
08/27/2021, 7:45 PMseparator
toggles which character is used as the separator in sub circuit names. In most codes, a period is used as the separator. In Xyce, for historical reasons, we have used the colon. We will probably switch to using the period unconditionally in the future, but we aren’t ready yet.Eric Keiter
08/27/2021, 7:46 PM-hspice-ext all
) is here: https://xyce.sandia.gov/downloads/_assets/documents/XDM_User_Guide.pdf. It is slightly out of date, as I mentioned above.Robert Rogers
08/27/2021, 7:54 PMEric Keiter
08/27/2021, 7:58 PMEric Keiter
08/27/2021, 8:02 PMRobert Rogers
08/27/2021, 8:06 PM