Browse Source

allow compile w/o NEWCONV defined

pre-master-46
dwarning 2 years ago
committed by Holger Vogt
parent
commit
a98cfcd8cb
  1. 5
      src/spicelib/devices/bsim3v1/b3v1ld.c
  2. 3
      src/spicelib/devices/bsimsoi/b4soild.c

5
src/spicelib/devices/bsim3v1/b3v1ld.c

@ -121,7 +121,10 @@ double Cgg1, Cgb1, Cgd1, Cbg1, Cbb1, Cbd1, Qac0, Qsub0;
double dQac0_dVg, dQac0_dVd, dQac0_dVb, dQsub0_dVg, dQsub0_dVd, dQsub0_dVb;
double m = 1.0;
#ifndef NEWCONV
double tol;
#endif
struct bsim3v1SizeDependParam *pParam;
int ByPass, Check, ChargeComputationNeeded = 0, error;

3
src/spicelib/devices/bsimsoi/b4soild.c

@ -487,6 +487,9 @@ int B4SOILoadOMP(B4SOIinstance *here, CKTcircuit *ckt) {
double eggbcp2, eggdep, agb1, bgb1, agb2, bgb2, agbc2n, agbc2p, bgbc2n, bgbc2p, Vtm00; /* v4.3.1 bugfix for mtrlMod=1 -Tanvir */
double m;
#ifndef NEWCONV
double tol;
#endif
#ifndef USE_OMP
for (; model != NULL; model = B4SOInextModel(model))

Loading…
Cancel
Save