rfOutputNoise
rfOutputNoise(t_unit[?resultt_noiseResultName] [?noiseConventiont_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
Value Returned
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