bsim6.va, work around body local vars (topology.c)
again OPdependent related
This commit is contained in:
parent
e96bb72e8c
commit
64a274ac5c
|
|
@ -1903,6 +1903,10 @@ real q_vth, psip_th;
|
|||
real gth, cth;
|
||||
`endif
|
||||
|
||||
`ifdef __RGATEMOD__
|
||||
real Ggate, Gnoise;
|
||||
`endif
|
||||
|
||||
// ---- OPERATING POINT VARIABLES ----
|
||||
`OPP( QBI , "C" , "Intrinsic Body Charge")
|
||||
`OPP( QSI , "C" , "Intrinsic Source Charge")
|
||||
|
|
@ -4436,7 +4440,6 @@ end
|
|||
if (RGATEMOD == 0) begin
|
||||
V(g, gm) <+ 0;
|
||||
end else begin : rgate
|
||||
real Ggate, Gnoise;
|
||||
if (RGATEMOD == 2) begin
|
||||
Ggate = Gcrg;
|
||||
Gnoise = Gcrg * Gcrg / Grgeltd;
|
||||
|
|
|
|||
Loading…
Reference in New Issue