10.06.2016 Views

eldo_user

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Eldo Netlist Setup<br />

Directives to Postpone Block of Commands<br />

#if (AMS_VERSION >= 2012.1)<br />

.param p1 = 1<br />

#else<br />

.param p1 = 2<br />

#endif<br />

i1 1 0 p1<br />

r1 1 0 1<br />

.dc<br />

.end<br />

Related Topics<br />

Directives<br />

Directives to Postpone Block of Commands<br />

Directives to Postpone Block of Commands<br />

Every line declared between these two directives is postponed until the end of the netlist<br />

(.END). This could be used, for example, to enable a .ALTER definition anywhere in the netlist.<br />

If multiple #NETLIST_END/#END_NETLIST_END blocks are declared, they are handled<br />

according to their order in the design. These blocks can be defined in the top netlist or any<br />

included files. Nested #NETLIST_END/#END_NETLIST_END directives are ignored.<br />

Syntax<br />

#NETLIST_END<br />

...<br />

#END_NETLIST_END<br />

Example<br />

i1 1 0 dc 'p1'<br />

.dc<br />

#netlist_end<br />

.alter<br />

.param p1=3m<br />

#end_netlist_end<br />

.param p1=1m<br />

r1 1 0 1<br />

.extract dc v(1)<br />

.alter<br />

.param p1=2m<br />

.end<br />

In this example, three DC analyses will be performed: the first one using p1=1m, the second one<br />

using p1=2m, and the last one using p1=3m which is defined in a #netlist_end/#end_netlist_end<br />

block.<br />

Eldo® User's Manual, 15.3 125

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!