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

OS

OS(
t_instanceName
t_parameterName
)
=> o_waveform / nil

Description

Returns the specified device parameter of the an instance from DC analysis data.

To plot or evaluate an OS expression, you must add an OS expression or an oppoint expression to the outputs in ADE Assembler or ADE Explorer and run a simulation. This is because the operating points are not saved when you run a DC sweep or transient simulation, unless they are explicitly used in an expression or an oppoint output.

Arguments

t_instanceName

Name of the instance for which the device parameter is to be calculated.

t_parameterName

Name of the device parameter to be calculated.

Value Returned

o_waveform

Waveform representing the calculated device parameter of the specified instance.

nil

The device parameter cannot be calculated because of an error.

Examples

The following example opens simulation results of transient and DC analysis stored in the specified results directory.

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

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

results()
= > tran(tranOp dcOp dcOpInfo dc
    model instance output
    designParamVals primitives subckts
    variables
)

The following example selects the results of DC analysis.

selectResults('dc)
=> stdobj@0x316292a8

The following example lists the output signals saved in the selected result.

outputs()
=> ("/D0:v" "/V1:v" "/net3" "/emitter" "/net021"
    "/net17" "/varactor1" "/net30" "/collector" "/base"
    "/net8" "/out" "/IPRB0/PLUS" "/L0/PLUS" "/L1/PLUS"
    "/V0/PLUS" "/V1/PLUS" "/V2/PLUS" "V1:pwr" "/C0:cap"
    "/D0:i" "/IPRB0:i" "/V1:i" "/D0:gd"
)

The following example creates a waveform object wave that represents the waveform of device parameter pwr of the instance V1 for DC analysis.

wave=OS("/V1" "pwr")
=> srrWave:0x35817010

The following example creates a Waveform window win and returns its window ID.

win=awvCreatePlotWindow()
=> window:3

The following example plots the waveform object wave in the Waveform window win.

awvPlotWaveform(
    win
    list(wave)
    ?expr list("OS(V1:pwr)")
    ?color list("y18")
    ?lineType list("line")
    ?lineStyle list("solid")
    ?lineThickness list("thick")
    )
=> t


Return to top
 ⠀
X