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

rfOutputNoise

rfOutputNoise(
t_unit
[ ?result t_noiseResultName ]
[ ?noiseConvention t_noiseConventionType ]
)
=> o_waveform / nil

Description

Returns the output noise waveform. This function is run on the results of the Spectre pss-pnoise and hb-hbnoise analyses.

Arguments

t_unit

Specifies the y-axis unit.

Valid values are:

  • V/sqrt(Hz)
  • V**2/Hz
  • dBc/Hz
  • dBV/Hz

?result t_noiseResultName

Name of the results of pss-pnoise or hb-hbnoise analysis.

?noiseConvention t_noiseConventionType

Specifies the type of noise convention.

The valid values are:

  • SSB: Single-sideband.
  • DSB: Double-sideband.

The default value is SSB.

This argument is used for the noise type AM or PM.

Value Returned

o_waveform

Waveform object representing the output noise.

nil

Output noise cannot be calculated because of an error.

Examples

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

openResults("/home/user/hbnoise/ExampleLibRF/oscillator_ckt/maestro/results/maestro/ExplorerRun.0/1/ExampleLibRF_oscillator_ckt_1/psf")
=> "/home/user/hbnoise/ExampleLibRF/oscillator_ckt/maestro/results/maestro/ExplorerRun.0/1/ExampleLibRF_oscillator_ckt_1/psf"

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

results()
(hb_fi hb_fd hb_td hbnoise hbnoise_am
    hbnoise_pm hbnoise_lsb model instance output
    designParamVals primitives subckts variables
)

The following example creates a waveform object wave1 that represents the waveform of output noise from the result hbnoise_am, which is available in simulation results of hb-hbnoise analysis. The y-axis unit of the waveform is dBc/Hz and noise convention is DSB.

wave1=rfOutputNoise("dBc/Hz" ?result "hbnoise_am" ?noiseConvention "DSB")
=> srrWave:0x36647920

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

win1=awvCreatePlotWindow()
=> window:3

The following example plots the waveform object wave1 in the Waveform window win1. Note that the unit of y axis is dBc/Hz.

awvPlotWaveform(
    win1
    list(wave1)
    ?expr list("output noise: (AM, DSB, dBc/Hz)")
    )
=> t

The following example creates a waveform object wave2 that represents the waveform of output noise from the result hbnoise_pm, which is available in simulation results of hb-hbnoise analysis. The y-axis unit of the waveform is V/sqrt(Hz) and noise convention is DSB.

wave2=rfOutputNoise("V/sqrt(Hz)" ?result "hbnoise_pm" ?noiseConvention "DSB")
=> srrWave:0x36646040

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

win2=awvCreatePlotWindow()
window:4

The following example plots the waveform object wave1 in the Waveform window win2. Note that the unit of y axis is V/sqrt(Hz).

awvPlotWaveform(
    win2
    list(wave2)
    ?expr list("output noise: (PM, DSB, V/sqrt(Hz))")
    )
=> t


Return to top
 ⠀
X