From f35e2fb62533a0647b7a8a935da0aaaf6c447993 Mon Sep 17 00:00:00 2001 From: dwarning Date: Sat, 14 Feb 2009 12:24:06 +0000 Subject: [PATCH] some mappings for bsimsoi and bsim4 --- src/spicelib/parser/inpdomod.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/spicelib/parser/inpdomod.c b/src/spicelib/parser/inpdomod.c index d40e8c3b9..46cb80b05 100644 --- a/src/spicelib/parser/inpdomod.c +++ b/src/spicelib/parser/inpdomod.c @@ -308,7 +308,7 @@ char *INPdomodel(void *ckt, card * image, INPtables * tab) break; case 14: case 54: err = INPfindVer(line, ver); /* mapping of minor versions are included */ - if (prefix("4.2", ver)) { + if ((prefix("4.0", ver)) || (prefix("4.1", ver)) || (prefix("4.2", ver))) { type = INPtypelook("BSIM4v2"); } if (prefix("4.3", ver)) { @@ -386,7 +386,7 @@ char *INPdomodel(void *ckt, card * image, INPtables * tab) ("Placeholder: Device type B3SOIPD not available in this binary\n"); } break; - case 58: + case 10: case 58: type = INPtypelook("B4SOI"); if (type < 0) { err =