Guest
Hi,
I need some help on this.
I'm simulating an amplifier for many corners and need to plot gain and phase response.
For the plots, I need appended plots (of all corners) of gain in one strip and phase (of all corners) in another strip.
I tried doing the following in my script:
Gain_plot=dB20(getData("loopGain" ?result "stb-stb"))
Phase_plot=phase(getData("loopGain" ?result "stb-stb"))
y=newWindow()
awvPlotWaveform( currentWindow list(Gain_plot Phase_plot) ?expr list("Gain" "Phase" ) ?stripNumber list(1 2) )
However, when the gain and phase expressions are re-evaluated in an outer loop(not shown here), the plots are replaced.
I also tried using awvSimplePlotExpression() and awvSimplePlotExpression(). What I understand is that these cannot be used to plot multiple expressions. Am i wrong?
Can anybody help me out with this?
Appreciate your patience.
Thanks,
Prashant
I need some help on this.
I'm simulating an amplifier for many corners and need to plot gain and phase response.
For the plots, I need appended plots (of all corners) of gain in one strip and phase (of all corners) in another strip.
I tried doing the following in my script:
Gain_plot=dB20(getData("loopGain" ?result "stb-stb"))
Phase_plot=phase(getData("loopGain" ?result "stb-stb"))
y=newWindow()
awvPlotWaveform( currentWindow list(Gain_plot Phase_plot) ?expr list("Gain" "Phase" ) ?stripNumber list(1 2) )
However, when the gain and phase expressions are re-evaluated in an outer loop(not shown here), the plots are replaced.
I also tried using awvSimplePlotExpression() and awvSimplePlotExpression(). What I understand is that these cannot be used to plot multiple expressions. Am i wrong?
Can anybody help me out with this?
Appreciate your patience.
Thanks,
Prashant