From 0685cf4bb869cad9bd2fa3b60d5ee9d40f3162c5 Mon Sep 17 00:00:00 2001 From: pnenzi Date: Thu, 17 May 2001 20:15:17 +0000 Subject: [PATCH] EKV support: added a line I forgot in the previous commits. --- src/spicelib/parser/inp2m.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/spicelib/parser/inp2m.c b/src/spicelib/parser/inp2m.c index 12a48b042..4dcefee26 100644 --- a/src/spicelib/parser/inp2m.c +++ b/src/spicelib/parser/inp2m.c @@ -167,7 +167,11 @@ INP2M (void *ckt, INPtables * tab, card * current) && thismodel->INPmodType != INPtypelook ("BSIM4") && thismodel->INPmodType != INPtypelook ("BSIM3V1") && thismodel->INPmodType != INPtypelook ("BSIM3V2") - && thismodel->INPmodType != INPtypelook ("SOI3")) + && thismodel->INPmodType != INPtypelook ("SOI3") +#ifdef HAVE_EKV + && thismodel->INPmodType != INPtypelook ("EKV") +#endif + ) { LITERR ("incorrect model type"); return;