|
|
|
@ -107,7 +107,7 @@ VDMOSsetup(SMPmatrix *matrix, GENmodel *inModel, CKTcircuit *ckt, |
|
|
|
model->VDMOSrds = 1.0e+15; |
|
|
|
|
|
|
|
if (!model->VDIOresistanceGiven) |
|
|
|
model->VDIOresistance = 1.0e-03; |
|
|
|
model->VDIOresistance = 10e-03; |
|
|
|
|
|
|
|
if (!model->VDMOSnGiven) |
|
|
|
model->VDMOSn = 1.; |
|
|
|
@ -242,10 +242,10 @@ VDMOSsetup(SMPmatrix *matrix, GENmodel *inModel, CKTcircuit *ckt, |
|
|
|
} else { |
|
|
|
here->VDMOSdsConductance = 1e-15; |
|
|
|
} |
|
|
|
if (model->VDIOresistance != 0) { |
|
|
|
if (model->VDIOresistance > 10e-03) { |
|
|
|
here->VDIOconductance = here->VDMOSm / model->VDIOresistance; |
|
|
|
} else { |
|
|
|
here->VDIOconductance = here->VDMOSm / 1.0e-03; |
|
|
|
here->VDIOconductance = here->VDMOSm / 10e-03; |
|
|
|
} |
|
|
|
|
|
|
|
if (model->VDMOSdrainResistance != 0) { |
|
|
|
|