b4v6set.c, BSIM4v6unsetup(), bug fix, the other bsim too !
Some local nodes have not been deleted, breaking allocation of nodes during a following CKTsetup()
This commit is contained in:
parent
65f10abb5d
commit
2e7a677177
|
|
@ -2478,6 +2478,27 @@ BSIM4v6unsetup(GENmodel *inModel, CKTcircuit *ckt)
|
|||
CKTdltNNum(ckt, here->BSIM4v6sNodePrime);
|
||||
here->BSIM4v6sNodePrime = 0;
|
||||
}
|
||||
|
||||
if (here->BSIM4v6sbNode
|
||||
&& here->BSIM4v6sbNode != here->BSIM4v6bNode)
|
||||
{
|
||||
CKTdltNNum(ckt, here->BSIM4v6sbNode);
|
||||
here->BSIM4v6sbNode = 0;
|
||||
}
|
||||
|
||||
if (here->BSIM4v6bNodePrime
|
||||
&& here->BSIM4v6bNodePrime != here->BSIM4v6bNode)
|
||||
{
|
||||
CKTdltNNum(ckt, here->BSIM4v6bNodePrime);
|
||||
here->BSIM4v6bNodePrime = 0;
|
||||
}
|
||||
|
||||
if (here->BSIM4v6dbNode
|
||||
&& here->BSIM4v6dbNode != here->BSIM4v6bNode)
|
||||
{
|
||||
CKTdltNNum(ckt, here->BSIM4v6dbNode);
|
||||
here->BSIM4v6dbNode = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue