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

Defining and Running Simulations<br />

***** Running simulation ...<br />

***** Generated simulation file:<br />

/home/jdoe/<strong>eldo</strong>/<strong>eldo</strong>_cl_simu_20287/<strong>eldo</strong>_cl_simu.cir<br />

***** (backup file:<br />

/home/jdoe/<strong>eldo</strong>/<strong>eldo</strong>_cl_simu_20287/<strong>eldo</strong>_cl_simu__1.cir)<br />

***** Log file: /home/jdoe/<strong>eldo</strong>/<strong>eldo</strong>_cl_simu_20287/<strong>eldo</strong>_cl_simu.log<br />

***** Simulation succeeded<br />

***** Running simulation ...<br />

***** Generated simulation file:<br />

/home/jdoe/<strong>eldo</strong>/<strong>eldo</strong>_cl_simu_20287/<strong>eldo</strong>_cl_simu.cir<br />

***** (backup file:<br />

/home/jdoe/<strong>eldo</strong>/<strong>eldo</strong>_cl_simu_20287/<strong>eldo</strong>_cl_simu__2.cir)<br />

***** Log file: /home/jdoe/<strong>eldo</strong>/<strong>eldo</strong>_cl_simu_20287/<strong>eldo</strong>_cl_simu.log<br />

***** Simulation succeeded<br />

***** Running simulation ...<br />

***** Generated simulation file:<br />

/home/jdoe/<strong>eldo</strong>/<strong>eldo</strong>_cl_simu_20287/<strong>eldo</strong>_cl_simu.cir<br />

***** (backup file:<br />

/home/jdoe/<strong>eldo</strong>/<strong>eldo</strong>_cl_simu_20287/<strong>eldo</strong>_cl_simu__3.cir)<br />

***** Log file: /home/jdoe/<strong>eldo</strong>/<strong>eldo</strong>_cl_simu_20287/<strong>eldo</strong>_cl_simu.log<br />

Warning 1803: In file "/home/jdoe/<strong>eldo</strong>/netlist.cir" line 5:<br />

+ Control Language warning: failed to complete the simulation (please<br />

check '/home/jdoe/<strong>eldo</strong>/<strong>eldo</strong>_cl_simu_20287/<strong>eldo</strong>_cl_simu.log' for more<br />

details).<br />

***** Running simulation ...<br />

***** Generated simulation file:<br />

/home/jdoe/<strong>eldo</strong>/<strong>eldo</strong>_cl_simu_20287/<strong>eldo</strong>_cl_simu.cir<br />

***** (backup file:<br />

/home/jdoe/<strong>eldo</strong>/<strong>eldo</strong>_cl_simu_20287/<strong>eldo</strong>_cl_simu__4.cir)<br />

***** Log file: /home/jdoe/<strong>eldo</strong>/<strong>eldo</strong>_cl_simu_20287/<strong>eldo</strong>_cl_simu.log<br />

***** Simulation succeeded<br />

The warning 1803 indicates that the third simulation failed. It gives the line number where the<br />

simulation failed in the main netlist netlist.cir (line 5 corresponds to the statement<br />

simulation(add_c(node=n))) and this can provide a first indication to understand the error. Most<br />

of the time it is easier to look at the output log file of the simulation: <strong>eldo</strong>_cl_simu_20287/<br />

<strong>eldo</strong>_cl_simu.log. The error in this output log file references the netlist run by the third<br />

simulation. Because the file <strong>eldo</strong>_cl_simu_20287/<strong>eldo</strong>_cl_simu.cir was overwritten by the<br />

fourth simulation (at the end of the global simulation of netlist.cir, the file <strong>eldo</strong>_cl_simu_20287/<br />

<strong>eldo</strong>_cl_simu.cir is identical to the last backup file <strong>eldo</strong>_cl_simu_20287/<strong>eldo</strong>_cl_simu__4.cir),<br />

the line error has to be searched for in the backup file of the third simulation<br />

<strong>eldo</strong>_cl_simu_20287/<strong>eldo</strong>_cl_simu__3.cir.<br />

The default behavior can be changed. It is possible to generate different files for successive<br />

simulations. For example:<br />

.define_task many_simu<br />

set n = 0<br />

for (n=1; n

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

Saved successfully!

Ooh no, something went wrong!