ad1

Friday, December 25, 2015

Corner Simulation Using OCEAN

designName="blahblah/spectre/schematic/netlist/netlist"
resultPath="blahblah/spectre/PVT"
modelFileName="blahblah/model.lib"

ocnWaveformTool('wavescan )
simulator('spectre )
design(designName)
analysis(
        'stb
        ?start "1"
        ?stop "1T"
        ?dec "100"
        ?probe "/V0"
)
desVar("AVDD15" 1.5)
foreach(corner '("ss" "ff" "tt")
        resultsDir(sprintf(nil "%s/%s" resultPath corner))
        modelFile(
                list(modelFileName sprintf(nil "%s" corner))
                list(modelFileName sprintf(nil "bjt_%s" corner))
                list(modelFileName sprintf(nil "dio_%s" corner))
                list(modelFileName sprintf(nil "res_%s" corner))
        )      
        paramAnalysis(
                "temp"
                ?values '(-45 -20 60 85 125)
                paramAnalysis(
                        "AVDD15"
                        ?values '(1.35 1.5 1.65)
                )
        )
        paramRun()
)

No comments:

Post a Comment