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 />

Expressions<br />

.param p1 =1<br />

.param p2 = 2<br />

.param pu = valif(p1 > p2,"r1","r2")<br />

.model r1 r r = 1<br />

.model r2 r r = 2<br />

i1 1 0 1<br />

r1 1 0 $(pu) 1<br />

This examples shows the use of strings. Here, model r2 will be used because condition p1 > p2<br />

is false.<br />

Note<br />

The EVAL syntax is closer to ‘C’ language, and may be more convenient for some <strong>user</strong>s.<br />

Related Topics<br />

Expressions<br />

120<br />

Eldo® User's Manual, 15.3

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

Saved successfully!

Ooh no, something went wrong!