|
|
@ -197,15 +197,15 @@ VDMOStemp(GENmodel *inModel, CKTcircuit *ckt) |
|
|
fact1 = model->VDMOStnom / REFTEMP; |
|
|
fact1 = model->VDMOStnom / REFTEMP; |
|
|
pbfact1 = -2 * vtnom*(1.5*log(fact1) + CHARGE*arg1); |
|
|
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( |
|
|
here->VDIOtSatCur = model->VDIOjctSatCur * exp( |
|
|
@ -220,7 +220,7 @@ VDMOStemp(GENmodel *inModel, CKTcircuit *ckt) |
|
|
(1 - exp((1 - here->VDIOtGradingCoeff)*xfc)) / |
|
|
(1 - exp((1 - here->VDIOtGradingCoeff)*xfc)) / |
|
|
(1 - here->VDIOtGradingCoeff); |
|
|
(1 - here->VDIOtGradingCoeff); |
|
|
/* same for Depletion Capacitance */ |
|
|
/* same for Depletion Capacitance */ |
|
|
here->VDIOtDepCap = model->VDIOdepletionCapCoeff* |
|
|
|
|
|
|
|
|
here->VDIOtDepCap = model->VDIOdepletionCapCoeff * |
|
|
here->VDIOtJctPot; |
|
|
here->VDIOtJctPot; |
|
|
|
|
|
|
|
|
/* and Vcrit */ |
|
|
/* and Vcrit */ |
|
|
|