10.06.2016 Views

eldo_user

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Post-Processing Library<br />

Waveform Definition With User Defined Functions<br />

Related Topics<br />

Post-Processing Library Example Files<br />

Keyword Parameters<br />

Waveform Definition With User Defined Functions<br />

The .TCL_WAVE command defines a new waveform using a Tcl function. The example files<br />

tcl_wave.cir and expressions.tcl demonstrate how .TCL_WAVE can be used in the netlist to<br />

create waveforms for EZwave to plot using PPL Built-in functions. The waveform expression<br />

must be a single Tcl function.<br />

This enables you to dynamically manage User Defined Functions (UDF) written in Tcl<br />

language. The functions of the post-processor library and other commands are available through<br />

the Tcl interface.<br />

Tip<br />

See “.TCL_WAVE” and “.DEFWAVE” in the Eldo Reference Manual.<br />

Notes<br />

• Built-in PPL functions that act on a waveform cannot be used in Tcl procs that are called<br />

from .DEFWAVE statements. This is because .DEFWAVE expressions represent a<br />

numerical value, and not a waveform.<br />

• The name of the Tcl function inside a .CALL_TCL command is case sensitive. It must<br />

exactly match the name in the .tcl file.<br />

• Tcl function names can be either lowercase or uppercase inside a netlist. However when<br />

they are used outside of a .CALL_TCL command, for example in a resistor expression,<br />

they are converted to uppercase. They must be uppercase inside the Tcl source file.<br />

• .USE_TCL commands must always be placed before the first call to a Tcl function.<br />

Otherwise, Eldo will not be able to parse the expressions using these functions.<br />

Related Topics<br />

Post-Processing Library Example Files<br />

Registering User Defined Functions<br />

Making Specific Calls to User Defined Functions<br />

1140<br />

Eldo® User's Manual, 15.3

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

Saved successfully!

Ooh no, something went wrong!