gspr and gdpr initialized with a resistance, corrected.
This commit is contained in:
parent
dab7eea4f5
commit
d0d274f49f
|
|
@ -1,5 +1,8 @@
|
|||
2003-12-30 Paolo Nenzi <p.nenzi@ieee.org>
|
||||
|
||||
* src/spicelib/devices/jfet/jfetpzld.c: gspr and gdpr were initialized
|
||||
with Resist and not Conduct, corrected!
|
||||
|
||||
* src/spicelib/devices/hfet1/*: Added parallel multiplier and "dtemp" to
|
||||
the code. Added the pole-zero analysis and parallel code checks.
|
||||
Corrected a bug in the unsetup function that caused a segfault.
|
||||
|
|
|
|||
|
|
@ -37,8 +37,8 @@ JFETpzLoad(GENmodel *inModel, CKTcircuit *ckt, SPcomplex *s)
|
|||
|
||||
m = here->JFETm;
|
||||
|
||||
gdpr=model->JFETdrainResist * here->JFETarea;
|
||||
gspr=model->JFETsourceResist * here->JFETarea;
|
||||
gdpr=model->JFETdrainConduct * here->JFETarea;
|
||||
gspr=model->JFETsourceConduct * here->JFETarea;
|
||||
gm= *(ckt->CKTstate0 + here->JFETgm) ;
|
||||
gds= *(ckt->CKTstate0 + here->JFETgds) ;
|
||||
ggs= *(ckt->CKTstate0 + here->JFETggs) ;
|
||||
|
|
|
|||
Loading…
Reference in New Issue