bsimbulk.va, adms workaround, don't use local variables

This commit is contained in:
Holger Vogt 2018-03-10 15:56:30 +01:00
parent 7bbc32524b
commit 4c2438d5fe
1 changed files with 3 additions and 1 deletions

View File

@ -1896,6 +1896,9 @@ real T0a, T0b, T0c, T0d, T0e, Swi_h, t_tot, CF_ch, CF_h, LeffnoiH;
// Self Heating
real gth, cth;
real Ggate, Gnoise;
// OPERATING POINT VARIABLES
`OPM( QBI, "C", "Intrinsic body charge")
`OPM( QSI, "C", "Intrinsic source charge")
@ -4338,7 +4341,6 @@ analog begin
if (RGATEMOD == 0) begin
V(g, gm) <+ 0.0;
end else begin: rgate
real Ggate, Gnoise;
if (RGATEMOD == 2) begin
Ggate = Gcrg;
Gnoise = Gcrg * Gcrg / Grgeltd;