prevent clang error
This commit is contained in:
parent
fd000c079b
commit
3201bcb09b
|
|
@ -34,6 +34,7 @@ BJTnoise(int mode, int operation, GENmodel*genmodel, CKTcircuit *ckt,
|
||||||
double noizDens[BJTNSRCS];
|
double noizDens[BJTNSRCS];
|
||||||
double lnNdens[BJTNSRCS];
|
double lnNdens[BJTNSRCS];
|
||||||
int i;
|
int i;
|
||||||
|
double dtemp;
|
||||||
|
|
||||||
/* define the names of the noise sources */
|
/* define the names of the noise sources */
|
||||||
|
|
||||||
|
|
@ -82,7 +83,7 @@ BJTnoise(int mode, int operation, GENmodel*genmodel, CKTcircuit *ckt,
|
||||||
switch (mode) {
|
switch (mode) {
|
||||||
|
|
||||||
case N_DENS:
|
case N_DENS:
|
||||||
double dtemp;
|
|
||||||
if (inst->BJTtempGiven)
|
if (inst->BJTtempGiven)
|
||||||
dtemp = inst->BJTtemp - ckt->CKTtemp + (model->BJTtnom-CONSTCtoK);
|
dtemp = inst->BJTtemp - ckt->CKTtemp + (model->BJTtnom-CONSTCtoK);
|
||||||
else
|
else
|
||||||
|
|
|
||||||
|
|
@ -35,6 +35,7 @@ DIOnoise(int mode, int operation, GENmodel *genmodel, CKTcircuit *ckt,
|
||||||
double noizDens[DIONSRCS];
|
double noizDens[DIONSRCS];
|
||||||
double lnNdens[DIONSRCS];
|
double lnNdens[DIONSRCS];
|
||||||
int i;
|
int i;
|
||||||
|
double dtemp;
|
||||||
|
|
||||||
/* define the names of the noise sources */
|
/* define the names of the noise sources */
|
||||||
|
|
||||||
|
|
@ -81,7 +82,6 @@ DIOnoise(int mode, int operation, GENmodel *genmodel, CKTcircuit *ckt,
|
||||||
|
|
||||||
case N_DENS:
|
case N_DENS:
|
||||||
|
|
||||||
double dtemp;
|
|
||||||
if (inst->DIOtempGiven)
|
if (inst->DIOtempGiven)
|
||||||
dtemp = inst->DIOtemp - ckt->CKTtemp + (model->DIOnomTemp-CONSTCtoK);
|
dtemp = inst->DIOtemp - ckt->CKTtemp + (model->DIOnomTemp-CONSTCtoK);
|
||||||
else
|
else
|
||||||
|
|
|
||||||
|
|
@ -35,6 +35,7 @@ HICUMnoise (int mode, int operation, GENmodel *genmodel, CKTcircuit *ckt, Ndata
|
||||||
double noizDens[HICUMNSRCS];
|
double noizDens[HICUMNSRCS];
|
||||||
double lnNdens[HICUMNSRCS];
|
double lnNdens[HICUMNSRCS];
|
||||||
int i;
|
int i;
|
||||||
|
double dtemp;
|
||||||
|
|
||||||
double Ibbp_Vbbp;
|
double Ibbp_Vbbp;
|
||||||
double Icic_Vcic;
|
double Icic_Vcic;
|
||||||
|
|
@ -125,7 +126,7 @@ HICUMnoise (int mode, int operation, GENmodel *genmodel, CKTcircuit *ckt, Ndata
|
||||||
switch (mode) {
|
switch (mode) {
|
||||||
|
|
||||||
case N_DENS:
|
case N_DENS:
|
||||||
double dtemp;
|
|
||||||
if (here->HICUMtempGiven)
|
if (here->HICUMtempGiven)
|
||||||
dtemp = here->HICUMtemp - ckt->CKTtemp + (model->HICUMtnom-CONSTCtoK);
|
dtemp = here->HICUMtemp - ckt->CKTtemp + (model->HICUMtnom-CONSTCtoK);
|
||||||
else
|
else
|
||||||
|
|
|
||||||
|
|
@ -34,6 +34,7 @@ JFETnoise(int mode, int operation, GENmodel *genmodel, CKTcircuit *ckt, Ndata *d
|
||||||
double lnNdens[JFETNSRCS];
|
double lnNdens[JFETNSRCS];
|
||||||
int i;
|
int i;
|
||||||
double vgs, vds, vgst, alpha, beta;
|
double vgs, vds, vgst, alpha, beta;
|
||||||
|
double dtemp;
|
||||||
|
|
||||||
/* define the names of the noise sources */
|
/* define the names of the noise sources */
|
||||||
|
|
||||||
|
|
@ -81,7 +82,6 @@ JFETnoise(int mode, int operation, GENmodel *genmodel, CKTcircuit *ckt, Ndata *d
|
||||||
|
|
||||||
case N_DENS:
|
case N_DENS:
|
||||||
|
|
||||||
double dtemp;
|
|
||||||
if (inst->JFETtempGiven)
|
if (inst->JFETtempGiven)
|
||||||
dtemp = inst->JFETtemp - ckt->CKTtemp + (model->JFETtnom-CONSTCtoK);
|
dtemp = inst->JFETtemp - ckt->CKTtemp + (model->JFETtnom-CONSTCtoK);
|
||||||
else
|
else
|
||||||
|
|
|
||||||
|
|
@ -36,6 +36,7 @@ MOS1noise(int mode, int operation, GENmodel * genmodel, CKTcircuit * ckt,
|
||||||
double lnNdens[MOS1NSRCS];
|
double lnNdens[MOS1NSRCS];
|
||||||
int i;
|
int i;
|
||||||
double vgs, vds, vgd, vgst, alpha, beta, Sid;
|
double vgs, vds, vgd, vgst, alpha, beta, Sid;
|
||||||
|
double dtemp;
|
||||||
|
|
||||||
/* define the names of the noise sources */
|
/* define the names of the noise sources */
|
||||||
|
|
||||||
|
|
@ -95,7 +96,7 @@ MOS1noise(int mode, int operation, GENmodel * genmodel, CKTcircuit * ckt,
|
||||||
switch (mode) {
|
switch (mode) {
|
||||||
|
|
||||||
case N_DENS:
|
case N_DENS:
|
||||||
double dtemp;
|
|
||||||
if (inst->MOS1tempGiven)
|
if (inst->MOS1tempGiven)
|
||||||
dtemp = inst->MOS1temp - ckt->CKTtemp + (model->MOS1tnom-CONSTCtoK);
|
dtemp = inst->MOS1temp - ckt->CKTtemp + (model->MOS1tnom-CONSTCtoK);
|
||||||
else
|
else
|
||||||
|
|
|
||||||
|
|
@ -35,6 +35,7 @@ MOS2noise(int mode, int operation, GENmodel * genmodel, CKTcircuit * ckt,
|
||||||
double lnNdens[MOS2NSRCS];
|
double lnNdens[MOS2NSRCS];
|
||||||
int i;
|
int i;
|
||||||
double vgs, vds, vgd, vgst, alpha, beta, Sid;
|
double vgs, vds, vgd, vgst, alpha, beta, Sid;
|
||||||
|
double dtemp;
|
||||||
|
|
||||||
/* define the names of the noise sources */
|
/* define the names of the noise sources */
|
||||||
|
|
||||||
|
|
@ -84,7 +85,7 @@ MOS2noise(int mode, int operation, GENmodel * genmodel, CKTcircuit * ckt,
|
||||||
switch (mode) {
|
switch (mode) {
|
||||||
|
|
||||||
case N_DENS:
|
case N_DENS:
|
||||||
double dtemp;
|
|
||||||
if (inst->MOS2tempGiven)
|
if (inst->MOS2tempGiven)
|
||||||
dtemp = inst->MOS2temp - ckt->CKTtemp + (model->MOS2tnom-CONSTCtoK);
|
dtemp = inst->MOS2temp - ckt->CKTtemp + (model->MOS2tnom-CONSTCtoK);
|
||||||
else
|
else
|
||||||
|
|
|
||||||
|
|
@ -35,6 +35,7 @@ MOS3noise(int mode, int operation, GENmodel * genmodel, CKTcircuit * ckt,
|
||||||
double lnNdens[MOS3NSRCS];
|
double lnNdens[MOS3NSRCS];
|
||||||
int i;
|
int i;
|
||||||
double vgs, vds, vgd, vgst, alpha, beta, Sid;
|
double vgs, vds, vgd, vgst, alpha, beta, Sid;
|
||||||
|
double dtemp;
|
||||||
|
|
||||||
/* define the names of the noise sources */
|
/* define the names of the noise sources */
|
||||||
|
|
||||||
|
|
@ -84,7 +85,7 @@ MOS3noise(int mode, int operation, GENmodel * genmodel, CKTcircuit * ckt,
|
||||||
switch (mode) {
|
switch (mode) {
|
||||||
|
|
||||||
case N_DENS:
|
case N_DENS:
|
||||||
double dtemp;
|
|
||||||
if (inst->MOS3tempGiven)
|
if (inst->MOS3tempGiven)
|
||||||
dtemp = inst->MOS3temp - ckt->CKTtemp + (model->MOS3tnom-CONSTCtoK);
|
dtemp = inst->MOS3temp - ckt->CKTtemp + (model->MOS3tnom-CONSTCtoK);
|
||||||
else
|
else
|
||||||
|
|
|
||||||
|
|
@ -39,6 +39,7 @@ RESnoise(int mode, int operation, GENmodel*genmodel, CKTcircuit *ckt,
|
||||||
double noizDens[RESNSRCS];
|
double noizDens[RESNSRCS];
|
||||||
double lnNdens[RESNSRCS];
|
double lnNdens[RESNSRCS];
|
||||||
int i;
|
int i;
|
||||||
|
double dtemp;
|
||||||
|
|
||||||
/* define the names of the noise sources */
|
/* define the names of the noise sources */
|
||||||
|
|
||||||
|
|
@ -88,7 +89,6 @@ RESnoise(int mode, int operation, GENmodel*genmodel, CKTcircuit *ckt,
|
||||||
|
|
||||||
case N_DENS:
|
case N_DENS:
|
||||||
|
|
||||||
double dtemp;
|
|
||||||
if (inst->REStempGiven)
|
if (inst->REStempGiven)
|
||||||
dtemp = inst->REStemp - ckt->CKTtemp + (model->REStnom-CONSTCtoK);
|
dtemp = inst->REStemp - ckt->CKTtemp + (model->REStnom-CONSTCtoK);
|
||||||
else
|
else
|
||||||
|
|
|
||||||
|
|
@ -36,6 +36,7 @@ VBICnoise (int mode, int operation, GENmodel *genmodel, CKTcircuit *ckt, Ndata *
|
||||||
double noizDens[VBICNSRCS];
|
double noizDens[VBICNSRCS];
|
||||||
double lnNdens[VBICNSRCS];
|
double lnNdens[VBICNSRCS];
|
||||||
int i;
|
int i;
|
||||||
|
double dtemp;
|
||||||
|
|
||||||
/* define the names of the noise sources */
|
/* define the names of the noise sources */
|
||||||
|
|
||||||
|
|
@ -92,7 +93,7 @@ VBICnoise (int mode, int operation, GENmodel *genmodel, CKTcircuit *ckt, Ndata *
|
||||||
switch (mode) {
|
switch (mode) {
|
||||||
|
|
||||||
case N_DENS:
|
case N_DENS:
|
||||||
double dtemp;
|
|
||||||
if (inst->VBICtempGiven)
|
if (inst->VBICtempGiven)
|
||||||
dtemp = inst->VBICtemp - ckt->CKTtemp + (model->VBICtnom-CONSTCtoK);
|
dtemp = inst->VBICtemp - ckt->CKTtemp + (model->VBICtnom-CONSTCtoK);
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue