vdmos: in case temp and dtemp is given - use dtemp and neglect temp
This commit is contained in:
parent
2ad1670114
commit
2d4c035ae0
|
|
@ -259,6 +259,13 @@ VDMOSsetup(SMPmatrix *matrix, GENmodel *inModel, CKTcircuit *ckt,
|
||||||
here->VDMOSstates = *states;
|
here->VDMOSstates = *states;
|
||||||
*states += VDMOSnumStates;
|
*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) {
|
if (!here->VDMOSicVDSGiven) {
|
||||||
here->VDMOSicVDS = 0;
|
here->VDMOSicVDS = 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue