DEVdestroy(), change API, #1/2, coccinelle semantic patch
This commit is contained in:
parent
b29ad51a6c
commit
1befa488f6
|
|
@ -6,7 +6,7 @@ Author: 1985 Thomas L. Quarles
|
|||
extern int ASRCask(CKTcircuit *, GENinstance *, int, IFvalue *, IFvalue*);
|
||||
extern int ASRCconvTest(GENmodel *, CKTcircuit *);
|
||||
extern int ASRCdelete(GENinstance *);
|
||||
extern void ASRCdestroy(GENmodel **);
|
||||
extern void ASRCdestroy(void);
|
||||
extern int ASRCfindBr(CKTcircuit *, GENmodel *, IFuid);
|
||||
extern int ASRCload(GENmodel *, CKTcircuit *);
|
||||
extern int ASRCmDelete(GENmodel *);
|
||||
|
|
|
|||
|
|
@ -14,21 +14,6 @@ Author: 1985 Thomas L. Quarles
|
|||
|
||||
|
||||
void
|
||||
BJTdestroy(GENmodel **inModel)
|
||||
BJTdestroy(void)
|
||||
{
|
||||
BJTmodel *mod = *(BJTmodel**) inModel;
|
||||
|
||||
while (mod) {
|
||||
BJTmodel *next_mod = mod->BJTnextModel;
|
||||
BJTinstance *inst = mod->BJTinstances;
|
||||
while (inst) {
|
||||
BJTinstance *next_inst = inst->BJTnextInstance;
|
||||
FREE(inst);
|
||||
inst = next_inst;
|
||||
}
|
||||
FREE(mod);
|
||||
mod = next_mod;
|
||||
}
|
||||
|
||||
*inModel = NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ extern int BJTacLoad(GENmodel *,CKTcircuit*);
|
|||
extern int BJTask(CKTcircuit *,GENinstance*,int,IFvalue*,IFvalue*);
|
||||
extern int BJTconvTest(GENmodel*,CKTcircuit*);
|
||||
extern int BJTdelete(GENinstance*);
|
||||
extern void BJTdestroy(GENmodel**);
|
||||
extern void BJTdestroy(void);
|
||||
extern int BJTgetic(GENmodel*,CKTcircuit*);
|
||||
extern int BJTload(GENmodel*,CKTcircuit*);
|
||||
extern int BJTmAsk(CKTcircuit*,GENmodel*,int,IFvalue*);
|
||||
|
|
|
|||
|
|
@ -9,21 +9,6 @@ Author: 1985 Hong J. Park, Thomas L. Quarles
|
|||
|
||||
|
||||
void
|
||||
B1destroy(GENmodel **inModel)
|
||||
B1destroy(void)
|
||||
{
|
||||
B1model *mod = *(B1model**) inModel;
|
||||
|
||||
while (mod) {
|
||||
B1model *next_mod = mod->B1nextModel;
|
||||
B1instance *inst = mod->B1instances;
|
||||
while (inst) {
|
||||
B1instance *next_inst = inst->B1nextInstance;
|
||||
FREE(inst);
|
||||
inst = next_inst;
|
||||
}
|
||||
FREE(mod);
|
||||
mod = next_mod;
|
||||
}
|
||||
|
||||
*inModel = NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ extern int B1acLoad(GENmodel *,CKTcircuit*);
|
|||
extern int B1ask(CKTcircuit *,GENinstance*,int,IFvalue*,IFvalue*);
|
||||
extern int B1convTest(GENmodel *,CKTcircuit*);
|
||||
extern int B1delete(GENinstance*);
|
||||
extern void B1destroy(GENmodel**);
|
||||
extern void B1destroy(void);
|
||||
extern int B1getic(GENmodel*,CKTcircuit*);
|
||||
extern int B1load(GENmodel*,CKTcircuit*);
|
||||
extern int B1mAsk(CKTcircuit*,GENmodel *,int, IFvalue*);
|
||||
|
|
|
|||
|
|
@ -9,21 +9,6 @@ Author: 1985 Hong J. Park, Thomas L. Quarles
|
|||
|
||||
|
||||
void
|
||||
B2destroy(GENmodel **inModel)
|
||||
B2destroy(void)
|
||||
{
|
||||
B2model *mod = *(B2model**) inModel;
|
||||
|
||||
while (mod) {
|
||||
B2model *next_mod = mod->B2nextModel;
|
||||
B2instance *inst = mod->B2instances;
|
||||
while (inst) {
|
||||
B2instance *next_inst = inst->B2nextInstance;
|
||||
FREE(inst);
|
||||
inst = next_inst;
|
||||
}
|
||||
FREE(mod);
|
||||
mod = next_mod;
|
||||
}
|
||||
|
||||
*inModel = NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ extern int B2acLoad(GENmodel *,CKTcircuit*);
|
|||
extern int B2ask(CKTcircuit *,GENinstance*,int,IFvalue*,IFvalue*);
|
||||
extern int B2convTest(GENmodel *,CKTcircuit*);
|
||||
extern int B2delete(GENinstance*);
|
||||
extern void B2destroy(GENmodel**);
|
||||
extern void B2destroy(void);
|
||||
extern int B2getic(GENmodel*,CKTcircuit*);
|
||||
extern int B2load(GENmodel*,CKTcircuit*);
|
||||
extern int B2mAsk(CKTcircuit*,GENmodel *,int, IFvalue*);
|
||||
|
|
|
|||
|
|
@ -14,23 +14,6 @@
|
|||
|
||||
|
||||
void
|
||||
BSIM3destroy(GENmodel **inModel)
|
||||
BSIM3destroy(void)
|
||||
{
|
||||
BSIM3model *mod = *(BSIM3model**) inModel;
|
||||
|
||||
while (mod) {
|
||||
BSIM3model *next_mod = mod->BSIM3nextModel;
|
||||
BSIM3instance *inst = mod->BSIM3instances;
|
||||
|
||||
while (inst) {
|
||||
BSIM3instance *next_inst = inst->BSIM3nextInstance;
|
||||
FREE(inst);
|
||||
inst = next_inst;
|
||||
}
|
||||
|
||||
FREE(mod);
|
||||
mod = next_mod;
|
||||
}
|
||||
|
||||
*inModel = NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ extern int BSIM3acLoad(GENmodel *,CKTcircuit*);
|
|||
extern int BSIM3ask(CKTcircuit *,GENinstance*,int,IFvalue*,IFvalue*);
|
||||
extern int BSIM3convTest(GENmodel *,CKTcircuit*);
|
||||
extern int BSIM3delete(GENinstance*);
|
||||
extern void BSIM3destroy(GENmodel**);
|
||||
extern void BSIM3destroy(void);
|
||||
extern int BSIM3getic(GENmodel*,CKTcircuit*);
|
||||
extern int BSIM3load(GENmodel*,CKTcircuit*);
|
||||
extern int BSIM3mAsk(CKTcircuit*,GENmodel *,int, IFvalue*);
|
||||
|
|
|
|||
|
|
@ -16,21 +16,6 @@ Modified by Paolo Nenzi 2002
|
|||
|
||||
|
||||
void
|
||||
B3SOIDDdestroy(GENmodel **inModel)
|
||||
B3SOIDDdestroy(void)
|
||||
{
|
||||
B3SOIDDmodel *mod = *(B3SOIDDmodel**) inModel;
|
||||
|
||||
while (mod) {
|
||||
B3SOIDDmodel *next_mod = mod->B3SOIDDnextModel;
|
||||
B3SOIDDinstance *inst = mod->B3SOIDDinstances;
|
||||
while (inst) {
|
||||
B3SOIDDinstance *next_inst = inst->B3SOIDDnextInstance;
|
||||
FREE(inst);
|
||||
inst = next_inst;
|
||||
}
|
||||
FREE(mod);
|
||||
mod = next_mod;
|
||||
}
|
||||
|
||||
*inModel = NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ extern int B3SOIDDacLoad(GENmodel *,CKTcircuit*);
|
|||
extern int B3SOIDDask(CKTcircuit *,GENinstance*,int,IFvalue*,IFvalue*);
|
||||
extern int B3SOIDDconvTest(GENmodel *,CKTcircuit*);
|
||||
extern int B3SOIDDdelete(GENinstance*);
|
||||
extern void B3SOIDDdestroy(GENmodel**);
|
||||
extern void B3SOIDDdestroy(void);
|
||||
extern int B3SOIDDgetic(GENmodel*,CKTcircuit*);
|
||||
extern int B3SOIDDload(GENmodel*,CKTcircuit*);
|
||||
extern int B3SOIDDmAsk(CKTcircuit*,GENmodel *,int, IFvalue*);
|
||||
|
|
|
|||
|
|
@ -16,21 +16,6 @@ File: b3soifddest.c 98/5/01
|
|||
|
||||
|
||||
void
|
||||
B3SOIFDdestroy(GENmodel **inModel)
|
||||
B3SOIFDdestroy(void)
|
||||
{
|
||||
B3SOIFDmodel *mod = *(B3SOIFDmodel**) inModel;
|
||||
|
||||
while (mod) {
|
||||
B3SOIFDmodel *next_mod = mod->B3SOIFDnextModel;
|
||||
B3SOIFDinstance *inst = mod->B3SOIFDinstances;
|
||||
while (inst) {
|
||||
B3SOIFDinstance *next_inst = inst->B3SOIFDnextInstance;
|
||||
FREE(inst);
|
||||
inst = next_inst;
|
||||
}
|
||||
FREE(mod);
|
||||
mod = next_mod;
|
||||
}
|
||||
|
||||
*inModel = NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ extern int B3SOIFDacLoad(GENmodel *,CKTcircuit*);
|
|||
extern int B3SOIFDask(CKTcircuit *,GENinstance*,int,IFvalue*,IFvalue*);
|
||||
extern int B3SOIFDconvTest(GENmodel *,CKTcircuit*);
|
||||
extern int B3SOIFDdelete(GENinstance*);
|
||||
extern void B3SOIFDdestroy(GENmodel**);
|
||||
extern void B3SOIFDdestroy(void);
|
||||
extern int B3SOIFDgetic(GENmodel*,CKTcircuit*);
|
||||
extern int B3SOIFDload(GENmodel*,CKTcircuit*);
|
||||
extern int B3SOIFDmAsk(CKTcircuit*,GENmodel *,int, IFvalue*);
|
||||
|
|
|
|||
|
|
@ -16,21 +16,6 @@ Modified by Paolo Nenzi 2002
|
|||
|
||||
|
||||
void
|
||||
B3SOIPDdestroy(GENmodel **inModel)
|
||||
B3SOIPDdestroy(void)
|
||||
{
|
||||
B3SOIPDmodel *mod = *(B3SOIPDmodel**) inModel;
|
||||
|
||||
while (mod) {
|
||||
B3SOIPDmodel *next_mod = mod->B3SOIPDnextModel;
|
||||
B3SOIPDinstance *inst = mod->B3SOIPDinstances;
|
||||
while (inst) {
|
||||
B3SOIPDinstance *next_inst = inst->B3SOIPDnextInstance;
|
||||
FREE(inst);
|
||||
inst = next_inst;
|
||||
}
|
||||
FREE(mod);
|
||||
mod = next_mod;
|
||||
}
|
||||
|
||||
*inModel = NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ extern int B3SOIPDacLoad(GENmodel *,CKTcircuit*);
|
|||
extern int B3SOIPDask(CKTcircuit *,GENinstance*,int,IFvalue*,IFvalue*);
|
||||
extern int B3SOIPDconvTest(GENmodel *,CKTcircuit*);
|
||||
extern int B3SOIPDdelete(GENinstance*);
|
||||
extern void B3SOIPDdestroy(GENmodel**);
|
||||
extern void B3SOIPDdestroy(void);
|
||||
extern int B3SOIPDgetic(GENmodel*,CKTcircuit*);
|
||||
extern int B3SOIPDload(GENmodel*,CKTcircuit*);
|
||||
extern int B3SOIPDmAsk(CKTcircuit*,GENmodel *,int, IFvalue*);
|
||||
|
|
|
|||
|
|
@ -10,21 +10,6 @@ File: b3v0dest.c
|
|||
|
||||
|
||||
void
|
||||
BSIM3v0destroy(GENmodel **inModel)
|
||||
BSIM3v0destroy(void)
|
||||
{
|
||||
BSIM3v0model *mod = *(BSIM3v0model**) inModel;
|
||||
|
||||
while (mod) {
|
||||
BSIM3v0model *next_mod = mod->BSIM3v0nextModel;
|
||||
BSIM3v0instance *inst = mod->BSIM3v0instances;
|
||||
while (inst) {
|
||||
BSIM3v0instance *next_inst = inst->BSIM3v0nextInstance;
|
||||
FREE(inst);
|
||||
inst = next_inst;
|
||||
}
|
||||
FREE(mod);
|
||||
mod = next_mod;
|
||||
}
|
||||
|
||||
*inModel = NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ extern int BSIM3v0acLoad(GENmodel *,CKTcircuit*);
|
|||
extern int BSIM3v0ask(CKTcircuit *,GENinstance*,int,IFvalue*,IFvalue*);
|
||||
extern int BSIM3v0convTest(GENmodel *,CKTcircuit*);
|
||||
extern int BSIM3v0delete(GENinstance*);
|
||||
extern void BSIM3v0destroy(GENmodel**);
|
||||
extern void BSIM3v0destroy(void);
|
||||
extern int BSIM3v0getic(GENmodel*,CKTcircuit*);
|
||||
extern int BSIM3v0load(GENmodel*,CKTcircuit*);
|
||||
extern int BSIM3v0mAsk(CKTcircuit*,GENmodel *,int, IFvalue*);
|
||||
|
|
|
|||
|
|
@ -16,21 +16,6 @@
|
|||
|
||||
|
||||
void
|
||||
BSIM3v1destroy(GENmodel **inModel)
|
||||
BSIM3v1destroy(void)
|
||||
{
|
||||
BSIM3v1model *mod = *(BSIM3v1model**) inModel;
|
||||
|
||||
while (mod) {
|
||||
BSIM3v1model *next_mod = mod->BSIM3v1nextModel;
|
||||
BSIM3v1instance *inst = mod->BSIM3v1instances;
|
||||
while (inst) {
|
||||
BSIM3v1instance *next_inst = inst->BSIM3v1nextInstance;
|
||||
FREE(inst);
|
||||
inst = next_inst;
|
||||
}
|
||||
FREE(mod);
|
||||
mod = next_mod;
|
||||
}
|
||||
|
||||
*inModel = NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ extern int BSIM3v1acLoad(GENmodel *, CKTcircuit *);
|
|||
extern int BSIM3v1ask(CKTcircuit *, GENinstance *, int, IFvalue *, IFvalue *);
|
||||
extern int BSIM3v1convTest(GENmodel *, CKTcircuit *);
|
||||
extern int BSIM3v1delete(GENinstance *);
|
||||
extern void BSIM3v1destroy(GENmodel **);
|
||||
extern void BSIM3v1destroy(void);
|
||||
extern int BSIM3v1getic(GENmodel *, CKTcircuit *);
|
||||
extern int BSIM3v1load(GENmodel *, CKTcircuit *);
|
||||
extern int BSIM3v1mAsk(CKTcircuit *, GENmodel *, int, IFvalue *);
|
||||
|
|
|
|||
|
|
@ -15,22 +15,6 @@
|
|||
|
||||
|
||||
void
|
||||
BSIM3v32destroy (GENmodel **inModel)
|
||||
BSIM3v32destroy (void)
|
||||
{
|
||||
BSIM3v32model *mod = *(BSIM3v32model**) inModel;
|
||||
|
||||
while (mod) {
|
||||
BSIM3v32model *next_mod = mod->BSIM3v32nextModel;
|
||||
BSIM3v32instance *inst = mod->BSIM3v32instances;
|
||||
while (inst) {
|
||||
BSIM3v32instance *next_inst = inst->BSIM3v32nextInstance;
|
||||
FREE(inst);
|
||||
inst = next_inst;
|
||||
}
|
||||
|
||||
FREE(mod);
|
||||
mod = next_mod;
|
||||
}
|
||||
|
||||
*inModel = NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ extern int BSIM3v32acLoad(GENmodel *,CKTcircuit*);
|
|||
extern int BSIM3v32ask(CKTcircuit *,GENinstance*,int,IFvalue*,IFvalue*);
|
||||
extern int BSIM3v32convTest(GENmodel *,CKTcircuit*);
|
||||
extern int BSIM3v32delete(GENinstance*);
|
||||
extern void BSIM3v32destroy(GENmodel**);
|
||||
extern void BSIM3v32destroy(void);
|
||||
extern int BSIM3v32getic(GENmodel*,CKTcircuit*);
|
||||
extern int BSIM3v32load(GENmodel*,CKTcircuit*);
|
||||
extern int BSIM3v32mAsk(CKTcircuit*,GENmodel *,int, IFvalue*);
|
||||
|
|
|
|||
|
|
@ -64,22 +64,6 @@
|
|||
|
||||
|
||||
void
|
||||
BSIM4destroy(GENmodel **inModel)
|
||||
BSIM4destroy(void)
|
||||
{
|
||||
BSIM4model *mod = *(BSIM4model**) inModel;
|
||||
|
||||
while (mod) {
|
||||
BSIM4model *next_mod = mod->BSIM4nextModel;
|
||||
BSIM4instance *inst = mod->BSIM4instances;
|
||||
while (inst) {
|
||||
BSIM4instance *next_inst = inst->BSIM4nextInstance;
|
||||
FREE(inst);
|
||||
inst = next_inst;
|
||||
}
|
||||
|
||||
FREE(mod);
|
||||
mod = next_mod;
|
||||
}
|
||||
|
||||
*inModel = NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ extern int BSIM4acLoad(GENmodel *,CKTcircuit*);
|
|||
extern int BSIM4ask(CKTcircuit *,GENinstance*,int,IFvalue*,IFvalue*);
|
||||
extern int BSIM4convTest(GENmodel *,CKTcircuit*);
|
||||
extern int BSIM4delete(GENinstance*);
|
||||
extern void BSIM4destroy(GENmodel**);
|
||||
extern void BSIM4destroy(void);
|
||||
extern int BSIM4getic(GENmodel*,CKTcircuit*);
|
||||
extern int BSIM4load(GENmodel*,CKTcircuit*);
|
||||
extern int BSIM4mAsk(CKTcircuit*,GENmodel *,int, IFvalue*);
|
||||
|
|
|
|||
|
|
@ -14,22 +14,6 @@
|
|||
|
||||
|
||||
void
|
||||
BSIM4v5destroy(GENmodel **inModel)
|
||||
BSIM4v5destroy(void)
|
||||
{
|
||||
BSIM4v5model *mod = *(BSIM4v5model**) inModel;
|
||||
|
||||
while (mod) {
|
||||
BSIM4v5model *next_mod = mod->BSIM4v5nextModel;
|
||||
BSIM4v5instance *inst = mod->BSIM4v5instances;
|
||||
while (inst) {
|
||||
BSIM4v5instance *next_inst = inst->BSIM4v5nextInstance;
|
||||
FREE(inst);
|
||||
inst = next_inst;
|
||||
}
|
||||
|
||||
FREE(mod);
|
||||
mod = next_mod;
|
||||
}
|
||||
|
||||
*inModel = NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ extern int BSIM4v5acLoad(GENmodel *,CKTcircuit*);
|
|||
extern int BSIM4v5ask(CKTcircuit *,GENinstance*,int,IFvalue*,IFvalue*);
|
||||
extern int BSIM4v5convTest(GENmodel *,CKTcircuit*);
|
||||
extern int BSIM4v5delete(GENinstance*);
|
||||
extern void BSIM4v5destroy(GENmodel**);
|
||||
extern void BSIM4v5destroy(void);
|
||||
extern int BSIM4v5getic(GENmodel*,CKTcircuit*);
|
||||
extern int BSIM4v5load(GENmodel*,CKTcircuit*);
|
||||
extern int BSIM4v5mAsk(CKTcircuit*,GENmodel *,int, IFvalue*);
|
||||
|
|
|
|||
|
|
@ -16,22 +16,6 @@
|
|||
|
||||
|
||||
void
|
||||
BSIM4v6destroy(GENmodel **inModel)
|
||||
BSIM4v6destroy(void)
|
||||
{
|
||||
BSIM4v6model *mod = *(BSIM4v6model**) inModel;
|
||||
|
||||
while (mod) {
|
||||
BSIM4v6model *next_mod = mod->BSIM4v6nextModel;
|
||||
BSIM4v6instance *inst = mod->BSIM4v6instances;
|
||||
while (inst) {
|
||||
BSIM4v6instance *next_inst = inst->BSIM4v6nextInstance;
|
||||
FREE(inst);
|
||||
inst = next_inst;
|
||||
}
|
||||
|
||||
FREE(mod);
|
||||
mod = next_mod;
|
||||
}
|
||||
|
||||
*inModel = NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ extern int BSIM4v6acLoad(GENmodel *,CKTcircuit*);
|
|||
extern int BSIM4v6ask(CKTcircuit *,GENinstance*,int,IFvalue*,IFvalue*);
|
||||
extern int BSIM4v6convTest(GENmodel *,CKTcircuit*);
|
||||
extern int BSIM4v6delete(GENinstance*);
|
||||
extern void BSIM4v6destroy(GENmodel**);
|
||||
extern void BSIM4v6destroy(void);
|
||||
extern int BSIM4v6getic(GENmodel*,CKTcircuit*);
|
||||
extern int BSIM4v6load(GENmodel*,CKTcircuit*);
|
||||
extern int BSIM4v6mAsk(CKTcircuit*,GENmodel *,int, IFvalue*);
|
||||
|
|
|
|||
|
|
@ -16,22 +16,6 @@
|
|||
|
||||
|
||||
void
|
||||
BSIM4v7destroy(GENmodel **inModel)
|
||||
BSIM4v7destroy(void)
|
||||
{
|
||||
BSIM4v7model *mod = *(BSIM4v7model**) inModel;
|
||||
|
||||
while (mod) {
|
||||
BSIM4v7model *next_mod = mod->BSIM4v7nextModel;
|
||||
BSIM4v7instance *inst = mod->BSIM4v7instances;
|
||||
while (inst) {
|
||||
BSIM4v7instance *next_inst = inst->BSIM4v7nextInstance;
|
||||
FREE(inst);
|
||||
inst = next_inst;
|
||||
}
|
||||
|
||||
FREE(mod);
|
||||
mod = next_mod;
|
||||
}
|
||||
|
||||
*inModel = NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ extern int BSIM4v7acLoad(GENmodel *,CKTcircuit*);
|
|||
extern int BSIM4v7ask(CKTcircuit *,GENinstance*,int,IFvalue*,IFvalue*);
|
||||
extern int BSIM4v7convTest(GENmodel *,CKTcircuit*);
|
||||
extern int BSIM4v7delete(GENinstance*);
|
||||
extern void BSIM4v7destroy(GENmodel**);
|
||||
extern void BSIM4v7destroy(void);
|
||||
extern int BSIM4v7getic(GENmodel*,CKTcircuit*);
|
||||
extern int BSIM4v7load(GENmodel*,CKTcircuit*);
|
||||
extern int BSIM4v7mAsk(CKTcircuit*,GENmodel *,int, IFvalue*);
|
||||
|
|
|
|||
|
|
@ -20,22 +20,6 @@
|
|||
|
||||
|
||||
void
|
||||
B4SOIdestroy(GENmodel **inModel)
|
||||
B4SOIdestroy(void)
|
||||
{
|
||||
B4SOImodel *mod = *(B4SOImodel**) inModel;
|
||||
|
||||
while (mod) {
|
||||
B4SOImodel *next_mod = mod->B4SOInextModel;
|
||||
B4SOIinstance *inst = mod->B4SOIinstances;
|
||||
while (inst) {
|
||||
B4SOIinstance *next_inst = inst->B4SOInextInstance;
|
||||
FREE(inst);
|
||||
inst = next_inst;
|
||||
}
|
||||
|
||||
FREE(mod);
|
||||
mod = next_mod;
|
||||
}
|
||||
|
||||
*inModel = NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ extern int B4SOIacLoad(GENmodel *,CKTcircuit*);
|
|||
extern int B4SOIask(CKTcircuit *,GENinstance*,int,IFvalue*,IFvalue*);
|
||||
extern int B4SOIconvTest(GENmodel *,CKTcircuit*);
|
||||
extern int B4SOIdelete(GENinstance*);
|
||||
extern void B4SOIdestroy(GENmodel**);
|
||||
extern void B4SOIdestroy(void);
|
||||
extern int B4SOIgetic(GENmodel*,CKTcircuit*);
|
||||
extern int B4SOIload(GENmodel*,CKTcircuit*);
|
||||
extern int B4SOImAsk(CKTcircuit*,GENmodel *,int, IFvalue*);
|
||||
|
|
|
|||
|
|
@ -10,21 +10,6 @@ Modified: September 2003 Paolo Nenzi
|
|||
|
||||
|
||||
void
|
||||
CAPdestroy(GENmodel **inModel)
|
||||
CAPdestroy(void)
|
||||
{
|
||||
CAPmodel *mod = *(CAPmodel**) inModel;
|
||||
|
||||
while (mod) {
|
||||
CAPmodel *next_mod = mod->CAPnextModel;
|
||||
CAPinstance *inst = mod->CAPinstances;
|
||||
while (inst) {
|
||||
CAPinstance *next_inst = inst->CAPnextInstance;
|
||||
FREE(inst);
|
||||
inst = next_inst;
|
||||
}
|
||||
FREE(mod);
|
||||
mod = next_mod;
|
||||
}
|
||||
|
||||
*inModel = NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ Author: 1985 Thomas L. Quarles
|
|||
extern int CAPacLoad(GENmodel*,CKTcircuit*);
|
||||
extern int CAPask(CKTcircuit*,GENinstance*,int,IFvalue*,IFvalue*);
|
||||
extern int CAPdelete(GENinstance*);
|
||||
extern void CAPdestroy(GENmodel**);
|
||||
extern void CAPdestroy(void);
|
||||
extern int CAPgetic(GENmodel*,CKTcircuit*);
|
||||
extern int CAPload(GENmodel*,CKTcircuit*);
|
||||
extern int CAPmAsk(CKTcircuit*,GENmodel*,int,IFvalue*);
|
||||
|
|
|
|||
|
|
@ -9,21 +9,6 @@ Author: 1985 Thomas L. Quarles
|
|||
|
||||
|
||||
void
|
||||
CCCSdestroy(GENmodel **inModel)
|
||||
CCCSdestroy(void)
|
||||
{
|
||||
CCCSmodel *mod = *(CCCSmodel**) inModel;
|
||||
|
||||
while (mod) {
|
||||
CCCSmodel *next_mod = mod->CCCSnextModel;
|
||||
CCCSinstance *inst = mod->CCCSinstances;
|
||||
while (inst) {
|
||||
CCCSinstance *next_inst = inst->CCCSnextInstance;
|
||||
FREE(inst);
|
||||
inst = next_inst;
|
||||
}
|
||||
FREE(mod);
|
||||
mod = next_mod;
|
||||
}
|
||||
|
||||
*inModel = NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ Author: 1985 Thomas L. Quarles
|
|||
|
||||
extern int CCCSask(CKTcircuit*,GENinstance*,int,IFvalue*,IFvalue*);
|
||||
extern int CCCSdelete(GENinstance*);
|
||||
extern void CCCSdestroy(GENmodel**);
|
||||
extern void CCCSdestroy(void);
|
||||
extern int CCCSload(GENmodel*,CKTcircuit*);
|
||||
extern int CCCSmDelete(GENmodel*);
|
||||
extern int CCCSparam(int,IFvalue*,GENinstance*,IFvalue*);
|
||||
|
|
|
|||
|
|
@ -9,21 +9,6 @@ Author: 1985 Thomas L. Quarles
|
|||
|
||||
|
||||
void
|
||||
CCVSdestroy(GENmodel **inModel)
|
||||
CCVSdestroy(void)
|
||||
{
|
||||
CCVSmodel *mod = *(CCVSmodel**) inModel;
|
||||
|
||||
while (mod) {
|
||||
CCVSmodel *next_mod = mod->CCVSnextModel;
|
||||
CCVSinstance *inst = mod->CCVSinstances;
|
||||
while (inst) {
|
||||
CCVSinstance *next_inst = inst->CCVSnextInstance;
|
||||
FREE(inst);
|
||||
inst = next_inst;
|
||||
}
|
||||
FREE(mod);
|
||||
mod = next_mod;
|
||||
}
|
||||
|
||||
*inModel = NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ Author: 1985 Thomas L. Quarles
|
|||
|
||||
extern int CCVSask(CKTcircuit*,GENinstance*,int,IFvalue*,IFvalue*);
|
||||
extern int CCVSdelete(GENinstance*);
|
||||
extern void CCVSdestroy(GENmodel**);
|
||||
extern void CCVSdestroy(void);
|
||||
extern int CCVSfindBr(CKTcircuit*,GENmodel*,IFuid);
|
||||
extern int CCVSload(GENmodel*,CKTcircuit*);
|
||||
extern int CCVSmDelete(GENmodel*);
|
||||
|
|
|
|||
|
|
@ -10,21 +10,6 @@ Author: 1992 Charles Hough
|
|||
|
||||
|
||||
void
|
||||
CPLdestroy(GENmodel **inModel)
|
||||
CPLdestroy(void)
|
||||
{
|
||||
CPLmodel *mod = *(CPLmodel **) inModel;
|
||||
|
||||
while (mod) {
|
||||
CPLmodel *next_mod = mod->CPLnextModel;
|
||||
CPLinstance *inst = mod->CPLinstances;
|
||||
while (inst) {
|
||||
CPLinstance *next_inst = inst->CPLnextInstance;
|
||||
FREE(inst);
|
||||
inst = next_inst;
|
||||
}
|
||||
FREE(mod);
|
||||
mod = next_mod;
|
||||
}
|
||||
|
||||
*inModel = NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ reserved.
|
|||
/* extern int CPLaccept(CKTcircuit*, GENmodel*); */
|
||||
extern int CPLask(CKTcircuit*, GENinstance*, int, IFvalue*, IFvalue*);
|
||||
extern int CPLdelete(GENinstance*);
|
||||
extern void CPLdestroy(GENmodel**);
|
||||
extern void CPLdestroy(void);
|
||||
extern int CPLload(GENmodel*, CKTcircuit*);
|
||||
extern int CPLmAsk(CKTcircuit*, GENmodel*, int, IFvalue*);
|
||||
extern int CPLmDelete(GENmodel*);
|
||||
|
|
|
|||
|
|
@ -9,21 +9,6 @@ Author: 1985 Gordon Jacobs
|
|||
|
||||
|
||||
void
|
||||
CSWdestroy(GENmodel **inModel)
|
||||
CSWdestroy(void)
|
||||
{
|
||||
CSWmodel *mod = *(CSWmodel**) inModel;
|
||||
|
||||
while (mod) {
|
||||
CSWmodel *next_mod = mod->CSWnextModel;
|
||||
CSWinstance *inst = mod->CSWinstances;
|
||||
while (inst) {
|
||||
CSWinstance *next_inst = inst->CSWnextInstance;
|
||||
FREE(inst);
|
||||
inst = next_inst;
|
||||
}
|
||||
FREE(mod);
|
||||
mod = next_mod;
|
||||
}
|
||||
|
||||
*inModel = NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ Modified: 2000 AlansFixes
|
|||
extern int CSWask(CKTcircuit*,GENinstance*,int,IFvalue*,IFvalue*);
|
||||
extern int CSWacLoad(GENmodel*,CKTcircuit*);
|
||||
extern int CSWdelete(GENinstance*);
|
||||
extern void CSWdestroy(GENmodel**);
|
||||
extern void CSWdestroy(void);
|
||||
extern int CSWload(GENmodel*,CKTcircuit*);
|
||||
extern int CSWmAsk(CKTcircuit*,GENmodel*,int,IFvalue*);
|
||||
extern int CSWmDelete(GENmodel*);
|
||||
|
|
|
|||
|
|
@ -9,21 +9,6 @@ Author: 1985 Thomas L. Quarles
|
|||
|
||||
|
||||
void
|
||||
DIOdestroy(GENmodel **inModel)
|
||||
DIOdestroy(void)
|
||||
{
|
||||
DIOmodel *mod = *(DIOmodel**) inModel;
|
||||
|
||||
while (mod) {
|
||||
DIOmodel *next_mod = mod->DIOnextModel;
|
||||
DIOinstance *inst = mod->DIOinstances;
|
||||
while (inst) {
|
||||
DIOinstance *next_inst = inst->DIOnextInstance;
|
||||
FREE(inst);
|
||||
inst = next_inst;
|
||||
}
|
||||
FREE(mod);
|
||||
mod = next_mod;
|
||||
}
|
||||
|
||||
*inModel = NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ extern int DIOacLoad(GENmodel*,CKTcircuit*);
|
|||
extern int DIOask(CKTcircuit*,GENinstance*,int,IFvalue*,IFvalue*);
|
||||
extern int DIOconvTest(GENmodel *,CKTcircuit*);
|
||||
extern int DIOdelete(GENinstance*);
|
||||
extern void DIOdestroy(GENmodel**);
|
||||
extern void DIOdestroy(void);
|
||||
extern int DIOgetic(GENmodel*,CKTcircuit*);
|
||||
extern int DIOload(GENmodel*,CKTcircuit*);
|
||||
extern int DIOmAsk(CKTcircuit*,GENmodel*,int,IFvalue*);
|
||||
|
|
|
|||
|
|
@ -9,21 +9,6 @@ Modified: Paolo Nenzi
|
|||
|
||||
|
||||
void
|
||||
HFETAdestroy(GENmodel **inModel)
|
||||
HFETAdestroy(void)
|
||||
{
|
||||
HFETAmodel *mod = *(HFETAmodel**) inModel;
|
||||
|
||||
while (mod) {
|
||||
HFETAmodel *next_mod = mod->HFETAnextModel;
|
||||
HFETAinstance *inst = mod->HFETAinstances;
|
||||
while (inst) {
|
||||
HFETAinstance *next_inst = inst->HFETAnextInstance;
|
||||
FREE(inst);
|
||||
inst = next_inst;
|
||||
}
|
||||
FREE(mod);
|
||||
mod = next_mod;
|
||||
}
|
||||
|
||||
*inModel = NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ Modified: Paolo Nenzi
|
|||
extern int HFETAacLoad(GENmodel*,CKTcircuit*);
|
||||
extern int HFETAask(CKTcircuit*,GENinstance*,int,IFvalue*,IFvalue*);
|
||||
extern int HFETAdelete(GENinstance*);
|
||||
extern void HFETAdestroy(GENmodel**);
|
||||
extern void HFETAdestroy(void);
|
||||
extern int HFETAgetic(GENmodel*,CKTcircuit*);
|
||||
extern int HFETAload(GENmodel*,CKTcircuit*);
|
||||
extern int HFETAmAsk(CKTcircuit*,GENmodel*,int,IFvalue*);
|
||||
|
|
|
|||
|
|
@ -9,21 +9,6 @@ Modified: Paolo Nenzi
|
|||
|
||||
|
||||
void
|
||||
HFET2destroy(GENmodel **inModel)
|
||||
HFET2destroy(void)
|
||||
{
|
||||
HFET2model *mod = *(HFET2model**) inModel;
|
||||
|
||||
while (mod) {
|
||||
HFET2model *next_mod = mod->HFET2nextModel;
|
||||
HFET2instance *inst = mod->HFET2instances;
|
||||
while (inst) {
|
||||
HFET2instance *next_inst = inst->HFET2nextInstance;
|
||||
FREE(inst);
|
||||
inst = next_inst;
|
||||
}
|
||||
FREE(mod);
|
||||
mod = next_mod;
|
||||
}
|
||||
|
||||
*inModel = NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ Author: Trond Ytterdal
|
|||
extern int HFET2acLoad(GENmodel*,CKTcircuit*);
|
||||
extern int HFET2ask(CKTcircuit*,GENinstance*,int,IFvalue*,IFvalue*);
|
||||
extern int HFET2delete(GENinstance*);
|
||||
extern void HFET2destroy(GENmodel**);
|
||||
extern void HFET2destroy(void);
|
||||
extern int HFET2getic(GENmodel*,CKTcircuit*);
|
||||
extern int HFET2load(GENmodel*,CKTcircuit*);
|
||||
extern int HFET2mAsk(CKTcircuit*,GENmodel*,int,IFvalue*);
|
||||
|
|
|
|||
|
|
@ -60,22 +60,6 @@ to others."
|
|||
|
||||
|
||||
void
|
||||
HSM2destroy(GENmodel **inModel)
|
||||
HSM2destroy(void)
|
||||
{
|
||||
HSM2model *mod = *(HSM2model**) inModel;
|
||||
|
||||
while (mod) {
|
||||
HSM2model *next_mod = mod->HSM2nextModel;
|
||||
HSM2instance *inst = mod->HSM2instances;
|
||||
while (inst) {
|
||||
HSM2instance *next_inst = inst->HSM2nextInstance;
|
||||
FREE(inst);
|
||||
inst = next_inst;
|
||||
}
|
||||
|
||||
FREE(mod);
|
||||
mod = next_mod;
|
||||
}
|
||||
|
||||
*inModel = NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ extern int HSM2acLoad(GENmodel *,CKTcircuit*);
|
|||
extern int HSM2ask(CKTcircuit *,GENinstance*,int,IFvalue*,IFvalue*);
|
||||
extern int HSM2convTest(GENmodel *,CKTcircuit*);
|
||||
extern int HSM2delete(GENinstance*);
|
||||
extern void HSM2destroy(GENmodel**);
|
||||
extern void HSM2destroy(void);
|
||||
extern int HSM2getic(GENmodel*,CKTcircuit*);
|
||||
extern int HSM2load(GENmodel*,CKTcircuit*);
|
||||
extern int HSM2mAsk(CKTcircuit*,GENmodel *,int, IFvalue*);
|
||||
|
|
|
|||
|
|
@ -21,21 +21,6 @@
|
|||
|
||||
|
||||
void
|
||||
HSMHVdestroy(GENmodel **inModel)
|
||||
HSMHVdestroy(void)
|
||||
{
|
||||
HSMHVmodel *mod = *(HSMHVmodel**) inModel;
|
||||
|
||||
while (mod) {
|
||||
HSMHVmodel *next_mod = mod->HSMHVnextModel;
|
||||
HSMHVinstance *inst = mod->HSMHVinstances;
|
||||
while (inst) {
|
||||
HSMHVinstance *next_inst = inst->HSMHVnextInstance;
|
||||
FREE(inst);
|
||||
inst = next_inst;
|
||||
}
|
||||
FREE(mod);
|
||||
mod = next_mod;
|
||||
}
|
||||
|
||||
*inModel = NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ extern int HSMHVacLoad(GENmodel *,CKTcircuit*);
|
|||
extern int HSMHVask(CKTcircuit *,GENinstance*,int,IFvalue*,IFvalue*);
|
||||
extern int HSMHVconvTest(GENmodel *,CKTcircuit*);
|
||||
extern int HSMHVdelete(GENinstance*);
|
||||
extern void HSMHVdestroy(GENmodel**);
|
||||
extern void HSMHVdestroy(void);
|
||||
extern int HSMHVgetic(GENmodel*,CKTcircuit*);
|
||||
extern int HSMHVload(GENmodel*,CKTcircuit*);
|
||||
extern int HSMHVmAsk(CKTcircuit*,GENmodel *,int, IFvalue*);
|
||||
|
|
|
|||
|
|
@ -63,21 +63,6 @@ June 2008 (revised October 2011)
|
|||
|
||||
|
||||
void
|
||||
HSMHV2destroy(GENmodel **inModel)
|
||||
HSMHV2destroy(void)
|
||||
{
|
||||
HSMHV2model *mod = *(HSMHV2model**) inModel;
|
||||
|
||||
while (mod) {
|
||||
HSMHV2model *next_mod = mod->HSMHV2nextModel;
|
||||
HSMHV2instance *inst = mod->HSMHV2instances;
|
||||
while (inst) {
|
||||
HSMHV2instance *next_inst = inst->HSMHV2nextInstance;
|
||||
FREE(inst);
|
||||
inst = next_inst;
|
||||
}
|
||||
FREE(mod);
|
||||
mod = next_mod;
|
||||
}
|
||||
|
||||
*inModel = NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ extern int HSMHV2acLoad(GENmodel *,CKTcircuit*);
|
|||
extern int HSMHV2ask(CKTcircuit *,GENinstance*,int,IFvalue*,IFvalue*);
|
||||
extern int HSMHV2convTest(GENmodel *,CKTcircuit*);
|
||||
extern int HSMHV2delete(GENinstance*);
|
||||
extern void HSMHV2destroy(GENmodel**);
|
||||
extern void HSMHV2destroy(void);
|
||||
extern int HSMHV2getic(GENmodel*,CKTcircuit*);
|
||||
extern int HSMHV2load(GENmodel*,CKTcircuit*);
|
||||
extern int HSMHV2mAsk(CKTcircuit*,GENmodel *,int, IFvalue*);
|
||||
|
|
|
|||
|
|
@ -9,21 +9,6 @@ Author: 1985 Thomas L. Quarles
|
|||
|
||||
|
||||
void
|
||||
INDdestroy(GENmodel **inModel)
|
||||
INDdestroy(void)
|
||||
{
|
||||
INDmodel *mod = *(INDmodel**) inModel;
|
||||
|
||||
while (mod) {
|
||||
INDmodel *next_mod = mod->INDnextModel;
|
||||
INDinstance *inst = mod->INDinstances;
|
||||
while (inst) {
|
||||
INDinstance *next_inst = inst->INDnextInstance;
|
||||
FREE(inst);
|
||||
inst = next_inst;
|
||||
}
|
||||
FREE(mod);
|
||||
mod = next_mod;
|
||||
}
|
||||
|
||||
*inModel = NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ extern int INDacLoad(GENmodel*,CKTcircuit*);
|
|||
extern int INDask(CKTcircuit*,GENinstance*,int,IFvalue*,IFvalue*);
|
||||
extern int INDmAsk(CKTcircuit*, GENmodel*, int, IFvalue*);
|
||||
extern int INDdelete(GENinstance*);
|
||||
extern void INDdestroy(GENmodel**);
|
||||
extern void INDdestroy(void);
|
||||
extern int INDload(GENmodel*,CKTcircuit*);
|
||||
extern int INDmDelete(GENmodel*);
|
||||
extern int INDmParam(int, IFvalue*, GENmodel*);
|
||||
|
|
@ -28,7 +28,7 @@ extern int INDtrunc(GENmodel*,CKTcircuit*,double*);
|
|||
extern int MUTacLoad(GENmodel*,CKTcircuit*);
|
||||
extern int MUTask(CKTcircuit*,GENinstance*,int,IFvalue*,IFvalue*);
|
||||
extern int MUTdelete(GENinstance*);
|
||||
extern void MUTdestroy(GENmodel**);
|
||||
extern void MUTdestroy(void);
|
||||
extern int MUTmDelete(GENmodel*);
|
||||
extern int MUTparam(int,IFvalue*,GENinstance*,IFvalue*);
|
||||
extern int MUTpzLoad(GENmodel*,CKTcircuit*,SPcomplex*);
|
||||
|
|
|
|||
|
|
@ -11,23 +11,8 @@ Author: 1985 Thomas L. Quarles
|
|||
#ifdef MUTUAL
|
||||
|
||||
void
|
||||
MUTdestroy(GENmodel **inModel)
|
||||
MUTdestroy(void)
|
||||
{
|
||||
MUTmodel *mod = *(MUTmodel**) inModel;
|
||||
|
||||
while (mod) {
|
||||
MUTmodel *next_mod = mod->MUTnextModel;
|
||||
MUTinstance *inst = mod->MUTinstances;
|
||||
while (inst) {
|
||||
MUTinstance *next_inst = inst->MUTnextInstance;
|
||||
FREE(inst);
|
||||
inst = next_inst;
|
||||
}
|
||||
FREE(mod);
|
||||
mod = next_mod;
|
||||
}
|
||||
|
||||
*inModel = NULL;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -9,21 +9,6 @@ Author: 1985 Thomas L. Quarles
|
|||
|
||||
|
||||
void
|
||||
ISRCdestroy(GENmodel **inModel)
|
||||
ISRCdestroy(void)
|
||||
{
|
||||
ISRCmodel *mod = *(ISRCmodel**) inModel;
|
||||
|
||||
while (mod) {
|
||||
ISRCmodel *next_mod = mod->ISRCnextModel;
|
||||
ISRCinstance *inst = mod->ISRCinstances;
|
||||
while (inst) {
|
||||
ISRCinstance *next_inst = inst->ISRCnextInstance;
|
||||
FREE(inst);
|
||||
inst = next_inst;
|
||||
}
|
||||
FREE(mod);
|
||||
mod = next_mod;
|
||||
}
|
||||
|
||||
*inModel = NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ extern int ISRCaccept(CKTcircuit*,GENmodel*);
|
|||
extern int ISRCacLoad(GENmodel*,CKTcircuit*);
|
||||
extern int ISRCask(CKTcircuit*,GENinstance*,int,IFvalue*,IFvalue*);
|
||||
extern int ISRCdelete(GENinstance*);
|
||||
extern void ISRCdestroy(GENmodel**);
|
||||
extern void ISRCdestroy(void);
|
||||
extern int ISRCload(GENmodel*,CKTcircuit*);
|
||||
extern int ISRCmDelete(GENmodel*);
|
||||
extern int ISRCparam(int,IFvalue*,GENinstance*,IFvalue*);
|
||||
|
|
|
|||
|
|
@ -9,21 +9,6 @@ Author: 1985 Thomas L. Quarles
|
|||
|
||||
|
||||
void
|
||||
JFETdestroy(GENmodel **inModel)
|
||||
JFETdestroy(void)
|
||||
{
|
||||
JFETmodel *mod = *(JFETmodel**) inModel;
|
||||
|
||||
while (mod) {
|
||||
JFETmodel *next_mod = mod->JFETnextModel;
|
||||
JFETinstance *inst = mod->JFETinstances;
|
||||
while (inst) {
|
||||
JFETinstance *next_inst = inst->JFETnextInstance;
|
||||
FREE(inst);
|
||||
inst = next_inst;
|
||||
}
|
||||
FREE(mod);
|
||||
mod = next_mod;
|
||||
}
|
||||
|
||||
*inModel = NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ Modified: 2000 AlansFixes
|
|||
extern int JFETacLoad(GENmodel*,CKTcircuit*);
|
||||
extern int JFETask(CKTcircuit*,GENinstance*,int,IFvalue*,IFvalue*);
|
||||
extern int JFETdelete(GENinstance*);
|
||||
extern void JFETdestroy(GENmodel**);
|
||||
extern void JFETdestroy(void);
|
||||
extern int JFETgetic(GENmodel*,CKTcircuit*);
|
||||
extern int JFETload(GENmodel*,CKTcircuit*);
|
||||
extern int JFETmAsk(CKTcircuit*,GENmodel*,int,IFvalue*);
|
||||
|
|
|
|||
|
|
@ -13,21 +13,6 @@ Modified to jfet2 for PS model definition ( Anthony E. Parker )
|
|||
|
||||
|
||||
void
|
||||
JFET2destroy(GENmodel **inModel)
|
||||
JFET2destroy(void)
|
||||
{
|
||||
JFET2model *mod = *(JFET2model**) inModel;
|
||||
|
||||
while (mod) {
|
||||
JFET2model *next_mod = mod->JFET2nextModel;
|
||||
JFET2instance *inst = mod->JFET2instances;
|
||||
while (inst) {
|
||||
JFET2instance *next_inst = inst->JFET2nextInstance;
|
||||
FREE(inst);
|
||||
inst = next_inst;
|
||||
}
|
||||
FREE(mod);
|
||||
mod = next_mod;
|
||||
}
|
||||
|
||||
*inModel = NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ Modified to add PS model and new parameter definitions ( Anthony E. Parker )
|
|||
extern int JFET2acLoad(GENmodel*,CKTcircuit*);
|
||||
extern int JFET2ask(CKTcircuit*,GENinstance*,int,IFvalue*,IFvalue*);
|
||||
extern int JFET2delete(GENinstance*);
|
||||
extern void JFET2destroy(GENmodel**);
|
||||
extern void JFET2destroy(void);
|
||||
extern int JFET2getic(GENmodel*,CKTcircuit*);
|
||||
extern int JFET2load(GENmodel*,CKTcircuit*);
|
||||
extern int JFET2mAsk(CKTcircuit*,GENmodel*,int,IFvalue*);
|
||||
|
|
|
|||
|
|
@ -9,21 +9,6 @@ Author: 1990 Jaijeet S. Roychowdhury
|
|||
|
||||
|
||||
void
|
||||
LTRAdestroy(GENmodel **inModel)
|
||||
LTRAdestroy(void)
|
||||
{
|
||||
LTRAmodel *mod = *(LTRAmodel **) inModel;
|
||||
|
||||
while (mod) {
|
||||
LTRAmodel *next_mod = mod->LTRAnextModel;
|
||||
LTRAinstance *inst = mod->LTRAinstances;
|
||||
while (inst) {
|
||||
LTRAinstance *next_inst = inst->LTRAnextInstance;
|
||||
FREE(inst);
|
||||
inst = next_inst;
|
||||
}
|
||||
FREE(mod);
|
||||
mod = next_mod;
|
||||
}
|
||||
|
||||
*inModel = NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ extern int LTRAaccept(CKTcircuit*,GENmodel*);
|
|||
extern int LTRAask(CKTcircuit*,GENinstance*,int,IFvalue*,IFvalue*);
|
||||
extern int LTRAacLoad(GENmodel*,CKTcircuit*);
|
||||
extern int LTRAdelete(GENinstance*);
|
||||
extern void LTRAdestroy(GENmodel**);
|
||||
extern void LTRAdestroy(void);
|
||||
extern int LTRAload(GENmodel*,CKTcircuit*);
|
||||
extern int LTRAmAsk(CKTcircuit*,GENmodel*,int,IFvalue*);
|
||||
extern int LTRAmDelete(GENmodel*);
|
||||
|
|
|
|||
|
|
@ -9,21 +9,6 @@ Author: 1985 S. Hwang
|
|||
|
||||
|
||||
void
|
||||
MESdestroy(GENmodel **inModel)
|
||||
MESdestroy(void)
|
||||
{
|
||||
MESmodel *mod = *(MESmodel**) inModel;
|
||||
|
||||
while (mod) {
|
||||
MESmodel *next_mod = mod->MESnextModel;
|
||||
MESinstance *inst = mod->MESinstances;
|
||||
while (inst) {
|
||||
MESinstance *next_inst = inst->MESnextInstance;
|
||||
FREE(inst);
|
||||
inst = next_inst;
|
||||
}
|
||||
FREE(mod);
|
||||
mod = next_mod;
|
||||
}
|
||||
|
||||
*inModel = NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ Modified: 2000 AlansFixes
|
|||
extern int MESacLoad(GENmodel*,CKTcircuit*);
|
||||
extern int MESask(CKTcircuit*,GENinstance*,int,IFvalue*,IFvalue*);
|
||||
extern int MESdelete(GENinstance*);
|
||||
extern void MESdestroy(GENmodel**);
|
||||
extern void MESdestroy(void);
|
||||
extern int MESgetic(GENmodel*,CKTcircuit*);
|
||||
extern int MESload(GENmodel*,CKTcircuit*);
|
||||
extern int MESmAsk(CKTcircuit*,GENmodel*,int,IFvalue*);
|
||||
|
|
|
|||
|
|
@ -9,21 +9,6 @@ Author: Trond Ytterdal
|
|||
|
||||
|
||||
void
|
||||
MESAdestroy(GENmodel **inModel)
|
||||
MESAdestroy(void)
|
||||
{
|
||||
MESAmodel *mod = *(MESAmodel**) inModel;
|
||||
|
||||
while (mod) {
|
||||
MESAmodel *next_mod = mod->MESAnextModel;
|
||||
MESAinstance *inst = mod->MESAinstances;
|
||||
while (inst) {
|
||||
MESAinstance *next_inst = inst->MESAnextInstance;
|
||||
FREE(inst);
|
||||
inst = next_inst;
|
||||
}
|
||||
FREE(mod);
|
||||
mod = next_mod;
|
||||
}
|
||||
|
||||
*inModel = NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ Author: Trond Ytterdal
|
|||
extern int MESAacLoad(GENmodel*,CKTcircuit*);
|
||||
extern int MESAask(CKTcircuit*,GENinstance*,int,IFvalue*,IFvalue*);
|
||||
extern int MESAdelete(GENinstance*);
|
||||
extern void MESAdestroy(GENmodel**);
|
||||
extern void MESAdestroy(void);
|
||||
extern int MESAgetic(GENmodel*,CKTcircuit*);
|
||||
extern int MESAload(GENmodel*,CKTcircuit*);
|
||||
extern int MESAmAsk(CKTcircuit*,GENmodel*,int,IFvalue*);
|
||||
|
|
|
|||
|
|
@ -9,21 +9,6 @@ Author: 1985 Thomas L. Quarles
|
|||
|
||||
|
||||
void
|
||||
MOS1destroy(GENmodel **inModel)
|
||||
MOS1destroy(void)
|
||||
{
|
||||
MOS1model *mod = *(MOS1model**) inModel;
|
||||
|
||||
while (mod) {
|
||||
MOS1model *next_mod = mod->MOS1nextModel;
|
||||
MOS1instance *inst = mod->MOS1instances;
|
||||
while (inst) {
|
||||
MOS1instance *next_inst = inst->MOS1nextInstance;
|
||||
FREE(inst);
|
||||
inst = next_inst;
|
||||
}
|
||||
FREE(mod);
|
||||
mod = next_mod;
|
||||
}
|
||||
|
||||
*inModel = NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ Modified: 2000 AlansFixes
|
|||
extern int MOS1acLoad(GENmodel *,CKTcircuit*);
|
||||
extern int MOS1ask(CKTcircuit*,GENinstance*,int,IFvalue*,IFvalue*);
|
||||
extern int MOS1delete(GENinstance*);
|
||||
extern void MOS1destroy(GENmodel**);
|
||||
extern void MOS1destroy(void);
|
||||
extern int MOS1getic(GENmodel*,CKTcircuit*);
|
||||
extern int MOS1load(GENmodel*,CKTcircuit*);
|
||||
extern int MOS1mAsk(CKTcircuit *,GENmodel *,int,IFvalue*);
|
||||
|
|
|
|||
|
|
@ -9,21 +9,6 @@ Author: 1985 Thomas L. Quarles
|
|||
|
||||
|
||||
void
|
||||
MOS2destroy(GENmodel **inModel)
|
||||
MOS2destroy(void)
|
||||
{
|
||||
MOS2model *mod = *(MOS2model **) inModel;
|
||||
|
||||
while (mod) {
|
||||
MOS2model *next_mod = mod->MOS2nextModel;
|
||||
MOS2instance *inst = mod->MOS2instances;
|
||||
while (inst) {
|
||||
MOS2instance *next_inst = inst->MOS2nextInstance;
|
||||
FREE(inst);
|
||||
inst = next_inst;
|
||||
}
|
||||
FREE(mod);
|
||||
mod = next_mod;
|
||||
}
|
||||
|
||||
*inModel = NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ extern int MOS2ask(CKTcircuit*,GENinstance*,int,IFvalue*,IFvalue*);
|
|||
extern int MOS2mAsk(CKTcircuit*,GENmodel*,int,IFvalue*);
|
||||
extern int MOS2convTest(GENmodel*,CKTcircuit*);
|
||||
extern int MOS2delete(GENinstance*);
|
||||
extern void MOS2destroy(GENmodel**);
|
||||
extern void MOS2destroy(void);
|
||||
extern int MOS2getic(GENmodel*,CKTcircuit*);
|
||||
extern int MOS2load(GENmodel*,CKTcircuit*);
|
||||
extern int MOS2mDelete(GENmodel*);
|
||||
|
|
|
|||
|
|
@ -9,21 +9,6 @@ Author: 1985 Thomas L. Quarles
|
|||
|
||||
|
||||
void
|
||||
MOS3destroy(GENmodel **inModel)
|
||||
MOS3destroy(void)
|
||||
{
|
||||
MOS3model *mod = *(MOS3model **) inModel;
|
||||
|
||||
while (mod) {
|
||||
MOS3model *next_mod = mod->MOS3nextModel;
|
||||
MOS3instance *inst = mod->MOS3instances;
|
||||
while (inst) {
|
||||
MOS3instance *next_inst = inst->MOS3nextInstance;
|
||||
FREE(inst);
|
||||
inst = next_inst;
|
||||
}
|
||||
FREE(mod);
|
||||
mod = next_mod;
|
||||
}
|
||||
|
||||
*inModel = NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ extern int MOS3acLoad(GENmodel*,CKTcircuit*);
|
|||
extern int MOS3ask(CKTcircuit*,GENinstance*,int,IFvalue*,IFvalue*);
|
||||
extern int MOS3convTest(GENmodel *,CKTcircuit *);
|
||||
extern int MOS3delete(GENinstance*);
|
||||
extern void MOS3destroy(GENmodel**);
|
||||
extern void MOS3destroy(void);
|
||||
extern int MOS3getic(GENmodel*,CKTcircuit*);
|
||||
extern int MOS3load(GENmodel*,CKTcircuit*);
|
||||
extern int MOS3mAsk(CKTcircuit*,GENmodel*,int,IFvalue*);
|
||||
|
|
|
|||
|
|
@ -9,21 +9,6 @@ Author: 1989 Takayasu Sakurai
|
|||
|
||||
|
||||
void
|
||||
MOS6destroy(GENmodel **inModel)
|
||||
MOS6destroy(void)
|
||||
{
|
||||
MOS6model *mod = *(MOS6model**) inModel;
|
||||
|
||||
while (mod) {
|
||||
MOS6model *next_mod = mod->MOS6nextModel;
|
||||
MOS6instance *inst = mod->MOS6instances;
|
||||
while (inst) {
|
||||
MOS6instance *next_inst = inst->MOS6nextInstance;
|
||||
FREE(inst);
|
||||
inst = next_inst;
|
||||
}
|
||||
FREE(mod);
|
||||
mod = next_mod;
|
||||
}
|
||||
|
||||
*inModel = NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ Author: 1985 Thomas L. Quarles
|
|||
extern int MOS6acLoad(GENmodel *,CKTcircuit*);
|
||||
extern int MOS6ask(CKTcircuit*,GENinstance*,int,IFvalue*,IFvalue*);
|
||||
extern int MOS6delete(GENinstance*);
|
||||
extern void MOS6destroy(GENmodel**);
|
||||
extern void MOS6destroy(void);
|
||||
extern int MOS6getic(GENmodel*,CKTcircuit*);
|
||||
extern int MOS6load(GENmodel*,CKTcircuit*);
|
||||
extern int MOS6mAsk(CKTcircuit *,GENmodel *,int,IFvalue*);
|
||||
|
|
|
|||
|
|
@ -10,21 +10,6 @@ Modified: Alan Gillespie
|
|||
|
||||
|
||||
void
|
||||
MOS9destroy(GENmodel **inModel)
|
||||
MOS9destroy(void)
|
||||
{
|
||||
MOS9model *mod = *(MOS9model **) inModel;
|
||||
|
||||
while (mod) {
|
||||
MOS9model *next_mod = mod->MOS9nextModel;
|
||||
MOS9instance *inst = mod->MOS9instances;
|
||||
while (inst) {
|
||||
MOS9instance *next_inst = inst->MOS9nextInstance;
|
||||
FREE(inst);
|
||||
inst = next_inst;
|
||||
}
|
||||
FREE(mod);
|
||||
mod = next_mod;
|
||||
}
|
||||
|
||||
*inModel = NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ extern int MOS9acLoad(GENmodel*,CKTcircuit*);
|
|||
extern int MOS9ask(CKTcircuit*,GENinstance*,int,IFvalue*,IFvalue*);
|
||||
extern int MOS9convTest(GENmodel *,CKTcircuit *);
|
||||
extern int MOS9delete(GENinstance*);
|
||||
extern void MOS9destroy(GENmodel**);
|
||||
extern void MOS9destroy(void);
|
||||
extern int MOS9getic(GENmodel*,CKTcircuit*);
|
||||
extern int MOS9load(GENmodel*,CKTcircuit*);
|
||||
extern int MOS9mAsk(CKTcircuit*,GENmodel*,int,IFvalue*);
|
||||
|
|
|
|||
|
|
@ -14,21 +14,6 @@ Author: 1987 Kartikeya Mayaram, U. C. Berkeley CAD Group
|
|||
|
||||
|
||||
void
|
||||
NBJTdestroy(GENmodel **inModel)
|
||||
NBJTdestroy(void)
|
||||
{
|
||||
NBJTmodel *mod = *(NBJTmodel **) inModel;
|
||||
|
||||
while (mod) {
|
||||
NBJTmodel *next_mod = mod->NBJTnextModel;
|
||||
NBJTinstance *inst = mod->NBJTinstances;
|
||||
while (inst) {
|
||||
NBJTinstance *next_inst = inst->NBJTnextInstance;
|
||||
FREE(inst);
|
||||
inst = next_inst;
|
||||
}
|
||||
FREE(mod);
|
||||
mod = next_mod;
|
||||
}
|
||||
|
||||
*inModel = NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ Author: 1987 Karti Mayaram
|
|||
extern int NBJTacLoad(GENmodel *, CKTcircuit *);
|
||||
extern int NBJTask(CKTcircuit *, GENinstance *, int, IFvalue *, IFvalue *);
|
||||
extern int NBJTdelete(GENinstance *);
|
||||
extern void NBJTdestroy(GENmodel **);
|
||||
extern void NBJTdestroy(void);
|
||||
extern int NBJTgetic(GENmodel *, CKTcircuit *);
|
||||
extern int NBJTload(GENmodel *, CKTcircuit *);
|
||||
extern int NBJTmDelete(GENmodel *);
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ Author: 1987 Karti Mayaram
|
|||
extern int NBJT2acLoad(GENmodel *, CKTcircuit *);
|
||||
extern int NBJT2ask(CKTcircuit *, GENinstance *, int, IFvalue *, IFvalue *);
|
||||
extern int NBJT2delete(GENinstance *);
|
||||
extern void NBJT2destroy(GENmodel **);
|
||||
extern void NBJT2destroy(void);
|
||||
extern int NBJT2getic(GENmodel *, CKTcircuit *);
|
||||
extern int NBJT2load(GENmodel *, CKTcircuit *);
|
||||
extern int NBJT2mDelete(GENmodel *);
|
||||
|
|
|
|||
|
|
@ -14,21 +14,6 @@ Author: 1987 Kartikeya Mayaram, U. C. Berkeley CAD Group
|
|||
|
||||
|
||||
void
|
||||
NBJT2destroy(GENmodel **inModel)
|
||||
NBJT2destroy(void)
|
||||
{
|
||||
NBJT2model *mod = *(NBJT2model **) inModel;
|
||||
|
||||
while (mod) {
|
||||
NBJT2model *next_mod = mod->NBJT2nextModel;
|
||||
NBJT2instance *inst = mod->NBJT2instances;
|
||||
while (inst) {
|
||||
NBJT2instance *next_inst = inst->NBJT2nextInstance;
|
||||
FREE(inst);
|
||||
inst = next_inst;
|
||||
}
|
||||
FREE(mod);
|
||||
mod = next_mod;
|
||||
}
|
||||
|
||||
*inModel = NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,21 +10,6 @@ University of Science and Technology of China
|
|||
|
||||
|
||||
void
|
||||
NDEVdestroy(GENmodel **inModel)
|
||||
NDEVdestroy(void)
|
||||
{
|
||||
NDEVmodel *mod = *(NDEVmodel **) inModel;
|
||||
|
||||
while (mod) {
|
||||
NDEVmodel *next_mod = mod->NDEVnextModel;
|
||||
NDEVinstance *inst = mod->NDEVinstances;
|
||||
while (inst) {
|
||||
NDEVinstance *next_inst = inst->NDEVnextInstance;
|
||||
FREE(inst);
|
||||
inst = next_inst;
|
||||
}
|
||||
FREE(mod);
|
||||
mod = next_mod;
|
||||
}
|
||||
|
||||
*inModel = NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ Author: 1987 Karti Mayaram
|
|||
extern int NDEVacLoad(GENmodel *, CKTcircuit *);
|
||||
extern int NDEVask(CKTcircuit *, GENinstance *, int, IFvalue *, IFvalue *);
|
||||
extern int NDEVdelete(GENinstance *);
|
||||
extern void NDEVdestroy(GENmodel **);
|
||||
extern void NDEVdestroy(void);
|
||||
extern int NDEVgetic(GENmodel *, CKTcircuit *);
|
||||
extern int NDEVload(GENmodel *, CKTcircuit *);
|
||||
extern int NDEVaccept(CKTcircuit *, GENmodel *);
|
||||
|
|
|
|||
|
|
@ -14,21 +14,6 @@ Author: 1987 Kartikeya Mayaram, U. C. Berkeley CAD Group
|
|||
|
||||
|
||||
void
|
||||
NUMDdestroy(GENmodel **inModel)
|
||||
NUMDdestroy(void)
|
||||
{
|
||||
NUMDmodel *mod = *(NUMDmodel **) inModel;
|
||||
|
||||
while (mod) {
|
||||
NUMDmodel *next_mod = mod->NUMDnextModel;
|
||||
NUMDinstance *inst = mod->NUMDinstances;
|
||||
while (inst) {
|
||||
NUMDinstance *next_inst = inst->NUMDnextInstance;
|
||||
FREE(inst);
|
||||
inst = next_inst;
|
||||
}
|
||||
FREE(mod);
|
||||
mod = next_mod;
|
||||
}
|
||||
|
||||
*inModel = NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ Author: 1987 Karti Mayaram
|
|||
extern int NUMDacLoad(GENmodel *, CKTcircuit *);
|
||||
extern int NUMDask(CKTcircuit *, GENinstance *, int, IFvalue *, IFvalue *);
|
||||
extern int NUMDdelete(GENinstance *);
|
||||
extern void NUMDdestroy(GENmodel **);
|
||||
extern void NUMDdestroy(void);
|
||||
extern int NUMDgetic(GENmodel *, CKTcircuit *);
|
||||
extern int NUMDload(GENmodel *, CKTcircuit *);
|
||||
extern int NUMDmDelete(GENmodel *);
|
||||
|
|
|
|||
|
|
@ -14,21 +14,6 @@ Author: 1987 Kartikeya Mayaram, U. C. Berkeley CAD Group
|
|||
|
||||
|
||||
void
|
||||
NUMD2destroy(GENmodel **inModel)
|
||||
NUMD2destroy(void)
|
||||
{
|
||||
NUMD2model *mod = *(NUMD2model **) inModel;
|
||||
|
||||
while (mod) {
|
||||
NUMD2model *next_mod = mod->NUMD2nextModel;
|
||||
NUMD2instance *inst = mod->NUMD2instances;
|
||||
while (inst) {
|
||||
NUMD2instance *next_inst = inst->NUMD2nextInstance;
|
||||
FREE(inst);
|
||||
inst = next_inst;
|
||||
}
|
||||
FREE(mod);
|
||||
mod = next_mod;
|
||||
}
|
||||
|
||||
*inModel = NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ Author: 1987 Karti Mayaram
|
|||
extern int NUMD2acLoad(GENmodel *, CKTcircuit *);
|
||||
extern int NUMD2ask(CKTcircuit *, GENinstance *, int, IFvalue *, IFvalue *);
|
||||
extern int NUMD2delete(GENinstance *);
|
||||
extern void NUMD2destroy(GENmodel **);
|
||||
extern void NUMD2destroy(void);
|
||||
extern int NUMD2getic(GENmodel *, CKTcircuit *);
|
||||
extern int NUMD2load(GENmodel *, CKTcircuit *);
|
||||
extern int NUMD2mDelete(GENmodel *);
|
||||
|
|
|
|||
|
|
@ -14,21 +14,6 @@ Author: 1987 Kartikeya Mayaram, U. C. Berkeley CAD Group
|
|||
|
||||
|
||||
void
|
||||
NUMOSdestroy(GENmodel **inModel)
|
||||
NUMOSdestroy(void)
|
||||
{
|
||||
NUMOSmodel *mod = *(NUMOSmodel **) inModel;
|
||||
|
||||
while (mod) {
|
||||
NUMOSmodel *next_mod = mod->NUMOSnextModel;
|
||||
NUMOSinstance *inst = mod->NUMOSinstances;
|
||||
while (inst) {
|
||||
NUMOSinstance *next_inst = inst->NUMOSnextInstance;
|
||||
FREE(inst);
|
||||
inst = next_inst;
|
||||
}
|
||||
FREE(mod);
|
||||
mod = next_mod;
|
||||
}
|
||||
|
||||
*inModel = NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ Author: 1987 Karti Mayaram
|
|||
extern int NUMOSacLoad(GENmodel *, CKTcircuit *);
|
||||
extern int NUMOSask(CKTcircuit *, GENinstance *, int, IFvalue *, IFvalue *);
|
||||
extern int NUMOSdelete(GENinstance *);
|
||||
extern void NUMOSdestroy(GENmodel **);
|
||||
extern void NUMOSdestroy(void);
|
||||
extern int NUMOSgetic(GENmodel *, CKTcircuit *);
|
||||
extern int NUMOSload(GENmodel *, CKTcircuit *);
|
||||
extern int NUMOSmDelete(GENmodel *);
|
||||
|
|
|
|||
|
|
@ -9,21 +9,6 @@ Modified: Apr 2000 - Paolo Nenzi
|
|||
|
||||
|
||||
void
|
||||
RESdestroy(GENmodel **inModel)
|
||||
RESdestroy(void)
|
||||
{
|
||||
RESmodel *mod = *(RESmodel **) inModel;
|
||||
|
||||
while (mod) {
|
||||
RESmodel *next_mod = mod->RESnextModel;
|
||||
RESinstance *inst = mod->RESinstances;
|
||||
while (inst) {
|
||||
RESinstance *next_inst = inst->RESnextInstance;
|
||||
FREE(inst);
|
||||
inst = next_inst;
|
||||
}
|
||||
FREE(mod);
|
||||
mod = next_mod;
|
||||
}
|
||||
|
||||
*inModel = NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ Author: 1985 Thomas L. Quarles
|
|||
|
||||
extern int RESask(CKTcircuit*,GENinstance*,int,IFvalue*,IFvalue*);
|
||||
extern int RESdelete(GENinstance*);
|
||||
extern void RESdestroy(GENmodel**);
|
||||
extern void RESdestroy(void);
|
||||
extern int RESload(GENmodel*,CKTcircuit*);
|
||||
extern int RESacload(GENmodel*,CKTcircuit*);
|
||||
extern int RESmodAsk(CKTcircuit*,GENmodel*,int,IFvalue*);
|
||||
|
|
|
|||
|
|
@ -26,21 +26,6 @@ ngspice integration
|
|||
|
||||
|
||||
void
|
||||
SOI3destroy(GENmodel **inModel)
|
||||
SOI3destroy(void)
|
||||
{
|
||||
SOI3model *mod = *(SOI3model**) inModel;
|
||||
|
||||
while (mod) {
|
||||
SOI3model *next_mod = mod->SOI3nextModel;
|
||||
SOI3instance *inst = mod->SOI3instances;
|
||||
while (inst) {
|
||||
SOI3instance *next_inst = inst->SOI3nextInstance;
|
||||
FREE(inst);
|
||||
inst = next_inst;
|
||||
}
|
||||
FREE(mod);
|
||||
mod = next_mod;
|
||||
}
|
||||
|
||||
*inModel = NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ ngspice integration
|
|||
extern int SOI3acLoad(GENmodel *,CKTcircuit*);
|
||||
extern int SOI3ask(CKTcircuit*,GENinstance*,int,IFvalue*,IFvalue*);
|
||||
extern int SOI3delete(GENinstance*);
|
||||
extern void SOI3destroy(GENmodel**);
|
||||
extern void SOI3destroy(void);
|
||||
extern int SOI3getic(GENmodel*,CKTcircuit*);
|
||||
extern int SOI3load(GENmodel*,CKTcircuit*);
|
||||
extern int SOI3mAsk(CKTcircuit *,GENmodel *,int,IFvalue*);
|
||||
|
|
|
|||
|
|
@ -9,21 +9,6 @@ Author: 1985 Gordon Jacobs
|
|||
|
||||
|
||||
void
|
||||
SWdestroy(GENmodel **inModel)
|
||||
SWdestroy(void)
|
||||
{
|
||||
SWmodel *mod = *(SWmodel**) inModel;
|
||||
|
||||
while (mod) {
|
||||
SWmodel *next_mod = mod->SWnextModel;
|
||||
SWinstance *inst = mod->SWinstances;
|
||||
while (inst) {
|
||||
SWinstance *next_inst = inst->SWnextInstance;
|
||||
FREE(inst);
|
||||
inst = next_inst;
|
||||
}
|
||||
FREE(mod);
|
||||
mod = next_mod;
|
||||
}
|
||||
|
||||
*inModel = NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ Modified: 2000 AlansFixes
|
|||
extern int SWacLoad(GENmodel*,CKTcircuit*);
|
||||
extern int SWask(CKTcircuit*,GENinstance*,int,IFvalue*,IFvalue*);
|
||||
extern int SWdelete(GENinstance*);
|
||||
extern void SWdestroy(GENmodel**);
|
||||
extern void SWdestroy(void);
|
||||
extern int SWload(GENmodel*,CKTcircuit*);
|
||||
extern int SWmAsk(CKTcircuit*,GENmodel*,int,IFvalue*);
|
||||
extern int SWmDelete(GENmodel*);
|
||||
|
|
|
|||
|
|
@ -9,21 +9,6 @@ Author: 1985 Thomas L. Quarles
|
|||
|
||||
|
||||
void
|
||||
TRAdestroy(GENmodel **inModel)
|
||||
TRAdestroy(void)
|
||||
{
|
||||
TRAmodel *mod = *(TRAmodel **) inModel;
|
||||
|
||||
while (mod) {
|
||||
TRAmodel *next_mod = mod->TRAnextModel;
|
||||
TRAinstance *inst = mod->TRAinstances;
|
||||
while (inst) {
|
||||
TRAinstance *next_inst = inst->TRAnextInstance;
|
||||
FREE(inst);
|
||||
inst = next_inst;
|
||||
}
|
||||
FREE(mod);
|
||||
mod = next_mod;
|
||||
}
|
||||
|
||||
*inModel = NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ extern int TRAacLoad(GENmodel*,CKTcircuit*);
|
|||
extern int TRAaccept(CKTcircuit*,GENmodel*);
|
||||
extern int TRAask(CKTcircuit*,GENinstance*,int,IFvalue*,IFvalue*);
|
||||
extern int TRAdelete(GENinstance*);
|
||||
extern void TRAdestroy(GENmodel**);
|
||||
extern void TRAdestroy(void);
|
||||
extern int TRAload(GENmodel*,CKTcircuit*);
|
||||
extern int TRAmAsk(CKTcircuit*,GENmodel*,int,IFvalue*);
|
||||
extern int TRAmDelete(GENmodel*);
|
||||
|
|
|
|||
|
|
@ -10,21 +10,6 @@ Author: 1992 Charles Hough
|
|||
|
||||
|
||||
void
|
||||
TXLdestroy(GENmodel **inModel)
|
||||
TXLdestroy(void)
|
||||
{
|
||||
TXLmodel *mod = *(TXLmodel **) inModel;
|
||||
|
||||
while (mod) {
|
||||
TXLmodel *next_mod = mod->TXLnextModel;
|
||||
TXLinstance *inst = mod->TXLinstances;
|
||||
while (inst) {
|
||||
TXLinstance *next_inst = inst->TXLnextInstance;
|
||||
FREE(inst);
|
||||
inst = next_inst;
|
||||
}
|
||||
FREE(mod);
|
||||
mod = next_mod;
|
||||
}
|
||||
|
||||
*inModel = NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
extern int TXLaccept(CKTcircuit*,GENmodel*);
|
||||
extern int TXLask(CKTcircuit*, GENinstance*, int, IFvalue*, IFvalue*);
|
||||
extern int TXLdelete(GENinstance*);
|
||||
extern void TXLdestroy(GENmodel**);
|
||||
extern void TXLdestroy(void);
|
||||
extern int TXLfindBr(CKTcircuit*, GENmodel*, IFuid);
|
||||
extern int TXLload(GENmodel*,CKTcircuit*);
|
||||
extern int TXLmodAsk(CKTcircuit*, GENmodel*, int, IFvalue*);
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue