no double count of area for capacitances
This commit is contained in:
parent
dcc22ada60
commit
c9b729032d
|
|
@ -332,8 +332,8 @@ next1: if (model->DIOsatSWCurGiven) { /* consider sidewall currents */
|
||||||
/*
|
/*
|
||||||
* charge storage elements
|
* charge storage elements
|
||||||
*/
|
*/
|
||||||
czero=here->DIOtJctCap*here->DIOarea;
|
czero=here->DIOtJctCap;
|
||||||
czeroSW=here->DIOtJctSWCap*here->DIOpj;
|
czeroSW=here->DIOtJctSWCap;
|
||||||
if (vd < here->DIOtDepCap){
|
if (vd < here->DIOtDepCap){
|
||||||
arg=1-vd/here->DIOtJctPot;
|
arg=1-vd/here->DIOtJctPot;
|
||||||
argSW=1-vd/here->DIOtJctSWPot;
|
argSW=1-vd/here->DIOtJctSWPot;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue