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

dBm50ohm

dBm50ohm(
{ o_waveform | n_voltage }
)
=> o_waveform | n_dBm

Description

Calculates output power in decibel-milliwatts (dBm) from the specified voltage (signal or value) for a 50 ohm resistance.

dBm is a unit of level that expresses power level in dB with reference to 1mW. dBm is a dimensionless unit, but because it compares to a fixed reference value, the dBm is an absolute rating.

The power in dBm is calculated using the following formula:

Where V= voltage in volt, R= 50 ohm and, 1mW= 0.001 watt

Arguments

o_waveform or n_voltage

Waveform of a voltage signal or the voltage value in volt.

Value Returned

o_waveform

Waveform representing the power output in dBm if the input is a waveform representing a voltage signal.

n_dBm

Scalar value indicating the power output in dBm if the input is a scalar voltage value.

Examples

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

openResults("./simulation/lib/cell/maestro/results/maestro/ExplorerRun.0/1/test/psf")
=> "./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 model instance output designParamVals
    primitives subckts variables
)

The following example selects the result tran.

selectResults('tran)
=> stdobj@0x2ebd80c8

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

outputs()
=> ("/net1" "/net2")

The following example creates a waveform object v, which represents the voltage waveform of net1.

v=v("net1")
=> srrWave:0x34a8f020

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

win1=awvCreatePlotWindow()
=> window:3

The following example plots the waveform v in the Waveform window win1.

awvPlotWaveform(
    win1
    list(v)
    ?expr list("vNet1")
    ?color list("y18")
    ?lineType list("line")
    ?lineStyle list("solid")
    ?lineThickness list("thick")
    ?showSymbols list(t)
    ?dataSymbol list(".")
    )
=> t

The following example creates another Waveform window and returns it window ID.

win2=awvCreatePlotWindow()
=> window:4

The following example creates a waveform object p, which represents the power in dBm for the specified voltage signal v.

p=dBm50ohm(v)
=> srrWave:0x34a8f030

The following example plots the waveform p in the Waveform window win2.

awvPlotWaveform(
    win2
    list(p)
    ?expr list("pwr_dBm")
    ?color list("y6")
    ?lineType list("line")
    ?lineStyle list("solid")
    ?lineThickness list("thick")
    ?showSymbols list(t)
    ?dataSymbol list("o")
    )
=> t

The following example calculates the power in dBm for the voltage value 10 volt for a 50 ohm impedance.

dBm50ohm(10)
=> 33.0103

Return to top
 ⠀
X