求教ocean脚本仿真问题
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" )并没有起作用,如何达到选择性保存?
学习中!