What is the syntax for saving instance parameters ...
# xyce
p
What is the syntax for saving instance parameters like gm or id in Xyce?
y
.print n(xm:m1:gm)
p
so...
V()
for voltages,
I()
for currents, and
N()
for instance parameters, and
:
as a "path separator"?
Who would have guessed
y
That's my understanding. And you need to be sure you reference the actual MOSFET model. Most spice models have the MOSFET you instantiate as a subcircuit with the actual MOSFET model inside that
p
yeah 😕
r
Mostly that practice is to help contain all of the calculations relevant to the MOSFET model to one place. That's useful since all the parameters depend on the analysis conducted, and lets you vary things sensibly without namespace collisions for stuff like monte-carlo analysis.
e
The separator can be set to be a period instead of a colon. This is enabled via the command line arguments, either
Xyce -hspice-ext separator
or
Xyce -hspice-ext all