J
Jimmy Blue
Guest
Standard spectre setup, using veriloga "wrapper"
about MOSFETs to add some nonideal behaviors to
the circuit. I have hard-coded versions working.
What I want, is to be able to alter the devices'
behavior further, by the value of a simulator
session variable. For example, I would like to
vary the VT by a series voltage source to the
FETs' gate terminal by changing session variable
'deltaVT'.
The veriloga docs show only one likely option for
this, "dynamicparam", but this yields only an
error as unsupported. Searches for "global net"
and "global variable" return nothing. There is
a mention of using the 'ground' statement and
declaring multiple nets is an implied option,
but it also mentions that these will then be
the reference for internal operations; I do not
want everything referred to my "pivot" variable,
only certain elements affected by it. Is the
"ground" statement a means to bring in in non-
prime-ground, non-zero "global" nets?
I want a global value to affect every device
without having to add properties and ensure they
all filled in, every time. A global electrical
node / quantity or a global variable would be
OK. Requiring changes to the netlist procedures
and explicit passing-down is not OK, because I do
not have access to that layer of the design kit.
What means are there to make veriloga modules
"see" the direction from above, as described?
about MOSFETs to add some nonideal behaviors to
the circuit. I have hard-coded versions working.
What I want, is to be able to alter the devices'
behavior further, by the value of a simulator
session variable. For example, I would like to
vary the VT by a series voltage source to the
FETs' gate terminal by changing session variable
'deltaVT'.
The veriloga docs show only one likely option for
this, "dynamicparam", but this yields only an
error as unsupported. Searches for "global net"
and "global variable" return nothing. There is
a mention of using the 'ground' statement and
declaring multiple nets is an implied option,
but it also mentions that these will then be
the reference for internal operations; I do not
want everything referred to my "pivot" variable,
only certain elements affected by it. Is the
"ground" statement a means to bring in in non-
prime-ground, non-zero "global" nets?
I want a global value to affect every device
without having to add properties and ensure they
all filled in, every time. A global electrical
node / quantity or a global variable would be
OK. Requiring changes to the netlist procedures
and explicit passing-down is not OK, because I do
not have access to that layer of the design kit.
What means are there to make veriloga modules
"see" the direction from above, as described?