avoid unneccessairy diff noise (due to currentdate) in the adms generated files
This commit is contained in:
parent
5fe1dca57a
commit
10219ace63
|
|
@ -103,11 +103,8 @@ int $(module)mSize = sizeof($(module)model);
|
|||
<admst:for-each select="/module">
|
||||
<admst:value-of select="attribute[name='ngspicename']/value"/>
|
||||
<admst:open file="%s.c">
|
||||
<admst:value-of select="/simulator/package_string"/>
|
||||
<admst:text format="/***\n*** Interface: %s\n"/>
|
||||
<admst:value-of select="/simulator/currentdate"/>
|
||||
<admst:value-of select="/simulator/fullname"/>
|
||||
<admst:text format=" *** created by: %s - %s ***/\n"/>
|
||||
<admst:text format="/***\n*** Interface: %(/simulator/package_string)\n"/>
|
||||
<admst:text format=" *** created by: %(/simulator/fullname) ***/\n"/>
|
||||
<admst:apply-templates select="." match="code"/>
|
||||
</admst:open>
|
||||
<admst:value-of select="attribute[name='ngspicename']/value"/>
|
||||
|
|
|
|||
|
|
@ -84,11 +84,8 @@ int $(module)acLoad(GENmodel *inModel, CKTcircuit *ckt)
|
|||
<admst:for-each select="/module">
|
||||
<admst:value-of select="attribute[name='ngspicename']/value"/>
|
||||
<admst:open file="%sacld.c">
|
||||
<admst:value-of select="/simulator/package_string"/>
|
||||
<admst:text format="/***\n*** Interface: %s\n"/>
|
||||
<admst:value-of select="/simulator/currentdate"/>
|
||||
<admst:value-of select="/simulator/fullname"/>
|
||||
<admst:text format=" *** created by: %s - %s ***/\n"/>
|
||||
<admst:text format="/***\n*** Interface: %(/simulator/package_string)\n"/>
|
||||
<admst:text format=" *** created by: %(/simulator/fullname) ***/\n"/>
|
||||
<admst:apply-templates select="." match="code"/>
|
||||
</admst:open>
|
||||
<admst:value-of select="attribute[name='ngspicename']/value"/>
|
||||
|
|
|
|||
|
|
@ -73,11 +73,8 @@ int $(module)ask(CKTcircuit *ckt, GENinstance *inst, int which, IFvalue *value,
|
|||
<admst:for-each select="/module">
|
||||
<admst:value-of select="attribute[name='ngspicename']/value"/>
|
||||
<admst:open file="%sask.c">
|
||||
<admst:value-of select="/simulator/package_string"/>
|
||||
<admst:text format="/***\n*** Interface: %s\n"/>
|
||||
<admst:value-of select="/simulator/currentdate"/>
|
||||
<admst:value-of select="/simulator/fullname"/>
|
||||
<admst:text format=" *** created by: %s - %s ***/\n"/>
|
||||
<admst:text format="/***\n*** Interface: %(/simulator/package_string)\n"/>
|
||||
<admst:text format=" *** created by: %(/simulator/fullname) ***/\n"/>
|
||||
<admst:apply-templates select="." match="code"/>
|
||||
</admst:open>
|
||||
<admst:value-of select="attribute[name='ngspicename']/value"/>
|
||||
|
|
|
|||
|
|
@ -332,11 +332,8 @@ typedef struct s$(module)model { /* model structure */
|
|||
<admst:for-each select="/module">
|
||||
<admst:value-of select="attribute[name='ngspicename']/value"/>
|
||||
<admst:open file="%sdefs.h">
|
||||
<admst:value-of select="/simulator/package_string"/>
|
||||
<admst:text format="/***\n*** Interface: %s\n"/>
|
||||
<admst:value-of select="/simulator/currentdate"/>
|
||||
<admst:value-of select="/simulator/fullname"/>
|
||||
<admst:text format=" *** created by: %s - %s ***/\n"/>
|
||||
<admst:text format="/***\n*** Interface: %(/simulator/package_string)\n"/>
|
||||
<admst:text format=" *** created by: %(/simulator/fullname) ***/\n"/>
|
||||
<admst:apply-templates select="." match="code"/>
|
||||
</admst:open>
|
||||
<admst:value-of select="attribute[name='ngspicename']/value"/>
|
||||
|
|
|
|||
|
|
@ -56,11 +56,8 @@ $(module)delete(GENinstance *gen_inst)
|
|||
<admst:for-each select="/module">
|
||||
<admst:value-of select="attribute[name='ngspicename']/value"/>
|
||||
<admst:open file="%sdel.c">
|
||||
<admst:value-of select="/simulator/package_string"/>
|
||||
<admst:text format="/***\n*** Interface: %s\n"/>
|
||||
<admst:value-of select="/simulator/currentdate"/>
|
||||
<admst:value-of select="/simulator/fullname"/>
|
||||
<admst:text format=" *** created by: %s - %s ***/\n"/>
|
||||
<admst:text format="/***\n*** Interface: %(/simulator/package_string)\n"/>
|
||||
<admst:text format=" *** created by: %(/simulator/fullname) ***/\n"/>
|
||||
<admst:apply-templates select="." match="code"/>
|
||||
</admst:open>
|
||||
<admst:value-of select="attribute[name='ngspicename']/value"/>
|
||||
|
|
|
|||
|
|
@ -53,11 +53,8 @@ $(module)destroy(void)
|
|||
<admst:for-each select="/module">
|
||||
<admst:value-of select="attribute[name='ngspicename']/value"/>
|
||||
<admst:open file="%sdest.c">
|
||||
<admst:value-of select="/simulator/package_string"/>
|
||||
<admst:text format="/***\n*** Interface: %s\n"/>
|
||||
<admst:value-of select="/simulator/currentdate"/>
|
||||
<admst:value-of select="/simulator/fullname"/>
|
||||
<admst:text format=" *** created by: %s - %s ***/\n"/>
|
||||
<admst:text format="/***\n*** Interface: %(/simulator/package_string)\n"/>
|
||||
<admst:text format=" *** created by: %(/simulator/fullname) ***/\n"/>
|
||||
<admst:apply-templates select="." match="code"/>
|
||||
</admst:open>
|
||||
<admst:value-of select="attribute[name='ngspicename']/value"/>
|
||||
|
|
|
|||
|
|
@ -61,11 +61,8 @@ extern void $(module)destroy(void);
|
|||
<admst:for-each select="/module">
|
||||
<admst:value-of select="attribute[name='ngspicename']/value"/>
|
||||
<admst:open file="%sext.h">
|
||||
<admst:value-of select="/simulator/package_string"/>
|
||||
<admst:text format="/***\n*** Interface: %s\n"/>
|
||||
<admst:value-of select="/simulator/currentdate"/>
|
||||
<admst:value-of select="/simulator/fullname"/>
|
||||
<admst:text format=" *** created by: %s - %s ***/\n"/>
|
||||
<admst:text format="/***\n*** Interface: %(/simulator/package_string)\n"/>
|
||||
<admst:text format=" *** created by: %(/simulator/fullname) ***/\n"/>
|
||||
<admst:apply-templates select="." match="code"/>
|
||||
</admst:open>
|
||||
<admst:value-of select="attribute[name='ngspicename']/value"/>
|
||||
|
|
|
|||
|
|
@ -295,7 +295,7 @@ int $(module)guesstopology (SMPmatrix *matrix, CKTcircuit *ckt, $(module)model *
|
|||
<admst:variable name="module" select="%(attribute[name='ngspicename']/value)"/>
|
||||
<admst:open file="$(module)guesstopology.c">
|
||||
<admst:text format="/***\n*** Interface: %(/simulator/package_string)\n"/>
|
||||
<admst:text format=" *** created by: %(/simulator/fullname) - %(/simulator/currentdate) ***/\n"/>
|
||||
<admst:text format=" *** created by: %(/simulator/fullname) ***/\n"/>
|
||||
<admst:apply-templates select="." match="code"/>
|
||||
</admst:open>
|
||||
<admst:message format="$(module)guesstopology.c: file created\n"/>
|
||||
|
|
|
|||
|
|
@ -107,11 +107,8 @@ get_$(module)_info(void)
|
|||
<admst:for-each select="/module">
|
||||
<admst:value-of select="attribute[name='ngspicename']/value"/>
|
||||
<admst:open file="%sinit.c">
|
||||
<admst:value-of select="/simulator/package_string"/>
|
||||
<admst:text format="/***\n*** Interface: %s\n"/>
|
||||
<admst:value-of select="/simulator/currentdate"/>
|
||||
<admst:value-of select="/simulator/fullname"/>
|
||||
<admst:text format=" *** created by: %s - %s ***/\n"/>
|
||||
<admst:text format="/***\n*** Interface: %(/simulator/package_string)\n"/>
|
||||
<admst:text format=" *** created by: %(/simulator/fullname) ***/\n"/>
|
||||
<admst:apply-templates select="." match="code"/>
|
||||
</admst:open>
|
||||
<admst:value-of select="attribute[name='ngspicename']/value"/>
|
||||
|
|
|
|||
|
|
@ -46,11 +46,8 @@ extern int $(module)mSize;
|
|||
<admst:for-each select="/module">
|
||||
<admst:value-of select="attribute[name='ngspicename']/value"/>
|
||||
<admst:open file="%sinit.h">
|
||||
<admst:value-of select="/simulator/package_string"/>
|
||||
<admst:text format="/***\n*** Interface: %s\n"/>
|
||||
<admst:value-of select="/simulator/currentdate"/>
|
||||
<admst:value-of select="/simulator/fullname"/>
|
||||
<admst:text format=" *** created by: %s - %s ***/\n"/>
|
||||
<admst:text format="/***\n*** Interface: %(/simulator/package_string)\n"/>
|
||||
<admst:text format=" *** created by: %(/simulator/fullname) ***/\n"/>
|
||||
<admst:apply-templates select="." match="code"/>
|
||||
</admst:open>
|
||||
<admst:value-of select="attribute[name='ngspicename']/value"/>
|
||||
|
|
|
|||
|
|
@ -39,11 +39,8 @@ extern SPICEdev *get_$(module)_info(void);
|
|||
<admst:for-each select="/module">
|
||||
<admst:value-of select="attribute[name='ngspicename']/value"/>
|
||||
<admst:open file="%sitf.h">
|
||||
<admst:value-of select="/simulator/package_string"/>
|
||||
<admst:text format="/***\n*** Interface: %s\n"/>
|
||||
<admst:value-of select="/simulator/currentdate"/>
|
||||
<admst:value-of select="/simulator/fullname"/>
|
||||
<admst:text format=" *** created by: %s - %s ***/\n"/>
|
||||
<admst:text format="/***\n*** Interface: %(/simulator/package_string)\n"/>
|
||||
<admst:text format=" *** created by: %(/simulator/fullname) ***/\n"/>
|
||||
<admst:apply-templates select="." match="code"/>
|
||||
</admst:open>
|
||||
<admst:value-of select="attribute[name='ngspicename']/value"/>
|
||||
|
|
|
|||
|
|
@ -321,11 +321,8 @@ int $(module)load(GENmodel *inModel, CKTcircuit *ckt)
|
|||
<admst:for-each select="/module">
|
||||
<admst:value-of select="attribute[name='ngspicename']/value"/>
|
||||
<admst:open file="%sload.c">
|
||||
<admst:value-of select="/simulator/package_string"/>
|
||||
<admst:text format="/***\n*** Interface: %s\n"/>
|
||||
<admst:value-of select="/simulator/currentdate"/>
|
||||
<admst:value-of select="/simulator/fullname"/>
|
||||
<admst:text format=" *** created by: %s - %s ***/\n"/>
|
||||
<admst:text format="/***\n*** Interface: %(/simulator/package_string)\n"/>
|
||||
<admst:text format=" *** created by: %(/simulator/fullname) ***/\n"/>
|
||||
<admst:apply-templates select="." match="code"/>
|
||||
</admst:open>
|
||||
<admst:value-of select="attribute[name='ngspicename']/value"/>
|
||||
|
|
|
|||
|
|
@ -71,11 +71,8 @@ int $(module)mAsk(CKTcircuit *ckt, GENmodel *inst, int which, IFvalue *value)
|
|||
<admst:for-each select="/module">
|
||||
<admst:value-of select="attribute[name='ngspicename']/value"/>
|
||||
<admst:open file="%smask.c">
|
||||
<admst:value-of select="/simulator/package_string"/>
|
||||
<admst:text format="/***\n*** Interface: %s\n"/>
|
||||
<admst:value-of select="/simulator/currentdate"/>
|
||||
<admst:value-of select="/simulator/fullname"/>
|
||||
<admst:text format=" *** created by: %s - %s ***/\n"/>
|
||||
<admst:text format="/***\n*** Interface: %(/simulator/package_string)\n"/>
|
||||
<admst:text format=" *** created by: %(/simulator/fullname) ***/\n"/>
|
||||
<admst:apply-templates select="." match="code"/>
|
||||
</admst:open>
|
||||
<admst:value-of select="attribute[name='ngspicename']/value"/>
|
||||
|
|
|
|||
|
|
@ -56,11 +56,8 @@ $(module)mDelete(GENmodel *gen_model)
|
|||
<admst:for-each select="/module">
|
||||
<admst:value-of select="attribute[name='ngspicename']/value"/>
|
||||
<admst:open file="%smdel.c">
|
||||
<admst:value-of select="/simulator/package_string"/>
|
||||
<admst:text format="/***\n*** Interface: %s\n"/>
|
||||
<admst:value-of select="/simulator/currentdate"/>
|
||||
<admst:value-of select="/simulator/fullname"/>
|
||||
<admst:text format=" *** created by: %s - %s ***/\n"/>
|
||||
<admst:text format="/***\n*** Interface: %(/simulator/package_string)\n"/>
|
||||
<admst:text format=" *** created by: %(/simulator/fullname) ***/\n"/>
|
||||
<admst:apply-templates select="." match="code"/>
|
||||
</admst:open>
|
||||
<admst:value-of select="attribute[name='ngspicename']/value"/>
|
||||
|
|
|
|||
|
|
@ -71,11 +71,8 @@ int $(module)mParam(int param, IFvalue *value, GENmodel *inMod)
|
|||
<admst:for-each select="/module">
|
||||
<admst:value-of select="attribute[name='ngspicename']/value"/>
|
||||
<admst:open file="%smpar.c">
|
||||
<admst:value-of select="/simulator/package_string"/>
|
||||
<admst:text format="/***\n*** Interface: %s\n"/>
|
||||
<admst:value-of select="/simulator/currentdate"/>
|
||||
<admst:value-of select="/simulator/fullname"/>
|
||||
<admst:text format=" *** created by: %s - %s ***/\n"/>
|
||||
<admst:text format="/***\n*** Interface: %(/simulator/package_string)\n"/>
|
||||
<admst:text format=" *** created by: %(/simulator/fullname) ***/\n"/>
|
||||
<admst:apply-templates select="." match="code"/>
|
||||
</admst:open>
|
||||
<admst:value-of select="attribute[name='ngspicename']/value"/>
|
||||
|
|
|
|||
|
|
@ -78,7 +78,7 @@ $(module)noise (int mode, int operation, GENmodel *genmodel, CKTcircuit *ckt, Nd
|
|||
<admst:for-each select="/module">
|
||||
<admst:open file="%(attribute[name='ngspicename']/value)noise.c">
|
||||
<admst:text format="/***\n*** Interface: %(/simulator/package_string)\n"/>
|
||||
<admst:text format=" *** created by: %(/simulator/fullname) - %(/simulator/currentdate) ***/\n"/>
|
||||
<admst:text format=" *** created by: %(/simulator/fullname) ***/\n"/>
|
||||
<admst:apply-templates select="." match="code"/>
|
||||
</admst:open>
|
||||
<admst:message format="%(attribute[name='ngspicename']/value)noise.c: file created\n"/>
|
||||
|
|
|
|||
|
|
@ -72,11 +72,8 @@ int $(module)par(int param, IFvalue *value, GENinstance *inst, IFvalue *select)
|
|||
<admst:for-each select="/module">
|
||||
<admst:value-of select="attribute[name='ngspicename']/value"/>
|
||||
<admst:open file="%spar.c">
|
||||
<admst:value-of select="/simulator/package_string"/>
|
||||
<admst:text format="/***\n*** Interface: %s\n"/>
|
||||
<admst:value-of select="/simulator/currentdate"/>
|
||||
<admst:value-of select="/simulator/fullname"/>
|
||||
<admst:text format=" *** created by: %s - %s ***/\n"/>
|
||||
<admst:text format="/***\n*** Interface: %(/simulator/package_string)\n"/>
|
||||
<admst:text format=" *** created by: %(/simulator/fullname) ***/\n"/>
|
||||
<admst:apply-templates select="." match="code"/>
|
||||
</admst:open>
|
||||
<admst:value-of select="attribute[name='ngspicename']/value"/>
|
||||
|
|
|
|||
|
|
@ -95,11 +95,8 @@ int $(module)pzLoad(GENmodel *inModel, CKTcircuit *ckt, SPcomplex *s)
|
|||
<admst:for-each select="/module">
|
||||
<admst:value-of select="attribute[name='ngspicename']/value"/>
|
||||
<admst:open file="%spzld.c">
|
||||
<admst:value-of select="/simulator/package_string"/>
|
||||
<admst:text format="/***\n*** Interface: %s\n"/>
|
||||
<admst:value-of select="/simulator/currentdate"/>
|
||||
<admst:value-of select="/simulator/fullname"/>
|
||||
<admst:text format=" *** created by: %s - %s ***/\n"/>
|
||||
<admst:text format="/***\n*** Interface: %(/simulator/package_string)\n"/>
|
||||
<admst:text format=" *** created by: %(/simulator/fullname) ***/\n"/>
|
||||
<admst:apply-templates select="." match="code"/>
|
||||
</admst:open>
|
||||
<admst:value-of select="attribute[name='ngspicename']/value"/>
|
||||
|
|
|
|||
|
|
@ -197,11 +197,8 @@ $(module)unsetup(GENmodel *inModel, CKTcircuit *ckt)
|
|||
<admst:for-each select="/module">
|
||||
<admst:value-of select="attribute[name='ngspicename']/value"/>
|
||||
<admst:open file="%ssetup.c">
|
||||
<admst:value-of select="/simulator/package_string"/>
|
||||
<admst:text format="/***\n*** Interface: %s\n"/>
|
||||
<admst:value-of select="/simulator/currentdate"/>
|
||||
<admst:value-of select="/simulator/fullname"/>
|
||||
<admst:text format=" *** created by: %s - %s ***/\n"/>
|
||||
<admst:text format="/***\n*** Interface: %(/simulator/package_string)\n"/>
|
||||
<admst:text format=" *** created by: %(/simulator/fullname) ***/\n"/>
|
||||
<admst:apply-templates select="." match="code"/>
|
||||
</admst:open>
|
||||
<admst:value-of select="attribute[name='ngspicename']/value"/>
|
||||
|
|
|
|||
|
|
@ -77,11 +77,8 @@ int $(module)temp(GENmodel *inModel, CKTcircuit *ckt)
|
|||
<admst:for-each select="/module">
|
||||
<admst:value-of select="attribute[name='ngspicename']/value"/>
|
||||
<admst:open file="%stemp.c">
|
||||
<admst:value-of select="/simulator/package_string"/>
|
||||
<admst:text format="/***\n*** Interface: %s\n"/>
|
||||
<admst:value-of select="/simulator/currentdate"/>
|
||||
<admst:value-of select="/simulator/fullname"/>
|
||||
<admst:text format=" *** created by: %s - %s ***/\n"/>
|
||||
<admst:text format="/***\n*** Interface: %(/simulator/package_string)\n"/>
|
||||
<admst:text format=" *** created by: %(/simulator/fullname) ***/\n"/>
|
||||
<admst:apply-templates select="." match="code"/>
|
||||
</admst:open>
|
||||
<admst:value-of select="attribute[name='ngspicename']/value"/>
|
||||
|
|
|
|||
|
|
@ -89,11 +89,8 @@ int $(module)trunc(GENmodel *inModel, CKTcircuit *ckt, double *timeStep)
|
|||
<admst:for-each select="/module">
|
||||
<admst:value-of select="attribute[name='ngspicename']/value"/>
|
||||
<admst:open file="%strunc.c">
|
||||
<admst:value-of select="/simulator/package_string"/>
|
||||
<admst:text format="/***\n*** Interface: %s\n"/>
|
||||
<admst:value-of select="/simulator/currentdate"/>
|
||||
<admst:value-of select="/simulator/fullname"/>
|
||||
<admst:text format=" *** created by: %s - %s ***/\n"/>
|
||||
<admst:text format="/***\n*** Interface: %(/simulator/package_string)\n"/>
|
||||
<admst:text format=" *** created by: %(/simulator/fullname) ***/\n"/>
|
||||
<admst:apply-templates select="." match="code"/>
|
||||
</admst:open>
|
||||
<admst:value-of select="attribute[name='ngspicename']/value"/>
|
||||
|
|
|
|||
|
|
@ -138,11 +138,8 @@ DISTCLEANFILES = Makefile.am \\
|
|||
|
||||
<admst:for-each select="/module">
|
||||
<admst:open file="Makefile.am">
|
||||
<admst:value-of select="/simulator/package_string"/>
|
||||
<admst:text format="##\n## Interface: %s\n"/>
|
||||
<admst:value-of select="/simulator/currentdate"/>
|
||||
<admst:value-of select="/simulator/fullname"/>
|
||||
<admst:text format="## created by: %s - %s\n"/>
|
||||
<admst:text format="##\n## Interface: %(/simulator/package_string)\n"/>
|
||||
<admst:text format="## created by: %(/simulator/fullname)\n"/>
|
||||
<admst:apply-templates select="." match="code"/>
|
||||
</admst:open>
|
||||
<admst:message format="Makefile.am: file created\n"/>
|
||||
|
|
|
|||
Loading…
Reference in New Issue