From e9e621de0717d592c06654d0ddfb06e7ce7d71f2 Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Tue, 3 Apr 2018 23:05:57 +0200 Subject: [PATCH] remove effective channel length, replace by l --- src/spicelib/devices/vdmos/vdmosload.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/spicelib/devices/vdmos/vdmosload.c b/src/spicelib/devices/vdmos/vdmosload.c index 5aa6bd1cb..b032214fb 100644 --- a/src/spicelib/devices/vdmos/vdmosload.c +++ b/src/spicelib/devices/vdmos/vdmosload.c @@ -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