From 9e74c9ee620da954ee29326b5250dd8c4a20663c Mon Sep 17 00:00:00 2001 From: dwarning Date: Thu, 16 Feb 2006 15:42:04 +0000 Subject: [PATCH] Added adms compiled devices: hicum0, mextram --- src/spicelib/parser/inp2q.c | 2 ++ src/spicelib/parser/inpdomod.c | 16 +++++++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/src/spicelib/parser/inp2q.c b/src/spicelib/parser/inp2q.c index 0803e426c..38fb01e2a 100644 --- a/src/spicelib/parser/inp2q.c +++ b/src/spicelib/parser/inp2q.c @@ -70,6 +70,8 @@ void INP2Q(void *ckt, INPtables * tab, card * current, void *gnode) if((thismodel->INPmodType != INPtypelook("BJT")) && (thismodel->INPmodType != INPtypelook("BJT2")) && (thismodel->INPmodType != INPtypelook("VBIC")) + && (thismodel->INPmodType != INPtypelook("hicum0")) + && (thismodel->INPmodType != INPtypelook("mextram")) #ifdef CIDER && (thismodel->INPmodType != INPtypelook("NBJT")) && (thismodel->INPmodType != INPtypelook("NBJT2")) diff --git a/src/spicelib/parser/inpdomod.c b/src/spicelib/parser/inpdomod.c index 8235cc784..e734b5102 100644 --- a/src/spicelib/parser/inpdomod.c +++ b/src/spicelib/parser/inpdomod.c @@ -64,9 +64,23 @@ char *INPdomodel(void *ckt, card * image, INPtables * tab) "Device type VBIC not available in this binary\n"); } break; + case 6: + type = INPtypelook("mextram"); + if(type < 0) { + err = INPmkTemp( + "Device type MEXTRAM not available in this binary\n"); + } + break; + case 7: + type = INPtypelook("hicum0"); + if(type < 0) { + err = INPmkTemp( + "Device type HICUM0 not available in this binary\n"); + } + break; default: /* placeholder; use level 4 for the next model */ err = INPmkTemp( - "Only BJT levels 1-2, 4 are supported in this binary\n"); + "Only BJT levels 1-2, 4,7 are supported in this binary\n"); break; }