awvEval
awvEval(t_placeholder t_expr) =>t_expr
Description
Returns the second argument. The first argument is only a placeholder argument.
Arguments
|
Expression to be evaluated. The function returns this expression. |
Value Returned
Examples
The following example creates a Waveform window.
awvCreatePlotWindow()
=> window:3
The following example opens the simulation results stored in the specified directory.
openResults("/servers/user/design/ampsim.raw")
=> "/servers/user/design/ampsim.raw"
The following example returns ID of the resulting waveform evaluated as per the expression. Signals out and net10 are stored in the tran-tran results of the results directory /servers/user/design/ampsim.raw.
waveform=v("out" ?result "tran-tran")-v("net10" ?result "tran-tran")
=> srrWave:0x36167040
This waveform object ID is passed as the second argument of the function awvEval. The function returns the same waveform object ID.
awvEval("expr" waveform)
=> srrWave:0x36167040
Return to top