ad1

Friday, December 25, 2015

Draw Waveform From Corner Simulation Result

winID=newWindow()
corners = list("ss" "ff" "tt")
resultPath="./opamp_stb_tb/spectre/PVT"

clearAll()

; Note: 
; graphicsOff()/graphicsOn() helps eliminates the redraw for each plot.
; When graphicsOn() is called, the completed plot appears.
graphicsOff()
foreach
        var  
        corners
        openResults(sprintf(nil "%s/%s" resultPath var))
        selectResults('stb_margin)
        plot(getData("phaseMargin"))
)
graphicsOn()

No comments:

Post a Comment