Product Documentation
Virtuoso Visualization and Analysis XL SKILL Reference
Product Version IC23.1, November 2023

famEval

famEval(
l_expression
[ t_sweepVariable1 ]
[ s_sweepValue1 ]
)
=> o_waveform / n_value / nil

Description

Evaluates the specified expression with the specified sweep variables.

Arguments

l_expression

Expression to be evaluated.

t_sweepVariable1

Name of the sweep variable.

This is an optional argument.

s_sweepValue1

Value of the sweep variable.

This is an optional argument.

Value Returned

o_waveform

Output waveform object.

n_value

Output scalar value.

nil

because of an error.

Examples

The following example opens simulation results stored in the specified directory.

openResults("/servers/user/design/sweeptran.raw")
=> "/servers/user/design/sweeptran.raw"

The following example lists the results stored in the current results directory.

results()
=> tran()

The following example selects the tran result in the current results directory.

selectResults('tran)
=> stdobj@0x31f1f2f0

The following example creates a waveform object by evaluating the flip expression applied on the signal out, which is available in the tran result of the results directory /servers/user/design/sweeptran.raw.

familyWave=famEval(flip(v("out")))
=> srrWave:0x360da030

The following example plots the waveform object represented by familyWave.

plot familyWave
=> t


Return to top
 ⠀
X