Typo in parameter name
This commit is contained in:
parent
d0f5ad49d1
commit
d041b7b503
|
|
@ -1,3 +1,6 @@
|
|||
2012-02-10 Dietmar Warning
|
||||
* src/spicelib/devices/dio/*.c,*.h: Typo with junction potential name
|
||||
|
||||
2012-02-09 Robert Larice
|
||||
* src/frontend/com_sysinfo.c ,
|
||||
* src/frontend/mw_coms.c ,
|
||||
|
|
|
|||
|
|
@ -76,8 +76,8 @@ IFparm DIOmPTable[] = { /* model parameters */
|
|||
IOPR( "ctc", DIO_MOD_CTA, IF_REAL, "Area junction capacitance temperature coefficient"),
|
||||
IOP( "ctp", DIO_MOD_CTP, IF_REAL, "Perimeter junction capacitance temperature coefficient"),
|
||||
|
||||
IOP( "tbp", DIO_MOD_TBP, IF_REAL, "Area junction potential temperature coefficient"),
|
||||
IOPR( "tvj", DIO_MOD_TBP, IF_REAL, "Area junction potential temperature coefficient"),
|
||||
IOP( "tpb", DIO_MOD_TPB, IF_REAL, "Area junction potential temperature coefficient"),
|
||||
IOPR( "tvj", DIO_MOD_TPB, IF_REAL, "Area junction potential temperature coefficient"),
|
||||
IOP( "tphp", DIO_MOD_TPHP, IF_REAL, "Perimeter junction potential temperature coefficient"),
|
||||
|
||||
IOP( "kf", DIO_MOD_KF, IF_REAL, "flicker noise coefficient"),
|
||||
|
|
|
|||
|
|
@ -186,7 +186,7 @@ typedef struct sDIOmodel { /* model structure for a diode */
|
|||
unsigned DIOsaturationCurrentExpGiven : 1;
|
||||
unsigned DIOctaGiven : 1;
|
||||
unsigned DIOctpGiven : 1;
|
||||
unsigned DIOtbpGiven : 1;
|
||||
unsigned DIOtpbGiven : 1;
|
||||
unsigned DIOtphpGiven : 1;
|
||||
unsigned DIOdepletionCapCoeffGiven : 1;
|
||||
unsigned DIOdepletionSWcapCoeffGiven :1;
|
||||
|
|
@ -225,7 +225,7 @@ typedef struct sDIOmodel { /* model structure for a diode */
|
|||
double DIOsaturationCurrentExp; /* Saturation current exponential (XTI) */
|
||||
double DIOcta; /* Area junction temperature coefficient */
|
||||
double DIOctp; /* Perimeter junction temperature coefficient */
|
||||
double DIOtbp; /* Area junction potential temperature coefficient */
|
||||
double DIOtpb; /* Area junction potential temperature coefficient */
|
||||
double DIOtphp; /* Perimeter junction potential temperature coefficient */
|
||||
double DIOdepletionCapCoeff; /* Depletion Cap fraction coefficient (FC)*/
|
||||
double DIOdepletionSWcapCoeff; /* Depletion sw-Cap fraction coefficient (FCS)*/
|
||||
|
|
@ -297,7 +297,7 @@ typedef struct sDIOmodel { /* model structure for a diode */
|
|||
#define DIO_MOD_TLEVC 132
|
||||
#define DIO_MOD_CTA 133
|
||||
#define DIO_MOD_CTP 134
|
||||
#define DIO_MOD_TBP 135
|
||||
#define DIO_MOD_TPB 135
|
||||
#define DIO_MOD_TPHP 136
|
||||
#define DIO_MOD_TCV 137
|
||||
|
||||
|
|
|
|||
|
|
@ -104,8 +104,8 @@ DIOmAsk (CKTcircuit *ckt, GENmodel *inModel, int which, IFvalue *value)
|
|||
case DIO_MOD_CTP:
|
||||
value->rValue = model->DIOctp;
|
||||
return(OK);
|
||||
case DIO_MOD_TBP:
|
||||
value->rValue = model->DIOtbp;
|
||||
case DIO_MOD_TPB:
|
||||
value->rValue = model->DIOtpb;
|
||||
return(OK);
|
||||
case DIO_MOD_TPHP:
|
||||
value->rValue = model->DIOtphp;
|
||||
|
|
|
|||
|
|
@ -125,9 +125,9 @@ DIOmParam(int param, IFvalue *value, GENmodel *inModel)
|
|||
model->DIOctp = value->rValue;
|
||||
model->DIOctpGiven = TRUE;
|
||||
break;
|
||||
case DIO_MOD_TBP:
|
||||
model->DIOtbp = value->rValue;
|
||||
model->DIOtbpGiven = TRUE;
|
||||
case DIO_MOD_TPB:
|
||||
model->DIOtpb = value->rValue;
|
||||
model->DIOtpbGiven = TRUE;
|
||||
break;
|
||||
case DIO_MOD_TPHP:
|
||||
model->DIOtphp = value->rValue;
|
||||
|
|
|
|||
|
|
@ -102,8 +102,8 @@ DIOsetup(SMPmatrix *matrix, GENmodel *inModel, CKTcircuit *ckt, int *states)
|
|||
if(!model->DIOctpGiven) {
|
||||
model->DIOctp = 0.0;
|
||||
}
|
||||
if(!model->DIOtbpGiven) {
|
||||
model->DIOtbp = 0.0;
|
||||
if(!model->DIOtpbGiven) {
|
||||
model->DIOtpb = 0.0;
|
||||
}
|
||||
if(!model->DIOtphpGiven) {
|
||||
model->DIOtphp = 0.0;
|
||||
|
|
|
|||
|
|
@ -132,7 +132,7 @@ DIOtemp(GENmodel *inModel, CKTcircuit *ckt)
|
|||
here->DIOtJctCap *= 1+here->DIOtGradingCoeff*
|
||||
(400e-6*(here->DIOtemp-REFTEMP)-gmanew);
|
||||
} else if (model->DIOtlevc == 1) {
|
||||
here->DIOtJctPot = model->DIOjunctionPot - model->DIOtbp*(here->DIOtemp-REFTEMP);
|
||||
here->DIOtJctPot = model->DIOjunctionPot - model->DIOtpb*(here->DIOtemp-REFTEMP);
|
||||
here->DIOtJctCap = model->DIOjunctionCap *
|
||||
(model->DIOcta*(here->DIOtemp-REFTEMP));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue