Remove VDMOS_CBS, VDMOS_CBD, VDMOS_CB
This commit is contained in:
parent
2b444a3423
commit
570aacbf02
|
|
@ -26,9 +26,6 @@ IFparm VDMOSpTable[] = { /* parameters */
|
|||
OP( "id", VDMOS_CD, IF_REAL, "Drain current"),
|
||||
OP( "is", VDMOS_CS, IF_REAL, "Source current"),
|
||||
OP( "ig", VDMOS_CG, IF_REAL, "Gate current "),
|
||||
OP( "ib", VDMOS_CB, IF_REAL, "Bulk current "),
|
||||
OPU( "ibd", VDMOS_CBD, IF_REAL, "B-D junction current"),
|
||||
OPU( "ibs", VDMOS_CBS, IF_REAL, "B-S junction current"),
|
||||
OP( "vgs", VDMOS_VGS, IF_REAL, "Gate-Source voltage"),
|
||||
OP( "vds", VDMOS_VDS, IF_REAL, "Drain-Source voltage"),
|
||||
OP( "cgs", VDMOS_CGS, IF_REAL, "Gate-Source capacitance"),
|
||||
|
|
|
|||
|
|
@ -110,12 +110,6 @@ VDMOSask(CKTcircuit *ckt, GENinstance *inst, int which, IFvalue *value,
|
|||
case VDMOS_CD:
|
||||
value->rValue = here->VDMOScd;
|
||||
return(OK);
|
||||
case VDMOS_CBS:
|
||||
value->rValue = here->VDMOScbs;
|
||||
return(OK);
|
||||
case VDMOS_CBD:
|
||||
value->rValue = here->VDMOScbd;
|
||||
return(OK);
|
||||
case VDMOS_GMBS:
|
||||
value->rValue = here->VDMOSgmbs;
|
||||
return(OK);
|
||||
|
|
@ -167,17 +161,6 @@ VDMOSask(CKTcircuit *ckt, GENinstance *inst, int which, IFvalue *value,
|
|||
case VDMOS_CQBS:
|
||||
value->rValue = *(ckt->CKTstate0 + here->VDMOScqbs);
|
||||
return(OK);
|
||||
case VDMOS_CB :
|
||||
if (ckt->CKTcurrentAnalysis & DOING_AC) {
|
||||
errMsg = TMALLOC(char, strlen(msg) + 1);
|
||||
errRtn = "VDMOSask.c";
|
||||
strcpy(errMsg,msg);
|
||||
return(E_ASKCURRENT);
|
||||
} else {
|
||||
value->rValue = here->VDMOScbd + here->VDMOScbs - *(ckt->CKTstate0
|
||||
+ here->VDMOScqgb);
|
||||
}
|
||||
return(OK);
|
||||
case VDMOS_CG :
|
||||
if (ckt->CKTcurrentAnalysis & DOING_AC) {
|
||||
errMsg = TMALLOC(char, strlen(msg) + 1);
|
||||
|
|
|
|||
|
|
@ -407,7 +407,6 @@ enum {
|
|||
VDMOS_IC_VBS,
|
||||
VDMOS_IC_VDS,
|
||||
VDMOS_IC_VGS,
|
||||
VDMOS_CB,
|
||||
VDMOS_CG,
|
||||
VDMOS_CS,
|
||||
VDMOS_POWER,
|
||||
|
|
@ -472,8 +471,6 @@ enum {
|
|||
VDMOS_SOURCEVCRIT,
|
||||
VDMOS_DRAINVCRIT,
|
||||
VDMOS_CD,
|
||||
VDMOS_CBS,
|
||||
VDMOS_CBD,
|
||||
VDMOS_GMBS,
|
||||
VDMOS_GM,
|
||||
VDMOS_GDS,
|
||||
|
|
|
|||
Loading…
Reference in New Issue