|
|
|
@ -59,7 +59,7 @@ int $(module)setup (SMPmatrix *matrix, GENmodel *inModel, CKTcircuit *ckt, int * |
|
|
|
$(module)instance *here; |
|
|
|
|
|
|
|
/* loop through all the $(module) device models */ |
|
|
|
for ( ;model != NULL ;model = model->$(module)nextModel ) |
|
|
|
for ( ;model != NULL ;model = $(module)nextModel(model) ) |
|
|
|
{ |
|
|
|
<admst:for-each select="variable[parametertype='model' and input='yes']"> |
|
|
|
<admst:if test="default[not(nilled(function[class='builtin']))]"> |
|
|
|
@ -79,7 +79,7 @@ int $(module)setup (SMPmatrix *matrix, GENmodel *inModel, CKTcircuit *ckt, int * |
|
|
|
<admst:text format="}\n"/> |
|
|
|
</admst:if> |
|
|
|
</admst:for-each> |
|
|
|
for ( here = model->$(module)instances ;here != NULL ; here = here->$(module)nextInstance ) |
|
|
|
for ( here = $(module)instances(model) ;here != NULL ; here = $(module)nextInstance(here) ) |
|
|
|
{ |
|
|
|
<admst:for-each select="variable[parametertype='instance' and input='yes']"> |
|
|
|
<admst:if test="default[not(nilled(function[class='builtin']))]"> |
|
|
|
@ -174,9 +174,9 @@ $(module)unsetup(GENmodel *inModel, CKTcircuit *ckt) |
|
|
|
$(module)instance *here; |
|
|
|
|
|
|
|
/* loop through all the $(module) device models */ |
|
|
|
for ( ;model != NULL ;model = model->$(module)nextModel ) |
|
|
|
for ( ;model != NULL ;model = $(module)nextModel(model) ) |
|
|
|
{ |
|
|
|
for ( here = model->$(module)instances ;here != NULL ; here = here->$(module)nextInstance ) |
|
|
|
for ( here = $(module)instances(model) ;here != NULL ; here = $(module)nextInstance(here) ) |
|
|
|
{ |
|
|
|
<admst:for-each select="reverse(node[location='internal'])"> |
|
|
|
<admst:value-of select="name"/> |
|
|
|
|