rename ancient misspelled struct members
This commit is contained in:
parent
b511a9179a
commit
39800df3fb
|
|
@ -18,7 +18,7 @@ Author: 1985 Thomas L. Quarles
|
||||||
/* information to describe a single instance */
|
/* information to describe a single instance */
|
||||||
|
|
||||||
typedef struct sASRCinstance {
|
typedef struct sASRCinstance {
|
||||||
struct sASRCmodel *ARRCmodPtr; /* backpointer to model */
|
struct sASRCmodel *ASRCmodPtr; /* backpointer to model */
|
||||||
struct sASRCinstance *ASRCnextInstance; /* pointer to next instance of
|
struct sASRCinstance *ASRCnextInstance; /* pointer to next instance of
|
||||||
* current model */
|
* current model */
|
||||||
IFuid ASRCname; /* pointer to character string naming this instance */
|
IFuid ASRCname; /* pointer to character string naming this instance */
|
||||||
|
|
|
||||||
|
|
@ -182,7 +182,7 @@ MOS1ask(CKTcircuit *ckt, GENinstance *inst, int which, IFvalue *value,
|
||||||
case MOS1_CAPGS:
|
case MOS1_CAPGS:
|
||||||
value->rValue = 2* *(ckt->CKTstate0 + here->MOS1capgs);
|
value->rValue = 2* *(ckt->CKTstate0 + here->MOS1capgs);
|
||||||
/* add overlap capacitance */
|
/* add overlap capacitance */
|
||||||
value->rValue += (here->sMOS1modPtr->MOS1gateSourceOverlapCapFactor)
|
value->rValue += (here->MOS1modPtr->MOS1gateSourceOverlapCapFactor)
|
||||||
* here->MOS1m
|
* here->MOS1m
|
||||||
* (here->MOS1w);
|
* (here->MOS1w);
|
||||||
return(OK);
|
return(OK);
|
||||||
|
|
@ -195,7 +195,7 @@ MOS1ask(CKTcircuit *ckt, GENinstance *inst, int which, IFvalue *value,
|
||||||
case MOS1_CAPGD:
|
case MOS1_CAPGD:
|
||||||
value->rValue = 2* *(ckt->CKTstate0 + here->MOS1capgd);
|
value->rValue = 2* *(ckt->CKTstate0 + here->MOS1capgd);
|
||||||
/* add overlap capacitance */
|
/* add overlap capacitance */
|
||||||
value->rValue += (here->sMOS1modPtr->MOS1gateDrainOverlapCapFactor)
|
value->rValue += (here->MOS1modPtr->MOS1gateDrainOverlapCapFactor)
|
||||||
* here->MOS1m
|
* here->MOS1m
|
||||||
* (here->MOS1w);
|
* (here->MOS1w);
|
||||||
return(OK);
|
return(OK);
|
||||||
|
|
@ -208,10 +208,10 @@ MOS1ask(CKTcircuit *ckt, GENinstance *inst, int which, IFvalue *value,
|
||||||
case MOS1_CAPGB:
|
case MOS1_CAPGB:
|
||||||
value->rValue = 2* *(ckt->CKTstate0 + here->MOS1capgb);
|
value->rValue = 2* *(ckt->CKTstate0 + here->MOS1capgb);
|
||||||
/* add overlap capacitance */
|
/* add overlap capacitance */
|
||||||
value->rValue += (here->sMOS1modPtr->MOS1gateBulkOverlapCapFactor)
|
value->rValue += (here->MOS1modPtr->MOS1gateBulkOverlapCapFactor)
|
||||||
* here->MOS1m
|
* here->MOS1m
|
||||||
* (here->MOS1l
|
* (here->MOS1l
|
||||||
-2*(here->sMOS1modPtr->MOS1latDiff));
|
-2*(here->MOS1modPtr->MOS1latDiff));
|
||||||
return(OK);
|
return(OK);
|
||||||
case MOS1_QGB:
|
case MOS1_QGB:
|
||||||
value->rValue = *(ckt->CKTstate0 + here->MOS1qgb);
|
value->rValue = *(ckt->CKTstate0 + here->MOS1qgb);
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ Modified: 2000 AlansFixes
|
||||||
/* information needed for each instance */
|
/* information needed for each instance */
|
||||||
|
|
||||||
typedef struct sMOS1instance {
|
typedef struct sMOS1instance {
|
||||||
struct sMOS1model *sMOS1modPtr; /* backpointer to model */
|
struct sMOS1model *MOS1modPtr; /* backpointer to model */
|
||||||
struct sMOS1instance *MOS1nextInstance; /* pointer to next instance of
|
struct sMOS1instance *MOS1nextInstance; /* pointer to next instance of
|
||||||
*current model*/
|
*current model*/
|
||||||
IFuid MOS1name; /* pointer to character string naming this instance */
|
IFuid MOS1name; /* pointer to character string naming this instance */
|
||||||
|
|
|
||||||
|
|
@ -209,7 +209,7 @@ MOS6ask(CKTcircuit *ckt, GENinstance *inst, int which,
|
||||||
case MOS6_CAPGS:
|
case MOS6_CAPGS:
|
||||||
value->rValue = 2* *(ckt->CKTstate0 + here->MOS6capgs);
|
value->rValue = 2* *(ckt->CKTstate0 + here->MOS6capgs);
|
||||||
/* add overlap capacitance */
|
/* add overlap capacitance */
|
||||||
value->rValue += (here->sMOS6modPtr->MOS6gateSourceOverlapCapFactor)
|
value->rValue += (here->MOS6modPtr->MOS6gateSourceOverlapCapFactor)
|
||||||
* (here->MOS6w);
|
* (here->MOS6w);
|
||||||
value->rValue *= here->MOS6m;
|
value->rValue *= here->MOS6m;
|
||||||
return(OK);
|
return(OK);
|
||||||
|
|
@ -224,7 +224,7 @@ MOS6ask(CKTcircuit *ckt, GENinstance *inst, int which,
|
||||||
case MOS6_CAPGD:
|
case MOS6_CAPGD:
|
||||||
value->rValue = 2* *(ckt->CKTstate0 + here->MOS6capgd);
|
value->rValue = 2* *(ckt->CKTstate0 + here->MOS6capgd);
|
||||||
/* add overlap capacitance */
|
/* add overlap capacitance */
|
||||||
value->rValue += (here->sMOS6modPtr->MOS6gateSourceOverlapCapFactor)
|
value->rValue += (here->MOS6modPtr->MOS6gateSourceOverlapCapFactor)
|
||||||
* (here->MOS6w);
|
* (here->MOS6w);
|
||||||
value->rValue *= here->MOS6m;
|
value->rValue *= here->MOS6m;
|
||||||
return(OK);
|
return(OK);
|
||||||
|
|
@ -239,9 +239,9 @@ MOS6ask(CKTcircuit *ckt, GENinstance *inst, int which,
|
||||||
case MOS6_CAPGB:
|
case MOS6_CAPGB:
|
||||||
value->rValue = 2* *(ckt->CKTstate0 + here->MOS6capgb);
|
value->rValue = 2* *(ckt->CKTstate0 + here->MOS6capgb);
|
||||||
/* add overlap capacitance */
|
/* add overlap capacitance */
|
||||||
value->rValue += (here->sMOS6modPtr->MOS6gateBulkOverlapCapFactor)
|
value->rValue += (here->MOS6modPtr->MOS6gateBulkOverlapCapFactor)
|
||||||
* (here->MOS6l
|
* (here->MOS6l
|
||||||
-2*(here->sMOS6modPtr->MOS6latDiff));
|
-2*(here->MOS6modPtr->MOS6latDiff));
|
||||||
value->rValue *= here->MOS6m;
|
value->rValue *= here->MOS6m;
|
||||||
return(OK);
|
return(OK);
|
||||||
case MOS6_QGB:
|
case MOS6_QGB:
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ Author: 1985 Thomas L. Quarles
|
||||||
/* information needed for each instance */
|
/* information needed for each instance */
|
||||||
|
|
||||||
typedef struct sMOS6instance {
|
typedef struct sMOS6instance {
|
||||||
struct sMOS6model *sMOS6modPtr; /* backpointer to model */
|
struct sMOS6model *MOS6modPtr; /* backpointer to model */
|
||||||
struct sMOS6instance *MOS6nextInstance; /* pointer to next instance of
|
struct sMOS6instance *MOS6nextInstance; /* pointer to next instance of
|
||||||
*current model*/
|
*current model*/
|
||||||
IFuid MOS6name; /* pointer to character string naming this instance */
|
IFuid MOS6name; /* pointer to character string naming this instance */
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@ ngspice integration
|
||||||
|
|
||||||
typedef struct sSOI3instance {
|
typedef struct sSOI3instance {
|
||||||
|
|
||||||
struct sSOI3model *sSOI3modPtr; /* backpointer to model */
|
struct sSOI3model *SOI3modPtr; /* backpointer to model */
|
||||||
struct sSOI3instance *SOI3nextInstance; /* pointer to next instance of
|
struct sSOI3instance *SOI3nextInstance; /* pointer to next instance of
|
||||||
*current model*/
|
*current model*/
|
||||||
IFuid SOI3name; /* pointer to character string naming this instance */
|
IFuid SOI3name; /* pointer to character string naming this instance */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue