re-format code (whitespace only)
This commit is contained in:
parent
45f52c859b
commit
9d00a9e28d
|
|
@ -78,8 +78,8 @@ VDMOSdSetup(GENmodel *inModel, CKTcircuit *ckt)
|
|||
|
||||
vt = CONSTKoverQ * here->VDMOStemp;
|
||||
|
||||
DrainSatCur = here->VDMOSm * here->VDMOStSatCur;
|
||||
SourceSatCur = here->VDMOSm * here->VDMOStSatCur;
|
||||
DrainSatCur = here->VDMOSm * here->VDMOStSatCur;
|
||||
SourceSatCur = here->VDMOSm * here->VDMOStSatCur;
|
||||
|
||||
Beta = here->VDMOStTransconductance * here->VDMOSm *
|
||||
here->VDMOSw/here->VDMOSl;
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -197,15 +197,15 @@ VDMOStemp(GENmodel *inModel, CKTcircuit *ckt)
|
|||
fact1 = model->VDMOStnom / REFTEMP;
|
||||
pbfact1 = -2 * vtnom*(1.5*log(fact1) + CHARGE*arg1);
|
||||
|
||||
pbo = (model->VDIOjunctionPot - pbfact1) / fact1;
|
||||
gmaold = (model->VDIOjunctionPot - pbo) / pbo;
|
||||
here->VDIOtJctCap = model->VDIOjunctionCap /
|
||||
(1 + here->VDIOtGradingCoeff*
|
||||
(400e-6*(model->VDMOStnom - REFTEMP) - gmaold));
|
||||
here->VDIOtJctPot = pbfact + fact2*pbo;
|
||||
gmanew = (here->VDIOtJctPot - pbo) / pbo;
|
||||
here->VDIOtJctCap *= 1 + here->VDIOtGradingCoeff*
|
||||
(400e-6*(here->VDMOStemp - REFTEMP) - gmanew);
|
||||
pbo = (model->VDIOjunctionPot - pbfact1) / fact1;
|
||||
gmaold = (model->VDIOjunctionPot - pbo) / pbo;
|
||||
here->VDIOtJctCap = model->VDIOjunctionCap /
|
||||
(1 + here->VDIOtGradingCoeff*
|
||||
(400e-6*(model->VDMOStnom - REFTEMP) - gmaold));
|
||||
here->VDIOtJctPot = pbfact + fact2*pbo;
|
||||
gmanew = (here->VDIOtJctPot - pbo) / pbo;
|
||||
here->VDIOtJctCap *= 1 + here->VDIOtGradingCoeff*
|
||||
(400e-6*(here->VDMOStemp - REFTEMP) - gmanew);
|
||||
|
||||
|
||||
here->VDIOtSatCur = model->VDIOjctSatCur * exp(
|
||||
|
|
@ -220,7 +220,7 @@ VDMOStemp(GENmodel *inModel, CKTcircuit *ckt)
|
|||
(1 - exp((1 - here->VDIOtGradingCoeff)*xfc)) /
|
||||
(1 - here->VDIOtGradingCoeff);
|
||||
/* same for Depletion Capacitance */
|
||||
here->VDIOtDepCap = model->VDIOdepletionCapCoeff*
|
||||
here->VDIOtDepCap = model->VDIOdepletionCapCoeff *
|
||||
here->VDIOtJctPot;
|
||||
|
||||
/* and Vcrit */
|
||||
|
|
|
|||
Loading…
Reference in New Issue