rfInputNoise
rfInputNoise(t_unit[?resultt_noiseResultName] ) =>o_waveform/nil
Description
Returns the input noise waveform. This function is run on the results of the Spectre pss-pnoise and hb-hbnoise analyses.
Arguments
|
Name of the results file alias in which the input noise waveform is saved. |
|
Value Returned
Examples
The following example plots the input noise waveform saved in the results file pnoise with y-axis units as V**2/Hz.
plot(rfInputNoise("V**2/Hz" ?result "pnoise"))
The following example opens simulation results of hb-hbnoise 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()
(hb_td hb_fd hb_fi hbac hbnoise_am
hbnoise_am_xfersrc hbnoise_src hbnoise_pm hbnoise_pm_xfersrc hbnoise
hbnoise_xfersrc hbnoise_lsb hbnoise_lsb_xfersrc model instance
output designParamVals primitives subckts variables
)
The following example selects the result hbnoise.
selectResults('hbnoise)
=> stdobj@0x3227fa10
The following example creates a waveform object wave1 that represents the plot for input noise with y-axis unit specified as V/sqrt(Hz).
wave1=rfInputNoise("V/sqrt(Hz)" ?result "hbnoise")
=> srrWave:0x36862080
The following example creates a Waveform window win1 and returns its window ID.
win1=awvCreatePlotWindow()
=> window:3
The following example plots the waveform wave1, which represents the input noise, in the Waveform window win1.
awvPlotWaveform(
win1
list(wave1)
?expr list("inputNoise:V/sqrt(Hz)")
?color list("y6")
?lineType list("line")
?lineStyle list("solid")
?lineThickness list("thick")
?showSymbols list(t)
?dataSymbol list("x")
)
=> t

The following example creates a waveform object wave1 that represents the plot for input noise with y-axis unit specified as dBV/Hz.
wave2=rfInputNoise("dBV/Hz" ?result "hbnoise")
=> srrWave:0x368621b0
The following example creates another Waveform window win2 and returns its window ID.
win2=awvCreatePlotWindow()
=> window:4
The following example plots the waveform wave2, which represents the input noise, in the Waveform window win2.
awvPlotWaveform(
win2
list(wave2)
?expr list("inputNoise:dBV/Hz")
?color list("y18")
?lineType list("line")
?lineStyle list("solid")
?lineThickness list("thick")
?showSymbols list(t)
?dataSymbol list(".")
)
=> t

Return to top