mirror of
https://git.code.sf.net/p/ngspice/ngspice
synced 2026-09-05 03:12:07 +02:00
vdmos: in case temp and dtemp is given - use dtemp and omit temp
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user