vdmos: in case temp and dtemp is given - use dtemp and omit temp

This commit is contained in:
dwarning
2026-02-03 14:10:39 +01:00
committed by Holger Vogt
parent f9cd5f1471
commit ce94dd1587
+7
View File
@@ -259,6 +259,13 @@ VDMOSsetup(SMPmatrix *matrix, GENmodel *inModel, CKTcircuit *ckt,
here->VDMOSstates = *states;
*states += VDMOSnumStates;
if ((here->VDMOStempGiven) && (here->VDMOSdtempGiven)) {
SPfrontEnd->IFerrorf(ERR_WARNING,
"%s: temp and dtemp instance parameter given - using dtemp",
here->VDMOSname);
here->VDMOStempGiven = FALSE;
}
if (!here->VDMOSicVDSGiven) {
here->VDMOSicVDS = 0;
}