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 Control Language<br />

Statistical Processing<br />

.define_task t_main()<br />

set important_params[]=""<br />

set i = 0<br />

set width[] = 0<br />

set device[] = ""<br />

set res = 0<br />

/* Load the netlist. */<br />

res = _simu_load(name = "mc/mc.cir")<br />

if (res.simu_status == 0)<br />

_simu_set_mc_flow()<br />

/* Run nominal. */<br />

run_nominal()<br />

/* Call _simu_end now because when running the parallel loop<br />

* in the function find_important_params, each job will have<br />

* to do _simu_load, _simu_set_mc_flow, _simu_run and _simu_end.<br />

_simu_end()<br />

else<br />

fprint(stdout, "Parsing failed!\n")<br />

endif<br />

/* Run parallel Monte-Carlo to find important parameters. */<br />

if (find_important_params(p_extract_name = "OPFREQ",<br />

+ important_params=@p_important_params) != 0)<br />

/* Reload the netlist to be able to find the names and the widths of<br />

* the important parameters.<br />

*/<br />

res = _simu_load(name = "mc_get_res/mc_get_res.cir")<br />

if (res.simu_status == 0)<br />

_simu_set_mc_flow()<br />

for (i = important_params.imin;<br />

+ i

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

Saved successfully!

Ooh no, something went wrong!