diff --git a/examples/digital/adder_mos.cir b/examples/digital/adder_mos.cir index cf94dfe2f..6458cf997 100644 --- a/examples/digital/adder_mos.cir +++ b/examples/digital/adder_mos.cir @@ -58,8 +58,8 @@ X1 1 2 3 4 5 6 7 8 9 10 11 12 0 13 99 FOURBIT .save V(1) V(2) V(3) V(4) V(5) V(6) V(7) V(8) * use BSIM3 model with default parameters -.model n1 nmos level=88 version=3.2.4 -.model p1 pmos level=88 version=3.2.4 +.model n1 nmos level=49 version=3.2.4simd +.model p1 pmos level=49 version=3.2.4simd *.include ./Modelcards/modelcard32.nmos *.include ./Modelcards/modelcard32.pmos diff --git a/src/spicelib/parser/inpdomod.c b/src/spicelib/parser/inpdomod.c index 29c0b0145..324d994c4 100644 --- a/src/spicelib/parser/inpdomod.c +++ b/src/spicelib/parser/inpdomod.c @@ -299,7 +299,7 @@ char *INPdomodel(CKTcircuit *ckt, struct card *image, INPtables * tab) type = INPtypelook("BSIM3v1"); } if (prefix("3.2", ver)) { /* version string ver has to start with 3.2 */ - #ifdef BSIM3v32SIMDxxxxx + #ifdef BSIM3v32SIMD if((strlen(ver)>5) && (strcmp(&ver[strlen(ver)-4],"simd")==0)) type = INPtypelook("BSIM3v32simd"); else