kill HAS_BATCHSIM, the CKTdltNNum() invocations are mandatory

otherwise node-numbering/matrix-index-numbering will break

FIXME, because removing all internal nodes is mandatory
  the == 0 compares in the device setup routines are useless,
  and even dangerous, because sometimes node names get copied, so that
  the outcome of a previous setup will possibly prohibit a node from
  being created (after a topology change due to "altered" paramers)
This commit is contained in:
rlar 2017-01-06 20:41:28 +01:00
parent 7a6440eeef
commit 484dcde8c2
8 changed files with 8 additions and 16 deletions

View File

@ -2697,7 +2697,6 @@ BSIM4unsetup(
GENmodel *inModel,
CKTcircuit *ckt)
{
#ifndef HAS_BATCHSIM
BSIM4model *model;
BSIM4instance *here;
@ -2756,6 +2755,6 @@ CKTcircuit *ckt)
}
}
}
#endif
return OK;
}

View File

@ -2123,7 +2123,6 @@ BSIM4v5unsetup(
GENmodel *inModel,
CKTcircuit *ckt)
{
#ifndef HAS_BATCHSIM
BSIM4v5model *model;
BSIM4v5instance *here;
@ -2182,6 +2181,6 @@ BSIM4v5unsetup(
}
}
}
#endif
return OK;
}

View File

@ -2456,7 +2456,6 @@ do { if((here->ptr = SMPmakeElt(matrix, here->first, here->second)) == NULL){\
int
BSIM4v6unsetup(GENmodel *inModel, CKTcircuit *ckt)
{
#ifndef HAS_BATCHSIM
BSIM4v6model *model;
BSIM4v6instance *here;
@ -2521,6 +2520,6 @@ BSIM4v6unsetup(GENmodel *inModel, CKTcircuit *ckt)
}
}
}
#endif
return OK;
}

View File

@ -2613,7 +2613,6 @@ BSIM4v7unsetup(
GENmodel *inModel,
CKTcircuit *ckt)
{
#ifndef HAS_BATCHSIM
BSIM4v7model *model;
BSIM4v7instance *here;
@ -2672,6 +2671,6 @@ CKTcircuit *ckt)
}
}
}
#endif
return OK;
}

View File

@ -2746,7 +2746,6 @@ B4SOIunsetup(
GENmodel *inModel,
CKTcircuit *ckt)
{
#ifndef HAS_BATCHSIM
B4SOImodel *model;
B4SOIinstance *here;
@ -2771,6 +2770,6 @@ B4SOIunsetup(
// FIXME, lots missing !
}
}
#endif
return OK;
}

View File

@ -1297,7 +1297,6 @@ HSM2unsetup(
GENmodel *inModel,
CKTcircuit *ckt)
{
#ifndef HAS_BATCHSIM
HSM2model *model;
HSM2instance *here;
@ -1345,6 +1344,6 @@ HSM2unsetup(
}
}
}
#endif
return OK;
}

View File

@ -1458,7 +1458,6 @@ HSMHVunsetup(
GENmodel *inModel,
CKTcircuit *ckt)
{
#ifndef HAS_BATCHSIM
HSMHVmodel *model;
HSMHVinstance *here;
@ -1507,6 +1506,6 @@ HSMHVunsetup(
// FIXME, HSMHVtempNode HSMHVqiNode HSMHVqbNode
}
}
#endif
return OK;
}

View File

@ -1726,7 +1726,6 @@ HSMHV2unsetup(
GENmodel *inModel,
CKTcircuit *ckt)
{
#ifndef HAS_BATCHSIM
HSMHV2model *model;
HSMHV2instance *here;
@ -1775,6 +1774,6 @@ HSMHV2unsetup(
// FIXME, HSMHV2tempNode HSMHV2qiNode HSMHV2qbNode
}
}
#endif
return OK;
}