if no bsim3 version given then use 3.30

This commit is contained in:
dwarning 2007-12-10 21:14:49 +00:00
parent 7ce19a84ea
commit 95ff0a0277
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,6 @@
2007-12-09 Dietmar Warning
* src/frontend/numparam/xpression.c: placeholder for agauss (y=nominal_value)
* src/spicelib/parser/inpdomod.c: if no bsim3 version given then use 3.30
2007-12-09 Holger Vogt
* src/frontend/wdisp/windisp.c: better prototypes and some cosmetics

View File

@ -279,7 +279,8 @@ char *INPdomodel(void *ckt, card * image, INPtables * tab)
(strstr(ver, "3.2.4")) || (strstr(ver, "3.24")) ) {
type = INPtypelook("BSIM3v32");
}
if ( (strstr(ver, "3.3")) || (strstr(ver, "3.3.0")) || (strstr(ver, "3.30")) ) {
if ( (strstr(ver, "default"))
|| (strstr(ver, "3.3")) || (strstr(ver, "3.3.0")) || (strstr(ver, "3.30")) ) {
type = INPtypelook("BSIM3");
}
if (type < 0) {