fix HICUM csu readin

This commit is contained in:
Markus Mueller 2020-09-07 13:17:42 +02:00
parent 23183f10b6
commit fa7f96b4af
2 changed files with 3 additions and 2 deletions

View File

@ -253,7 +253,9 @@ HICUMmParam(int param, IFvalue *value, GENmodel *inModel)
model->HICUMrsuGiven = TRUE;
break;
case HICUM_MOD_CSU:
break; //todo
model->HICUMcsu = value->rValue;
model->HICUMcsuGiven = TRUE;
break;
//Depletion Capacitances
case HICUM_MOD_CJEI0:

View File

@ -2962,7 +2962,6 @@ load:
rhs_current = model->HICUMtype * (*(ckt->CKTstate0 + here->HICUMcqbcpar2) - Vbpci * gqbcpar2);
*(ckt->CKTrhs + here->HICUMbaseBPNode) += -rhs_current;
*(ckt->CKTrhs + here->HICUMcollCINode) += rhs_current;
//*(ckt->CKTrhs + here->HICUMsubsSINode) += rhs_current; //Markus:??
// with respect to Vbpci
*(here->HICUMbaseBPBaseBPPtr) += gqbcpar2;
*(here->HICUMcollCICollCIPtr) += gqbcpar2;