微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 微电子和IC设计 > IC验证交流 > 求教ocean脚本仿真问题

求教ocean脚本仿真问题

时间:10-02 整理:3721RD 点击:
本人写了修改完成了一个工艺角循环仿真脚本,但是遇到了两个问题,部分脚本如下:

ocnWaveformTool( 'wavescan )

simulator( 'spectre )

design(
"/home/wzz/simulation/RAF_corner_1M/netlist")

resultsDir( sctrcat("/home/wzz/simulation/RAF_corner_1M/" cornersim))

cor=list("tt" "ss" "ff")

foreach(cornersim cor

modelFile(


list("/tools/tsmc18rf_1p6m_1ff_40k/tsmc18rf/../models/spectre/rf018.scs" sprintf(nil,"dio3",cornersim))


list("/tools/tsmc18rf_1p6m_1ff_40k/tsmc18rf/../models/spectre/rf018.scs" sprintf(nil,"dio_dnw",cornersim))

)

analysis('ac ?start "0.1"
?stop "1G"
)

analysis('tran ?stop "10n"
?errpreset "conservative"
)

analysis('dc ?saveOppoint t
)

saveOption( 'save "selected" )

save( 'v "/I0/I2/net089" "/I0/I2/net061" "/I0/I2/net158" "/I0/I2/net163" "/RXRAF_OUTN" "/RXRAF_OUTP" "/I0/I2/net0124" "/I0/I2/net074" "/I0/I1/I0/net068")

temp( 125 )

run()

遇到的问题:

1仿真报错:unbound variable- cornersim;如果将

resultsDir( sctrcat("/home/wzz/simulation/RAF_corner_1M/" cornersim))改为

resultsDir( "/home/wzz/simulation/RAF_corner_1M" )结果别覆盖,如何解决?

2所有节点被保存,

saveOption( 'save "selected" )并没有起作用,如何达到选择性保存?

学习中!

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top