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

rfGetEventtimeIndex

rfGetEventtimeIndex(
t_signal
t_resultName
x_index
)
=> n_eventIndex / nil

Description

Returns the event time of a signal for the specified index value.

Arguments

t_signal

Name of the signal whose event time is to be calculated.

t_resultName

Name of the results directory.

x_index

Index value.

Value Returned

n_eventIndex

Event time of the signal for the specified index value.

nil

Event time cannot be returned because of an error.

Examples

The following example opens simulation results of periodic AC (pac) analysis stored in the specified results directory.

openResults("/servers/user/lib/cell/maestro/results/maestro/ExplorerRun.0/psf/test/psf")
=> "/servers/user/lib/cell/maestro/results/maestro/ExplorerRun.0/psf/test/psf"

The following example lists the results available in the currently open results directory.

results()
=> (pss_td pss_fd pac_sampled pac model
    instance output designParamVals primitives subckts
    variables
)

The following example selects the result pac_sampled.

selectResults('pac_sampled)
=> stdobj@0x322b7f80

The following example lists the outputs that are available in the selected result.

outputs()
("/RFin" "/RFout" "/vdd_rf!" "/gnd_rf!" "
    "/inp" "/inm" "/outp" "/outm" "
)

The following examples return event time values of the signal RFout for the index values 0 and 1, respectively.

rfGetEventtimeIndex("RFout" "pac_sampled" 0)
=> 1.16671e-10
rfGetEventtimeIndex("RFout" "pac_sampled" 1)
=> 3.18086e-10

Return to top
 ⠀
X