|
|
@ -70,8 +70,8 @@ VDMOSpzLoad(GENmodel *inModel, CKTcircuit *ckt, SPcomplex *s) |
|
|
*(here->VDMOSSPgpPtr ) -= xgs*s->real; |
|
|
*(here->VDMOSSPgpPtr ) -= xgs*s->real; |
|
|
*(here->VDMOSSPgpPtr +1) -= xgs*s->imag; |
|
|
*(here->VDMOSSPgpPtr +1) -= xgs*s->imag; |
|
|
|
|
|
|
|
|
*(here->VDMOSDdPtr) += here->VDMOSdrainConductance; |
|
|
|
|
|
*(here->VDMOSSsPtr) += here->VDMOSsourceConductance; |
|
|
|
|
|
|
|
|
*(here->VDMOSDdPtr) += here->VDMOSdrainConductance + here->VDMOSdsConductance; |
|
|
|
|
|
*(here->VDMOSSsPtr) += here->VDMOSsourceConductance + here->VDMOSdsConductance; |
|
|
*(here->VDMOSDPdpPtr) += here->VDMOSdrainConductance+ |
|
|
*(here->VDMOSDPdpPtr) += here->VDMOSdrainConductance+ |
|
|
here->VDMOSgds+xrev*(here->VDMOSgm); |
|
|
here->VDMOSgds+xrev*(here->VDMOSgm); |
|
|
*(here->VDMOSSPspPtr) += here->VDMOSsourceConductance+ |
|
|
*(here->VDMOSSPspPtr) += here->VDMOSsourceConductance+ |
|
|
@ -84,6 +84,8 @@ VDMOSpzLoad(GENmodel *inModel, CKTcircuit *ckt, SPcomplex *s) |
|
|
*(here->VDMOSSPgpPtr) -= (xnrm-xrev)*here->VDMOSgm; |
|
|
*(here->VDMOSSPgpPtr) -= (xnrm-xrev)*here->VDMOSgm; |
|
|
*(here->VDMOSSPsPtr) -= here->VDMOSsourceConductance; |
|
|
*(here->VDMOSSPsPtr) -= here->VDMOSsourceConductance; |
|
|
*(here->VDMOSSPdpPtr) -= here->VDMOSgds+xrev*(here->VDMOSgm); |
|
|
*(here->VDMOSSPdpPtr) -= here->VDMOSgds+xrev*(here->VDMOSgm); |
|
|
|
|
|
*(here->VDMOSDsPtr) += (-here->VDMOSdsConductance); |
|
|
|
|
|
*(here->VDMOSSdPtr) += (-here->VDMOSdsConductance); |
|
|
/* gate resistor */ |
|
|
/* gate resistor */ |
|
|
*(here->VDMOSGgPtr) += (here->VDMOSgateConductance); |
|
|
*(here->VDMOSGgPtr) += (here->VDMOSgateConductance); |
|
|
*(here->VDMOSGPgpPtr) += (here->VDMOSgateConductance); |
|
|
*(here->VDMOSGPgpPtr) += (here->VDMOSgateConductance); |
|
|
|