Add instance parameter dtemp

Still a dummy as not used during the simulation.
This commit is contained in:
Holger Vogt 2025-04-02 14:14:19 +02:00
parent 78b97574c8
commit f6afd3ca68
5 changed files with 14 additions and 0 deletions

View File

@ -49,6 +49,7 @@ IOPR( "delvt0", BSIM4v5_DELVTO, IF_REAL , "Zero bias threshold voltage variat
IOP( "mulu0", BSIM4v5_MULU0, IF_REAL, "Low field mobility multiplier"),
IOP( "xgw", BSIM4v5_XGW, IF_REAL, "Distance from gate contact center to device edge"),
IOP( "ngcon", BSIM4v5_NGCON, IF_REAL, "Number of gate contacts"),
IOPU("dtemp", BSIM4v5_DTEMP, IF_REAL, "Instance temperature difference"),
IOP( "trnqsmod", BSIM4v5_TRNQSMOD, IF_INTEGER, "Transient NQS model selector"),

View File

@ -112,6 +112,9 @@ BSIM4v5instance *here = (BSIM4v5instance*)inst;
case BSIM4v5_MULU0:
value->rValue = here->BSIM4v5mulu0;
return(OK);
case BSIM4v5_DTEMP:
value->rValue = here->BSIM4v5dtemp;
return(OK);
case BSIM4v5_XGW:
value->rValue = here->BSIM4v5xgw;
return(OK);

View File

@ -139,6 +139,10 @@ IFvalue *select)
here->BSIM4v5mulu0 = value->rValue;
here->BSIM4v5mulu0Given = TRUE;
break;
case BSIM4v5_DTEMP:
here->BSIM4v5dtemp = value->rValue;
here->BSIM4v5dtempGiven = TRUE;
return(OK);
case BSIM4v5_XGW:
here->BSIM4v5xgw = value->rValue;
here->BSIM4v5xgwGiven = TRUE;

View File

@ -1751,6 +1751,8 @@ BSIM4v5instance **InstArray;
here->BSIM4v5xgw = model->BSIM4v5xgw;
if (!here->BSIM4v5ngconGiven)
here->BSIM4v5ngcon = model->BSIM4v5ngcon;
if (!here->BSIM4v5dtempGiven)
here->BSIM4v5dtemp = 0;
/* Process instance model selectors, some

View File

@ -106,6 +106,8 @@ typedef struct sBSIM4v5instance
double BSIM4v5xgw;
double BSIM4v5ngcon;
double BSIM4v5dtemp;
/* added here to account stress effect instance dependence */
double BSIM4v5u0temp;
double BSIM4v5vsattemp;
@ -288,6 +290,7 @@ typedef struct sBSIM4v5instance
unsigned BSIM4v5mulu0Given :1;
unsigned BSIM4v5xgwGiven :1;
unsigned BSIM4v5ngconGiven :1;
unsigned BSIM4v5dtempGiven : 1;
unsigned BSIM4v5icVDSGiven :1;
unsigned BSIM4v5icVGSGiven :1;
unsigned BSIM4v5icVBSGiven :1;
@ -2536,6 +2539,7 @@ typedef struct sBSIM4v5model
#define BSIM4v5_SC 37
#define BSIM4v5_M 38
#define BSIM4v5_MULU0 39
#define BSIM4v5_DTEMP 40
/* Global parameters */
#define BSIM4v5_MOD_TEMPMOD 89