51Testing软件测试论坛

标题: Cadence用ocean脚本导出仿真数据出错 [打印本页]

作者: 测试积点老人    时间: 2021-10-20 09:34
标题: Cadence用ocean脚本导出仿真数据出错
运行CMP_offset.ocn脚本出错CMP_offset.ocn内容如下:
  1. ;; open the simulation result in "Dir"
  2. openResults("/home/vikinglan/pll_tsmc013/simulation/Rvco_v1/spectre/schematic-save/psf")
  3. ;; point out which result to process
  4. selectResult('tran)
  5. ;; export result to a txt file
  6. ocnPrint(?output "./comp.txt" ?precision 2 ?numberNotation 'none ?from 40n ?to 32.04u ?step 0.2u v("/OUTP"))
  7. 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
[attach]134862[/attach]


作者: qqq911    时间: 2021-10-21 10:52
检查下脚本内容吧
作者: 海海豚    时间: 2021-10-21 10:59
http://bbs.eetop.cn/thread-467912-1-1.html  参考下这个吧




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2