awvPlotSimpleExpression
awvPlotSimpleExpression(t_expression[?plotStylet_plotStyle] [?graphTypet_graphType] [?graphModifiert_graphModifier] [?waveTypeg_waveType] ) =>t/nil
Description
Evaluates the specified expression and plots the resulting waveform.
Arguments
Value Returned
|
Expression is evaluated and the resulting waveform is plotted successfully. |
|
Examples
The following example creates a Waveform window and returns its window ID.
awvCreatePlotWindow()
=> window:3
The following example opens the results stored in the directory ampsim.raw. The tran-tran result in this directory contains the signals net35 and net10 that are used in the expression to be evaluated and plotted.
openResults("/servers/user/design/ampsim.raw")
=> "/servers/user/design/ampsim.raw"
The following example evaluates the specified expression and plots the resulting waveform in subwindow 1 of the Waveform window that you created using awvCreatePlotWindow.
awvPlotSimpleExpression("v(\"net35\" ?result \"tran-tran\")-v(\"net10\" ?result \"tran-tran\")" ?plotStyle "Append" ?graphType "" ?graphModifier "Magnitude")
=> t
The following example opens the results stored in the directory prbs.raw. The tran-tran result in this directory contain a signal jitter that is used in the expression to be evaluated and plotted.
openResults("/servers/user/design/prbs.raw")
=> "/servers/user/design/prbs.raw"
The following example evaluates the specified expression and plots the resulting eye diagram waveform in subwindow 2 of the Waveform window that you created using awvCreatePlotWindow.
awvPlotSimpleExpression("eyeDiagram(v(\"jitter\" ?result \"tran-tran\" ?resultsDir \"./prbs.raw\") 200n 400u 2*40n ?autoCenter t )" ?plotStyle "New SubWindow" ?graphModifier "Magnitude")
=> t
Return to top