Browse Source

someone gives version=3.30e+00 in bsim models

pre-master-46
dwarning 13 years ago
committed by rlar
parent
commit
661314a397
  1. 4
      src/spicelib/devices/bsim3/b3check.c
  2. 2
      src/spicelib/devices/bsim3v32/b3v32check.c

4
src/spicelib/devices/bsim3/b3check.c

@ -31,10 +31,10 @@ FILE *fplog;
NG_IGNORE(ckt);
if ((fplog = fopen("b3v3check.log", "w")) != NULL)
if ((fplog = fopen("b3v33check.log", "w")) != NULL)
{ pParam = here->pParam;
fprintf(fplog, "BSIM3v3.3.0 Parameter Checking.\n");
if ((strcmp(model->BSIM3version, "3.3.0")) && (strcmp(model->BSIM3version, "3.30")) && (strcmp(model->BSIM3version, "3.3")))
if ((strncmp(model->BSIM3version, "3.3.0", 5)) && (strncmp(model->BSIM3version, "3.30", 4)) && (strncmp(model->BSIM3version, "3.3", 3)))
{ fprintf(fplog, "Warning: This model is BSIM3v3.3.0; you specified a wrong version number.\n");
printf("Warning: This model is BSIM3v3.3.0; you specified a wrong version number.\n");
}

2
src/spicelib/devices/bsim3v32/b3v32check.c

@ -28,7 +28,7 @@ FILE *fplog;
NG_IGNORE(ckt);
if ((fplog = fopen("b3v3check.log", "w")) != NULL)
if ((fplog = fopen("b3v32check.log", "w")) != NULL)
{ pParam = here->pParam;
fprintf (fplog,

Loading…
Cancel
Save