Browse Source

no double count of area for capacitances

dwarning 14 years ago
parent
commit
c9b729032d
  1. 4
      src/spicelib/devices/dio/dioload.c

4
src/spicelib/devices/dio/dioload.c

@ -332,8 +332,8 @@ next1: if (model->DIOsatSWCurGiven) { /* consider sidewall currents */
/* /*
* charge storage elements * charge storage elements
*/ */
czero=here->DIOtJctCap*here->DIOarea;
czeroSW=here->DIOtJctSWCap*here->DIOpj;
czero=here->DIOtJctCap;
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…
Cancel
Save