simd suffix after model version works again

This commit is contained in:
Florian Ballenegger 2020-07-26 00:49:57 +02:00
parent 7e7561c054
commit a53b190fbf
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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