fix HICUM csu readin
This commit is contained in:
parent
23183f10b6
commit
fa7f96b4af
|
|
@ -253,7 +253,9 @@ HICUMmParam(int param, IFvalue *value, GENmodel *inModel)
|
||||||
model->HICUMrsuGiven = TRUE;
|
model->HICUMrsuGiven = TRUE;
|
||||||
break;
|
break;
|
||||||
case HICUM_MOD_CSU:
|
case HICUM_MOD_CSU:
|
||||||
break; //todo
|
model->HICUMcsu = value->rValue;
|
||||||
|
model->HICUMcsuGiven = TRUE;
|
||||||
|
break;
|
||||||
|
|
||||||
//Depletion Capacitances
|
//Depletion Capacitances
|
||||||
case HICUM_MOD_CJEI0:
|
case HICUM_MOD_CJEI0:
|
||||||
|
|
|
||||||
|
|
@ -2962,7 +2962,6 @@ load:
|
||||||
rhs_current = model->HICUMtype * (*(ckt->CKTstate0 + here->HICUMcqbcpar2) - Vbpci * gqbcpar2);
|
rhs_current = model->HICUMtype * (*(ckt->CKTstate0 + here->HICUMcqbcpar2) - Vbpci * gqbcpar2);
|
||||||
*(ckt->CKTrhs + here->HICUMbaseBPNode) += -rhs_current;
|
*(ckt->CKTrhs + here->HICUMbaseBPNode) += -rhs_current;
|
||||||
*(ckt->CKTrhs + here->HICUMcollCINode) += rhs_current;
|
*(ckt->CKTrhs + here->HICUMcollCINode) += rhs_current;
|
||||||
//*(ckt->CKTrhs + here->HICUMsubsSINode) += rhs_current; //Markus:??
|
|
||||||
// with respect to Vbpci
|
// with respect to Vbpci
|
||||||
*(here->HICUMbaseBPBaseBPPtr) += gqbcpar2;
|
*(here->HICUMbaseBPBaseBPPtr) += gqbcpar2;
|
||||||
*(here->HICUMcollCICollCIPtr) += gqbcpar2;
|
*(here->HICUMcollCICollCIPtr) += gqbcpar2;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue