测试积点老人 发表于 2021-10-20 09:34:13

Cadence用ocean脚本导出仿真数据出错

运行CMP_offset.ocn脚本出错CMP_offset.ocn内容如下:
;; open the simulation result in "Dir"
openResults("/home/vikinglan/pll_tsmc013/simulation/Rvco_v1/spectre/schematic-save/psf")
;; point out which result to process
selectResult('tran)
;; export result to a txt file
ocnPrint(?output "./comp.txt" ?precision 2 ?numberNotation 'none ?from 40n ?to 32.04u ?step 0.2u v("/OUTP"))
exit()
出现下面错误,应该如何解决?SYNTAX ERROR found at line 3 column 17 of file CMP_offset.ocnError lineread/read: syntax error encountered in input
Error load: error while loading file - "CMP_offset.ocn" at line 3
load( "CMP_offset.ocn" )
Error fprintf/sprintf: format spec. incompatible with data - "Format is ‘%-14.2g ', argument #1 is 1"
Error load: error while loading file - "CMP_offset.ocn" at line 3


qqq911 发表于 2021-10-21 10:52:46

检查下脚本内容吧

海海豚 发表于 2021-10-21 10:59:50

http://bbs.eetop.cn/thread-467912-1-1.html参考下这个吧
页: [1]
查看完整版本: Cadence用ocean脚本导出仿真数据出错