skip printout in bsimtemp for sens analysis
This commit is contained in:
parent
ca8f987898
commit
35c8848b62
|
|
@ -28,9 +28,6 @@
|
||||||
#define EXP_THRESHOLD 34.0
|
#define EXP_THRESHOLD 34.0
|
||||||
#define Charge_q 1.60219e-19
|
#define Charge_q 1.60219e-19
|
||||||
|
|
||||||
extern SPICEanalysis *analInfo[];
|
|
||||||
extern SPICEanalysis SENSinfo;
|
|
||||||
|
|
||||||
/* ARGSUSED */
|
/* ARGSUSED */
|
||||||
int
|
int
|
||||||
BSIM3temp(
|
BSIM3temp(
|
||||||
|
|
@ -658,17 +655,17 @@ int Size_Not_Found;
|
||||||
if (model->BSIM3k1Given || model->BSIM3k2Given)
|
if (model->BSIM3k1Given || model->BSIM3k2Given)
|
||||||
{ if (!model->BSIM3k1Given)
|
{ if (!model->BSIM3k1Given)
|
||||||
{
|
{
|
||||||
if((!ckt->CKTcurJob) || (analInfo[ckt->CKTcurJob->JOBtype] != &SENSinfo))
|
if ((!ckt->CKTcurJob) || (ckt->CKTcurJob->JOBtype < 9)) /* don't print in sensitivity */
|
||||||
fprintf(stdout, "Warning: k1 should be specified with k2.\n");
|
fprintf(stdout, "Warning: k1 should be specified with k2.\n");
|
||||||
pParam->BSIM3k1 = 0.53;
|
pParam->BSIM3k1 = 0.53;
|
||||||
}
|
}
|
||||||
if (!model->BSIM3k2Given)
|
if (!model->BSIM3k2Given)
|
||||||
{
|
{
|
||||||
if((!ckt->CKTcurJob) || (analInfo[ckt->CKTcurJob->JOBtype] != &SENSinfo))
|
if ((!ckt->CKTcurJob) || (ckt->CKTcurJob->JOBtype < 9)) /* don't print in sensitivity */
|
||||||
fprintf(stdout, "Warning: k2 should be specified with k1.\n");
|
fprintf(stdout, "Warning: k2 should be specified with k1.\n");
|
||||||
pParam->BSIM3k2 = -0.0186;
|
pParam->BSIM3k2 = -0.0186;
|
||||||
}
|
}
|
||||||
if((!ckt->CKTcurJob) || (analInfo[ckt->CKTcurJob->JOBtype] != &SENSinfo)) {
|
if ((!ckt->CKTcurJob) || (ckt->CKTcurJob->JOBtype < 9)) { /* don't print in sensitivity */
|
||||||
if (model->BSIM3nsubGiven)
|
if (model->BSIM3nsubGiven)
|
||||||
fprintf(stdout, "Warning: nsub is ignored because k1 or k2 is given.\n");
|
fprintf(stdout, "Warning: nsub is ignored because k1 or k2 is given.\n");
|
||||||
if (model->BSIM3xtGiven)
|
if (model->BSIM3xtGiven)
|
||||||
|
|
|
||||||
|
|
@ -27,9 +27,6 @@
|
||||||
#define EXP_THRESHOLD 34.0
|
#define EXP_THRESHOLD 34.0
|
||||||
#define Charge_q 1.60219e-19
|
#define Charge_q 1.60219e-19
|
||||||
|
|
||||||
extern SPICEanalysis *analInfo[];
|
|
||||||
extern SPICEanalysis SENSinfo;
|
|
||||||
|
|
||||||
/* ARGSUSED */
|
/* ARGSUSED */
|
||||||
int
|
int
|
||||||
BSIM3v32temp (GENmodel *inModel, CKTcircuit *ckt)
|
BSIM3v32temp (GENmodel *inModel, CKTcircuit *ckt)
|
||||||
|
|
@ -727,17 +724,17 @@ int Size_Not_Found;
|
||||||
if (model->BSIM3v32k1Given || model->BSIM3v32k2Given)
|
if (model->BSIM3v32k1Given || model->BSIM3v32k2Given)
|
||||||
{ if (!model->BSIM3v32k1Given)
|
{ if (!model->BSIM3v32k1Given)
|
||||||
{
|
{
|
||||||
if((!ckt->CKTcurJob) || (analInfo[ckt->CKTcurJob->JOBtype] != &SENSinfo))
|
if ((!ckt->CKTcurJob) || (ckt->CKTcurJob->JOBtype < 9)) /* don't print in sensitivity */
|
||||||
fprintf(stdout, "Warning: k1 should be specified with k2.\n");
|
fprintf(stdout, "Warning: k1 should be specified with k2.\n");
|
||||||
pParam->BSIM3v32k1 = 0.53;
|
pParam->BSIM3v32k1 = 0.53;
|
||||||
}
|
}
|
||||||
if (!model->BSIM3v32k2Given)
|
if (!model->BSIM3v32k2Given)
|
||||||
{
|
{
|
||||||
if((!ckt->CKTcurJob) || (analInfo[ckt->CKTcurJob->JOBtype] != &SENSinfo))
|
if ((!ckt->CKTcurJob) || (ckt->CKTcurJob->JOBtype < 9)) /* don't print in sensitivity */
|
||||||
fprintf(stdout, "Warning: k2 should be specified with k1.\n");
|
fprintf(stdout, "Warning: k2 should be specified with k1.\n");
|
||||||
pParam->BSIM3v32k2 = -0.0186;
|
pParam->BSIM3v32k2 = -0.0186;
|
||||||
}
|
}
|
||||||
if((!ckt->CKTcurJob) || (analInfo[ckt->CKTcurJob->JOBtype] != &SENSinfo)) {
|
if ((!ckt->CKTcurJob) || (ckt->CKTcurJob->JOBtype < 9)) { /* don't print in sensitivity */
|
||||||
if (model->BSIM3v32nsubGiven)
|
if (model->BSIM3v32nsubGiven)
|
||||||
fprintf(stdout, "Warning: nsub is ignored because k1 or k2 is given.\n");
|
fprintf(stdout, "Warning: nsub is ignored because k1 or k2 is given.\n");
|
||||||
if (model->BSIM3v32xtGiven)
|
if (model->BSIM3v32xtGiven)
|
||||||
|
|
|
||||||
|
|
@ -29,9 +29,6 @@
|
||||||
#include "sperror.h"
|
#include "sperror.h"
|
||||||
#include "suffix.h"
|
#include "suffix.h"
|
||||||
|
|
||||||
extern SPICEanalysis *analInfo[];
|
|
||||||
extern SPICEanalysis SENSinfo;
|
|
||||||
|
|
||||||
#define Kb 1.3806226e-23
|
#define Kb 1.3806226e-23
|
||||||
#define KboQ 8.617087e-5
|
#define KboQ 8.617087e-5
|
||||||
#define EPS0 8.85418e-12
|
#define EPS0 8.85418e-12
|
||||||
|
|
@ -1286,17 +1283,17 @@ int Size_Not_Found, i;
|
||||||
if (model->BSIM4k1Given || model->BSIM4k2Given)
|
if (model->BSIM4k1Given || model->BSIM4k2Given)
|
||||||
{ if (!model->BSIM4k1Given)
|
{ if (!model->BSIM4k1Given)
|
||||||
{
|
{
|
||||||
if((!ckt->CKTcurJob) || (analInfo[ckt->CKTcurJob->JOBtype] != &SENSinfo))
|
if ((!ckt->CKTcurJob) || (ckt->CKTcurJob->JOBtype < 9)) /* don't print in sensitivity */
|
||||||
fprintf(stdout, "Warning: k1 should be specified with k2.\n");
|
fprintf(stdout, "Warning: k1 should be specified with k2.\n");
|
||||||
pParam->BSIM4k1 = 0.53;
|
pParam->BSIM4k1 = 0.53;
|
||||||
}
|
}
|
||||||
if (!model->BSIM4k2Given)
|
if (!model->BSIM4k2Given)
|
||||||
{
|
{
|
||||||
if((!ckt->CKTcurJob) || (analInfo[ckt->CKTcurJob->JOBtype] != &SENSinfo))
|
if ((!ckt->CKTcurJob) || (ckt->CKTcurJob->JOBtype < 9)) /* don't print in sensitivity */
|
||||||
fprintf(stdout, "Warning: k2 should be specified with k1.\n");
|
fprintf(stdout, "Warning: k2 should be specified with k1.\n");
|
||||||
pParam->BSIM4k2 = -0.0186;
|
pParam->BSIM4k2 = -0.0186;
|
||||||
}
|
}
|
||||||
if((!ckt->CKTcurJob) || (analInfo[ckt->CKTcurJob->JOBtype] != &SENSinfo)) {
|
if ((!ckt->CKTcurJob) || (ckt->CKTcurJob->JOBtype < 9)) { /* don't print in sensitivity */
|
||||||
if (model->BSIM4nsubGiven)
|
if (model->BSIM4nsubGiven)
|
||||||
fprintf(stdout, "Warning: nsub is ignored because k1 or k2 is given.\n");
|
fprintf(stdout, "Warning: nsub is ignored because k1 or k2 is given.\n");
|
||||||
if (model->BSIM4xtGiven)
|
if (model->BSIM4xtGiven)
|
||||||
|
|
|
||||||
|
|
@ -22,9 +22,6 @@
|
||||||
#include "sperror.h"
|
#include "sperror.h"
|
||||||
#include "suffix.h"
|
#include "suffix.h"
|
||||||
|
|
||||||
extern SPICEanalysis *analInfo[];
|
|
||||||
extern SPICEanalysis SENSinfo;
|
|
||||||
|
|
||||||
#define Kb 1.3806226e-23
|
#define Kb 1.3806226e-23
|
||||||
#define KboQ 8.617087e-5
|
#define KboQ 8.617087e-5
|
||||||
#define EPS0 8.85418e-12
|
#define EPS0 8.85418e-12
|
||||||
|
|
@ -1163,17 +1160,17 @@ int Size_Not_Found, i;
|
||||||
if (model->BSIM4v5k1Given || model->BSIM4v5k2Given)
|
if (model->BSIM4v5k1Given || model->BSIM4v5k2Given)
|
||||||
{ if (!model->BSIM4v5k1Given)
|
{ if (!model->BSIM4v5k1Given)
|
||||||
{
|
{
|
||||||
if((!ckt->CKTcurJob) || (analInfo[ckt->CKTcurJob->JOBtype] != &SENSinfo))
|
if ((!ckt->CKTcurJob) || (ckt->CKTcurJob->JOBtype < 9)) /* don't print in sensitivity */
|
||||||
fprintf(stdout, "Warning: k1 should be specified with k2.\n");
|
fprintf(stdout, "Warning: k1 should be specified with k2.\n");
|
||||||
pParam->BSIM4v5k1 = 0.53;
|
pParam->BSIM4v5k1 = 0.53;
|
||||||
}
|
}
|
||||||
if (!model->BSIM4v5k2Given)
|
if (!model->BSIM4v5k2Given)
|
||||||
{
|
{
|
||||||
if((!ckt->CKTcurJob) || (analInfo[ckt->CKTcurJob->JOBtype] != &SENSinfo))
|
if ((!ckt->CKTcurJob) || (ckt->CKTcurJob->JOBtype < 9)) /* don't print in sensitivity */
|
||||||
fprintf(stdout, "Warning: k2 should be specified with k1.\n");
|
fprintf(stdout, "Warning: k2 should be specified with k1.\n");
|
||||||
pParam->BSIM4v5k2 = -0.0186;
|
pParam->BSIM4v5k2 = -0.0186;
|
||||||
}
|
}
|
||||||
if((!ckt->CKTcurJob) || (analInfo[ckt->CKTcurJob->JOBtype] != &SENSinfo)) {
|
if ((!ckt->CKTcurJob) || (ckt->CKTcurJob->JOBtype < 9)) { /* don't print in sensitivity */
|
||||||
if (model->BSIM4v5nsubGiven)
|
if (model->BSIM4v5nsubGiven)
|
||||||
fprintf(stdout, "Warning: nsub is ignored because k1 or k2 is given.\n");
|
fprintf(stdout, "Warning: nsub is ignored because k1 or k2 is given.\n");
|
||||||
if (model->BSIM4v5xtGiven)
|
if (model->BSIM4v5xtGiven)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue