devices/bsim3v32: whitespace cleanup
This commit is contained in:
parent
6801f77cc1
commit
0aee9a07c4
|
|
@ -260,7 +260,7 @@ FILE *fplog;
|
||||||
|
|
||||||
if (model->BSIM3v32paramChk ==1)
|
if (model->BSIM3v32paramChk ==1)
|
||||||
{
|
{
|
||||||
/* Check L and W parameters */
|
/* Check L and W parameters */
|
||||||
if (pParam->BSIM3v32leff <= 5.0e-8)
|
if (pParam->BSIM3v32leff <= 5.0e-8)
|
||||||
{ fprintf(fplog, "Warning: Leff = %g may be too small.\n",
|
{ fprintf(fplog, "Warning: Leff = %g may be too small.\n",
|
||||||
pParam->BSIM3v32leff);
|
pParam->BSIM3v32leff);
|
||||||
|
|
@ -289,7 +289,7 @@ FILE *fplog;
|
||||||
pParam->BSIM3v32weffCV);
|
pParam->BSIM3v32weffCV);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Check threshold voltage parameters */
|
/* Check threshold voltage parameters */
|
||||||
if (pParam->BSIM3v32nlx < 0.0)
|
if (pParam->BSIM3v32nlx < 0.0)
|
||||||
{ fprintf(fplog, "Warning: Nlx = %g is negative.\n", pParam->BSIM3v32nlx);
|
{ fprintf(fplog, "Warning: Nlx = %g is negative.\n", pParam->BSIM3v32nlx);
|
||||||
printf("Warning: Nlx = %g is negative.\n", pParam->BSIM3v32nlx);
|
printf("Warning: Nlx = %g is negative.\n", pParam->BSIM3v32nlx);
|
||||||
|
|
@ -345,7 +345,7 @@ FILE *fplog;
|
||||||
printf("Warning: (W0 + Weff) may be too small.\n");
|
printf("Warning: (W0 + Weff) may be too small.\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Check subthreshold parameters */
|
/* Check subthreshold parameters */
|
||||||
if (pParam->BSIM3v32nfactor < 0.0)
|
if (pParam->BSIM3v32nfactor < 0.0)
|
||||||
{ fprintf(fplog, "Warning: Nfactor = %g is negative.\n",
|
{ fprintf(fplog, "Warning: Nfactor = %g is negative.\n",
|
||||||
pParam->BSIM3v32nfactor);
|
pParam->BSIM3v32nfactor);
|
||||||
|
|
@ -361,21 +361,21 @@ FILE *fplog;
|
||||||
pParam->BSIM3v32cdscd);
|
pParam->BSIM3v32cdscd);
|
||||||
printf("Warning: Cdscd = %g is negative.\n", pParam->BSIM3v32cdscd);
|
printf("Warning: Cdscd = %g is negative.\n", pParam->BSIM3v32cdscd);
|
||||||
}
|
}
|
||||||
/* Check DIBL parameters */
|
/* Check DIBL parameters */
|
||||||
if (pParam->BSIM3v32eta0 < 0.0)
|
if (pParam->BSIM3v32eta0 < 0.0)
|
||||||
{ fprintf(fplog, "Warning: Eta0 = %g is negative.\n",
|
{ fprintf(fplog, "Warning: Eta0 = %g is negative.\n",
|
||||||
pParam->BSIM3v32eta0);
|
pParam->BSIM3v32eta0);
|
||||||
printf("Warning: Eta0 = %g is negative.\n", pParam->BSIM3v32eta0);
|
printf("Warning: Eta0 = %g is negative.\n", pParam->BSIM3v32eta0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Check Abulk parameters */
|
/* Check Abulk parameters */
|
||||||
if (fabs(1.0e-6 / (pParam->BSIM3v32b1 + pParam->BSIM3v32weff)) > 10.0)
|
if (fabs(1.0e-6 / (pParam->BSIM3v32b1 + pParam->BSIM3v32weff)) > 10.0)
|
||||||
{ fprintf(fplog, "Warning: (B1 + Weff) may be too small.\n");
|
{ fprintf(fplog, "Warning: (B1 + Weff) may be too small.\n");
|
||||||
printf("Warning: (B1 + Weff) may be too small.\n");
|
printf("Warning: (B1 + Weff) may be too small.\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Check Saturation parameters */
|
/* Check Saturation parameters */
|
||||||
if (pParam->BSIM3v32a2 < 0.01)
|
if (pParam->BSIM3v32a2 < 0.01)
|
||||||
{ fprintf(fplog, "Warning: A2 = %g is too small. Set to 0.01.\n", pParam->BSIM3v32a2);
|
{ fprintf(fplog, "Warning: A2 = %g is too small. Set to 0.01.\n", pParam->BSIM3v32a2);
|
||||||
printf("Warning: A2 = %g is too small. Set to 0.01.\n",
|
printf("Warning: A2 = %g is too small. Set to 0.01.\n",
|
||||||
|
|
@ -422,7 +422,7 @@ FILE *fplog;
|
||||||
pParam->BSIM3v32pdibl2);
|
pParam->BSIM3v32pdibl2);
|
||||||
printf("Warning: Pdibl2 = %g is negative.\n", pParam->BSIM3v32pdibl2);
|
printf("Warning: Pdibl2 = %g is negative.\n", pParam->BSIM3v32pdibl2);
|
||||||
}
|
}
|
||||||
/* Check overlap capacitance parameters */
|
/* Check overlap capacitance parameters */
|
||||||
if (model->BSIM3v32cgdo < 0.0)
|
if (model->BSIM3v32cgdo < 0.0)
|
||||||
{ fprintf(fplog, "Warning: cgdo = %g is negative. Set to zero.\n", model->BSIM3v32cgdo);
|
{ fprintf(fplog, "Warning: cgdo = %g is negative. Set to zero.\n", model->BSIM3v32cgdo);
|
||||||
printf("Warning: cgdo = %g is negative. Set to zero.\n", model->BSIM3v32cgdo);
|
printf("Warning: cgdo = %g is negative. Set to zero.\n", model->BSIM3v32cgdo);
|
||||||
|
|
|
||||||
|
|
@ -44,4 +44,3 @@ delgot:
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue