CAPBYPASS removed
This commit is contained in:
parent
306e46359d
commit
1c4cb49478
|
|
@ -80,21 +80,8 @@ VDMOSload(GENmodel *inModel, CKTcircuit *ckt)
|
|||
double tempv;
|
||||
#endif /*NOBYPASS*/
|
||||
int error;
|
||||
#ifdef CAPBYPASS
|
||||
int senflag;
|
||||
#endif /*CAPBYPASS*/
|
||||
int SenCond;
|
||||
|
||||
|
||||
|
||||
#ifdef CAPBYPASS
|
||||
senflag = 0;
|
||||
if(ckt->CKTsenInfo && ckt->CKTsenInfo->SENstatus == PERTURBATION &&
|
||||
(ckt->CKTsenInfo->SENmode & (ACSEN | TRANSEN))) {
|
||||
senflag = 1;
|
||||
}
|
||||
#endif /* CAPBYPASS */
|
||||
|
||||
/* loop through all the VDMOS device models */
|
||||
for( ; model != NULL; model = VDMOSnextModel(model)) {
|
||||
|
||||
|
|
@ -558,13 +545,6 @@ next1: if(vbs <= -3*vt) {
|
|||
*
|
||||
*.. bulk-drain and bulk-source depletion capacitances
|
||||
*/
|
||||
#ifdef CAPBYPASS
|
||||
if(((ckt->CKTmode & (MODEINITPRED | MODEINITTRAN) ) ||
|
||||
fabs(delvbs) >= ckt->CKTreltol * MAX(fabs(vbs),
|
||||
fabs(*(ckt->CKTstate0+here->VDMOSvbs)))+
|
||||
ckt->CKTvoltTol)|| senflag)
|
||||
#endif /*CAPBYPASS*/
|
||||
|
||||
{
|
||||
/* can't bypass the diode capacitance calculations */
|
||||
if(here->VDMOSCbs != 0 || here->VDMOSCbssw != 0 ) {
|
||||
|
|
@ -618,14 +598,6 @@ next1: if(vbs <= -3*vt) {
|
|||
here->VDMOScapbs=0;
|
||||
}
|
||||
}
|
||||
#ifdef CAPBYPASS
|
||||
if(((ckt->CKTmode & (MODEINITPRED | MODEINITTRAN) ) ||
|
||||
fabs(delvbd) >= ckt->CKTreltol * MAX(fabs(vbd),
|
||||
fabs(*(ckt->CKTstate0+here->VDMOSvbd)))+
|
||||
ckt->CKTvoltTol)|| senflag)
|
||||
#endif /*CAPBYPASS*/
|
||||
|
||||
/* can't bypass the diode capacitance calculations */
|
||||
{
|
||||
if(here->VDMOSCbd != 0 || here->VDMOSCbdsw != 0 ) {
|
||||
if (vbd < here->VDMOStDepCap) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue