Oceanxl做Monte Carlo仿真脚本问题
时间:10-02
整理:3721RD
点击:
想用Oceanxl做 Monte Carlo仿真,版本:Ocean 6.1.6用 netlist来做仿真,而不是用 schematic来产生网表,因为对 netlist做了些修改。
;--------------------------------------------------
;====================== Set to XL mode =========================================
ocnSetXLMode()
;ocnxlProjectDir( "./psf" )
;ocnxlTargetCellView( "" "" "" )
;ocnxlResultsLocation( "" )
;ocnxlSimResultsLocation( "./psf" )
;====================== Tests setup ============================================
;---------- Test "test1" -------------
ocnxlBeginTest("test1")
simulator( 'spectre )
design( "./netlist/netlist" )
modelFile(
'("/home/ww/PDK/model/SMIC130MM/XX_v2p4_spe.scs" "mos_mc")
)
analysis('tran ?stop "300u"?errpreset "conservative")
envOption(
---------------------------------------------------
主要是上面这一部分做了些修改,然后,根本就运行不了
*Error* return: return can only be used within a prog
*Error* load: error while loading file - "run.ocn" at line 70
根本就没有跑,好像是脚本本身就有问题。
原始的脚本是这样的:
;====================== Set to XL mode =========================================
ocnSetXLMode()
ocnxlProjectDir( "~/simulation" )
ocnxlTargetCellView( "test_design1" "test_Cell_15032601" "adexl" )
ocnxlResultsLocation( "" )
ocnxlSimResultsLocation( "" )
;====================== Tests setup ============================================
;---------- Test "test_design1:test_Cell_15032601:1" -------------
ocnxlBeginTest("test_design1:test_Cell_15032601:1")
simulator( 'spectre )
design( "test_design1" "test_Cell_15032601" "schematic")
modelFile(
'("/home/ww/PDK/model/SMIC130MM/XX_v2p4_spe.scs" "mos_mc")
)
analysis('tran ?stop "300u"?errpreset "conservative")
envOption(
;--------------------------------
不知道到底是什么问题,怎么修改一下。最后能够直接对 netlist进行 仿真
;--------------------------------------------------
;====================== Set to XL mode =========================================
ocnSetXLMode()
;ocnxlProjectDir( "./psf" )
;ocnxlTargetCellView( "" "" "" )
;ocnxlResultsLocation( "" )
;ocnxlSimResultsLocation( "./psf" )
;====================== Tests setup ============================================
;---------- Test "test1" -------------
ocnxlBeginTest("test1")
simulator( 'spectre )
design( "./netlist/netlist" )
modelFile(
'("/home/ww/PDK/model/SMIC130MM/XX_v2p4_spe.scs" "mos_mc")
)
analysis('tran ?stop "300u"?errpreset "conservative")
envOption(
---------------------------------------------------
主要是上面这一部分做了些修改,然后,根本就运行不了
*Error* return: return can only be used within a prog
*Error* load: error while loading file - "run.ocn" at line 70
根本就没有跑,好像是脚本本身就有问题。
原始的脚本是这样的:
;====================== Set to XL mode =========================================
ocnSetXLMode()
ocnxlProjectDir( "~/simulation" )
ocnxlTargetCellView( "test_design1" "test_Cell_15032601" "adexl" )
ocnxlResultsLocation( "" )
ocnxlSimResultsLocation( "" )
;====================== Tests setup ============================================
;---------- Test "test_design1:test_Cell_15032601:1" -------------
ocnxlBeginTest("test_design1:test_Cell_15032601:1")
simulator( 'spectre )
design( "test_design1" "test_Cell_15032601" "schematic")
modelFile(
'("/home/ww/PDK/model/SMIC130MM/XX_v2p4_spe.scs" "mos_mc")
)
analysis('tran ?stop "300u"?errpreset "conservative")
envOption(
;--------------------------------
不知道到底是什么问题,怎么修改一下。最后能够直接对 netlist进行 仿真
小编,最后解决问题了没?我现在只能在CIW中运行脚本,在ocean中无法运行。