10.06.2016 Views

eldo_user

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Eldo Control Language<br />

.EXTRACT Alternative<br />

RES_EXTRACT[1] = 6.9296E-01<br />

RES_EXTRACT[2] = 1.3859E+00<br />

RES_EXTRACT[3] = 2.0937E+00<br />

RES_EXTRACT[4] = 2.7718E+00<br />

RES_EXTRACT[5] = 3.4785E+00<br />

RES_EXTRACT[6] = 4.1633E+00<br />

RES_EXTRACT[7] = 4.8633E+00<br />

RES_EXTRACT[8] = 5.5480E+00<br />

RES_EXTRACT[9] = 6.2396E+00<br />

RES_EXTRACT[10] = 6.9389E+00<br />

Update the netlist with the following ECL task to add ECL custom formatting (see section<br />

below the “display results in a custom way” comment):<br />

.define_task t1<br />

/* parameter for the step loop. */<br />

set loop_param = 1<br />

set param_value[] = 0<br />

set extract_res[] = 0<br />

/* step loop similar to the .step command. */<br />

step (type=step, param=loop_param, start=1, stop=10, step=1)<br />

/* run the simulation. */<br />

param_value[loop_param] = loop_param<br />

simulation(tb_netlist(param_tb_value=loop_param),<br />

+ name="res/simu" + loop_param + ".cir",<br />

+ extract_res[loop_param]=@res_extract)<br />

endstep<br />

/* display results in a custom way. */<br />

fprint(stdout, "Parameter value | Extract result\n")<br />

for (loop_param = extract_res.imin; loop_param

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

Saved successfully!

Ooh no, something went wrong!