Browse Source

correct init the correlated noise slot

dwarning 15 years ago
parent
commit
bbe409fbd2
  1. 7
      src/spicelib/devices/bsim4/b4noi.c

7
src/spicelib/devices/bsim4/b4noi.c

@ -129,7 +129,12 @@ double m;
};
for (; model != NULL; model = model->BSIM4nextModel)
{ for (here = model->BSIM4instances; here != NULL;
{
if(model->BSIM4tnoiMod != 2) {
noizDens[BSIM4CORLNOIZ] = 0.0;
lnNdens[BSIM4CORLNOIZ] = N_MINLOG;
}
for (here = model->BSIM4instances; here != NULL;
here = here->BSIM4nextInstance)
{ pParam = here->pParam;
switch (operation)

Loading…
Cancel
Save