Browse Source

Add gate resistor to AC calculation 2

Add matrix entries for gate resistor
pre-master-46
Holger Vogt 8 years ago
committed by rlar
parent
commit
87e8b366ad
  1. 7
      src/spicelib/devices/vdmos/vdmosacld.c

7
src/spicelib/devices/vdmos/vdmosacld.c

@ -95,7 +95,12 @@ VDMOSacLoad(GENmodel *inModel, CKTcircuit *ckt)
*(here->VDMOSSPbPtr) -= here->VDMOSgbs+(xnrm-xrev)*here->VDMOSgmbs;
*(here->VDMOSSPdpPtr) -= here->VDMOSgds+
xrev*(here->VDMOSgm+here->VDMOSgmbs);
/* gate resistor */
*(here->VDMOSGgPtr) += (here->VDMOSgateConductance);
*(here->VDMOSGPgpPtr) +=
(here->VDMOSgateConductance)/* + ?? FIXME */;
*(here->VDMOSGgpPtr) -= here->VDMOSgateConductance;
*(here->VDMOSGPgPtr) -= here->VDMOSgateConductance;
}
}
return(OK);

Loading…
Cancel
Save