Browse Source

Added adms compiled devices: hicum0, mextram

pre-master-46
dwarning 20 years ago
parent
commit
9e74c9ee62
  1. 2
      src/spicelib/parser/inp2q.c
  2. 16
      src/spicelib/parser/inpdomod.c

2
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"))

16
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;
}

Loading…
Cancel
Save