remove effective channel length, replace by l

This commit is contained in:
Holger Vogt 2018-04-03 23:05:57 +02:00 committed by rlar
parent 47ef2bfaff
commit e9e621de07
1 changed files with 1 additions and 4 deletions

View File

@ -24,7 +24,6 @@ VDMOSload(GENmodel *inModel, CKTcircuit *ckt)
VDMOSinstance *here;
double Beta;
double DrainSatCur;
double EffectiveLength;
double SourceSatCur;
double arg;
double cbhat;
@ -100,8 +99,6 @@ VDMOSload(GENmodel *inModel, CKTcircuit *ckt)
* here. They may be moved at the expense of instance size
*/
EffectiveLength = here->VDMOSl - 2 * model->VDMOSlatDiff;
if ((here->VDMOStSatCurDens == 0) ||
(here->VDMOSdrainArea == 0) ||
(here->VDMOSsourceArea == 0)) {
@ -115,7 +112,7 @@ VDMOSload(GENmodel *inModel, CKTcircuit *ckt)
here->VDMOSm * here->VDMOSsourceArea;
}
Beta = here->VDMOStTransconductance * here->VDMOSm *
here->VDMOSw / EffectiveLength;
here->VDMOSw / here->VDMOSl;
/*
* ok - now to do the start-up operations