BSIM3unsetup(), "charge" node

This commit is contained in:
rlar 2017-01-05 18:04:19 +01:00
parent 1aaf21a49c
commit ce9422fb51
4 changed files with 20 additions and 0 deletions

View File

@ -1146,6 +1146,11 @@ BSIM3unsetup(
CKTdltNNum(ckt, here->BSIM3sNodePrime);
here->BSIM3sNodePrime = 0;
}
if (here->BSIM3qNode)
{
CKTdltNNum(ckt, here->BSIM3qNode);
here->BSIM3qNode = 0;
}
}
}
return OK;

View File

@ -916,6 +916,11 @@ BSIM3v0unsetup(GENmodel *inModel, CKTcircuit *ckt)
CKTdltNNum(ckt, here->BSIM3v0sNodePrime);
here->BSIM3v0sNodePrime = 0;
}
if (here->BSIM3v0qNode)
{
CKTdltNNum(ckt, here->BSIM3v0qNode);
here->BSIM3v0qNode = 0;
}
}
}
return OK;

View File

@ -976,6 +976,11 @@ BSIM3v1unsetup(GENmodel *inModel, CKTcircuit *ckt)
CKTdltNNum(ckt, here->BSIM3v1sNodePrime);
here->BSIM3v1sNodePrime = 0;
}
if (here->BSIM3v1qNode)
{
CKTdltNNum(ckt, here->BSIM3v1qNode);
here->BSIM3v1qNode = 0;
}
}
}
return OK;

View File

@ -1158,6 +1158,11 @@ BSIM3v32unsetup(
CKTdltNNum(ckt, here->BSIM3v32sNodePrime);
here->BSIM3v32sNodePrime = 0;
}
if (here->BSIM3v32qNode)
{
CKTdltNNum(ckt, here->BSIM3v32qNode);
here->BSIM3v32qNode = 0;
}
}
}
return OK;