Browse Source

vbic was lost

pre-master-46
dwarning 18 years ago
parent
commit
4fd732f450
  1. 4
      ChangeLog
  2. 4
      src/spicelib/devices/vbic/vbicnoise.c
  3. 4
      src/spicelib/parser/inp2q.c

4
ChangeLog

@ -1,3 +1,7 @@
2008-10-27 Dietmar Warning
* src/spicelib/parser/inp2q.c VBIC is standard - not ADMS (yet)
* src/spicelib/devices/vbic/vbicnoise.c correct naming array order according vbicdefs.h
2008-10-14 Dietmar Warning 2008-10-14 Dietmar Warning
* src/main.c, src/misc/util.c polish to prevent warnings * src/main.c, src/misc/util.c polish to prevent warnings

4
src/spicelib/devices/vbic/vbicnoise.c

@ -49,13 +49,13 @@ VBICnoise (int mode, int operation, GENmodel *genmodel, CKTcircuit *ckt, Ndata *
"_rbi", /* noise due to rbi */ "_rbi", /* noise due to rbi */
"_re", /* noise due to re */ "_re", /* noise due to re */
"_rbp", /* noise due to rbp */ "_rbp", /* noise due to rbp */
"_rs", /* noise due to rs */
"_ic", /* noise due to ic */ "_ic", /* noise due to ic */
"_ib", /* noise due to ib */ "_ib", /* noise due to ib */
"_ibep", /* noise due to ibep */ "_ibep", /* noise due to ibep */
"_iccp", /* noise due to iccp */
"_1overfbe", /* flicker (1/f) noise ibe */ "_1overfbe", /* flicker (1/f) noise ibe */
"_1overfbep", /* flicker (1/f) noise ibep */ "_1overfbep", /* flicker (1/f) noise ibep */
"_rs", /* noise due to rs */
"_iccp", /* noise due to iccp */
"" /* total transistor noise */ "" /* total transistor noise */
}; };

4
src/spicelib/parser/inp2q.c

@ -104,7 +104,7 @@ void INP2Q(void *ckt, INPtables * tab, card * current, void *gnode)
printf("INP2Q: Looking up model\n"); printf("INP2Q: Looking up model\n");
#endif #endif
if (thismodel != NULL) { if (thismodel != NULL) {
if((thismodel->INPmodType != INPtypelook("BJT"))
if((thismodel->INPmodType != INPtypelook("BJT"))
&& (thismodel->INPmodType != INPtypelook("BJT2")) && (thismodel->INPmodType != INPtypelook("BJT2"))
#ifdef CIDER #ifdef CIDER
&& (thismodel->INPmodType != INPtypelook("NBJT")) && (thismodel->INPmodType != INPtypelook("NBJT"))
@ -114,8 +114,8 @@ void INP2Q(void *ckt, INPtables * tab, card * current, void *gnode)
&& (thismodel->INPmodType != INPtypelook("hicum0")) && (thismodel->INPmodType != INPtypelook("hicum0"))
&& (thismodel->INPmodType != INPtypelook("hicum2")) && (thismodel->INPmodType != INPtypelook("hicum2"))
&& (thismodel->INPmodType != INPtypelook("mextram")) && (thismodel->INPmodType != INPtypelook("mextram"))
&& (thismodel->INPmodType != INPtypelook("vbic"))
#endif #endif
&& (thismodel->INPmodType != INPtypelook("VBIC"))
) { ) {
LITERR("incorrect model type") LITERR("incorrect model type")
return; return;

Loading…
Cancel
Save