allow version model parameter in exponential format for bsim3
This commit is contained in:
parent
8357564fee
commit
88f1fa0092
|
|
@ -292,10 +292,10 @@ char *INPdomodel(CKTcircuit *ckt, struct card *image, INPtables * tab)
|
||||||
case 8: case 49:
|
case 8: case 49:
|
||||||
err = INPfindVer(line, ver);
|
err = INPfindVer(line, ver);
|
||||||
|
|
||||||
if ( strcmp(ver, "3.0") == 0 ) {
|
if (prefix("3.0", ver)) {
|
||||||
type = INPtypelook("BSIM3v0");
|
type = INPtypelook("BSIM3v0");
|
||||||
}
|
}
|
||||||
if ( strcmp(ver, "3.1") == 0 ) {
|
if (prefix("3.1", ver)) {
|
||||||
type = INPtypelook("BSIM3v1");
|
type = INPtypelook("BSIM3v1");
|
||||||
}
|
}
|
||||||
if (prefix("3.2", ver)) { /* version string ver has to start with 3.2 */
|
if (prefix("3.2", ver)) { /* version string ver has to start with 3.2 */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue