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;
|
real gth, cth;
|
||||||
`endif
|
`endif
|
||||||
|
|
||||||
|
`ifdef __RGATEMOD__
|
||||||
|
real Ggate, Gnoise;
|
||||||
|
`endif
|
||||||
|
|
||||||
// ---- OPERATING POINT VARIABLES ----
|
// ---- OPERATING POINT VARIABLES ----
|
||||||
`OPP( QBI , "C" , "Intrinsic Body Charge")
|
`OPP( QBI , "C" , "Intrinsic Body Charge")
|
||||||
`OPP( QSI , "C" , "Intrinsic Source Charge")
|
`OPP( QSI , "C" , "Intrinsic Source Charge")
|
||||||
|
|
@ -4436,7 +4440,6 @@ end
|
||||||
if (RGATEMOD == 0) begin
|
if (RGATEMOD == 0) begin
|
||||||
V(g, gm) <+ 0;
|
V(g, gm) <+ 0;
|
||||||
end else begin : rgate
|
end else begin : rgate
|
||||||
real Ggate, Gnoise;
|
|
||||||
if (RGATEMOD == 2) begin
|
if (RGATEMOD == 2) begin
|
||||||
Ggate = Gcrg;
|
Ggate = Gcrg;
|
||||||
Gnoise = Gcrg * Gcrg / Grgeltd;
|
Gnoise = Gcrg * Gcrg / Grgeltd;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue