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.

Post-Processing Library<br />

General Usage<br />

General Usage<br />

This section lists the general usage topics together with any associated command.<br />

Table 19-2. General Usage Topics<br />

Topic<br />

Registering User Defined Functions<br />

Making Specific Calls to User Defined Functions<br />

Waveform Definition With User Defined Functions<br />

Macro-Like Usage of User Defined Functions<br />

Keyword Parameters<br />

Working with Waveforms Inside User Defined Functions<br />

Associated Command<br />

.USE_TCL<br />

.CALL_TCL<br />

.TCL_WAVE<br />

Registering User Defined Functions<br />

The .USE_TCL command loads the Tcl file, filename, into the Eldo Tcl interpreter, enabling all<br />

declared functions to be recognized inside Eldo.<br />

.USE_TCL filename<br />

After loading the Tcl file, Eldo can use all the functions written inside this file as if they were<br />

macros. This means these functions can accept any argument, are defined for the whole netlist,<br />

and can return both numbers and/or waves.<br />

EZwave also supports Tcl scripting, enabling you to create batch files to execute Tcl commands<br />

from within EZwave. When .USE_TCL is used in EZwave mode, then the Tcl script must<br />

adhere to the EZwave Tcl command syntax rules.<br />

Tip<br />

See “.USE_TCL” in the Eldo Reference Manual and “Tcl Scripting Support” in the EZwave<br />

User’s and Reference Manual.<br />

Making Specific Calls to User Defined Functions<br />

The .CALL_TCL command is used to perform a single call to a Tcl function. The example files<br />

expressions.cir and expressions.tcl demonstrate how .CALL_TCL can be used in the netlist,<br />

creating waveforms for EZwave to plot using PPL Built-in functions.<br />

Tip<br />

See “.CALL_TCL” in the Eldo Reference Manual.<br />

Eldo® User's Manual, 15.3 1139

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

Saved successfully!

Ooh no, something went wrong!