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

Task Instantiation<br />

set local_variable1 = 0<br />

...<br />

task_name(input_param1=input_param_value1, ...<br />

+ local_variable1 = @output_param1, ...)<br />

It is even possible to specify more complex expressions using these output parameters:<br />

task_name(input_param1=input_param_value, ...<br />

+ local_variable1 = 1 + @output_param1,<br />

+ local_variable2 = @output_param1 - @output_param2, ...)<br />

Note<br />

The values of output parameters can only be used when a task is instantiated inside another<br />

task; it is not possible when a task is instantiated directly in the netlist.<br />

Examples<br />

Example One<br />

• Example of instantiation in the netlist of the tasks defined in “Task Definition” on<br />

page 814:<br />

.hello_world<br />

.opamp n=10<br />

Example Two<br />

• Example of instantiations in another task of the tasks defined in “Task Definition” on<br />

page 814:<br />

.define_task my_example<br />

hello_world()<br />

opamp (n=10)<br />

.end_define_task<br />

Example Three<br />

• Example of a recursive task with output argument:<br />

818<br />

Eldo® User's Manual, 15.3

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

Saved successfully!

Ooh no, something went wrong!