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

Parallel Operation<br />

Difference Between Sequential and Parallel Execution<br />

The same task run with parallelism activated or deactivated should have exactly the same effect<br />

except for the following two points:<br />

• If outputs are printed by tasks run in parallel, then the order of the outputs is undefined.<br />

If the order is important then you must not use fprint inside tasks run in parallel but<br />

outside, for example in a loop run sequentially.<br />

• A break used inside a loop run in parallel may cause differences between sequential and<br />

parallel execution; see the section “Continue, Break and Return Parallel Behavior” on<br />

page 1050.<br />

Generated Netlists<br />

For simulations run in parallel, if you specify the same netlist name for each simulation, ECL<br />

changes it automatically to suffix it with the index of the job.<br />

Waveforms<br />

Inside the main wdb file, the names of waveforms generated by simulations run will be suffixed<br />

by a unique index to avoid concurrency issues.<br />

Debug Mode<br />

When in debug mode (setenv ELDO_CL_DEBUG) when jobs are executed in parallel, their<br />

debug outputs are mixed but they are prefixed with the index of the corresponding job to enable<br />

better understanding.<br />

Related Topics<br />

Parallel Construct<br />

Parallel Construct<br />

The first parallel construct enables you to define tasks or functions (jobs) to be run in parallel.<br />

The results of the tasks or functions are stored inside an array.<br />

Para Function to Parallelize Tasks<br />

See function “Identifying the Index of the Current Job” on page 1040.<br />

Identifying the Index of the Current Job<br />

For ease of use, it is possible to call the function ijob() to obtain the index of the current job.<br />

Example: basic use of ijob():<br />

1040<br />

Eldo® User's Manual, 15.3

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

Saved successfully!

Ooh no, something went wrong!