Fix the overlap in state vector for sensitivity states of diode and bjt model.
This commit is contained in:
parent
e1afc5cf09
commit
ee6cd951cd
|
|
@ -380,12 +380,12 @@ typedef struct sBJTinstance {
|
||||||
|
|
||||||
#define BJTnumStates 33
|
#define BJTnumStates 33
|
||||||
|
|
||||||
#define BJTsensxpbe BJTstate+24 /* charge sensitivities and their
|
#define BJTsensxpbe BJTstate+33 /* charge sensitivities and their
|
||||||
derivatives. +25 for the derivatives -
|
derivatives. +34 for the derivatives -
|
||||||
pointer to the beginning of the array */
|
pointer to the beginning of the array */
|
||||||
#define BJTsensxpbc BJTstate+26
|
#define BJTsensxpbc BJTstate+35
|
||||||
#define BJTsensxpsub BJTstate+28
|
#define BJTsensxpsub BJTstate+37
|
||||||
#define BJTsensxpbx BJTstate+30
|
#define BJTsensxpbx BJTstate+39
|
||||||
|
|
||||||
#define BJTnumSenStates 8
|
#define BJTnumSenStates 8
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -265,8 +265,8 @@ typedef struct sDIOinstance {
|
||||||
|
|
||||||
#define DIOnumStates 15
|
#define DIOnumStates 15
|
||||||
|
|
||||||
#define DIOsensxp DIOstate+12 /* charge sensitivities and their derivatives.
|
#define DIOsensxp DIOstate+15 /* charge sensitivities and their derivatives.
|
||||||
* +10 for the derivatives - pointer to the
|
* +16 for the derivatives - pointer to the
|
||||||
* beginning of the array */
|
* beginning of the array */
|
||||||
|
|
||||||
#define DIOnumSenStates 2
|
#define DIOnumSenStates 2
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue