在线咨询 切换到宽版
eetop公众号 创芯大讲堂 创芯人才网

 找回密码
 注册

手机号码,快捷登录

手机号码,快捷登录

搜帖子
查看: 9812|回复: 16

[求助] 如何运行ocean脚本

[复制链接]
发表于 2013-12-2 10:15:57 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

×
写了一个ocean的脚本ocnPrint.ocn
ocnPrint(getData("V1" ?result 'tran ?resultsDir "$PATH/spectre/schematic/psf") ?output "$PATH/V1.txt" ?from 1u ?to 5m ?step 500n ?)
其中PATH为我的具体路径

在terminal 中运行 ocean < ocnPrint.ocn

报了如下错误
*Error* (Default-reader-method) generic:famGetUserPath class:list

求助
 楼主| 发表于 2013-12-29 21:17:35 | 显示全部楼层
回复 1# abonic
自己顶一个
回复 支持 反对

使用道具 举报

发表于 2014-1-2 12:58:05 | 显示全部楼层
ocean 进入界面。然后:
load "ocnPrint.ocn"回车
回复 支持 反对

使用道具 举报

 楼主| 发表于 2014-1-5 10:13:21 | 显示全部楼层
回复 3# pyle
还是有问题啊,我的具体步骤如下:
Step1:在terminal中 键入 "ocean&"
Step2:键入 load "ocnPrint.ocn"
ocean就直接退出了
如截图所示

运行ocean脚本问题

运行ocean脚本问题

这个问题怎么解决呢
回复 支持 反对

使用道具 举报

 楼主| 发表于 2014-1-11 10:12:25 | 显示全部楼层
回复 4# abonic

以上错误,MS bash中不能用load,用什么命令运行呢?
回复 支持 反对

使用道具 举报

发表于 2014-1-13 16:10:27 | 显示全部楼层
那就用 tsch呗
回复 支持 反对

使用道具 举报

发表于 2014-1-14 09:42:16 | 显示全部楼层
lz可以参考一下附件 坛子里也有

Ocean GIT.pdf

243.93 KB, 下载次数: 612 , 下载积分: 资产 -2 信元, 下载支出 2 信元

ocean by GIT

回复 支持 反对

使用道具 举报

 楼主| 发表于 2014-1-14 14:26:32 | 显示全部楼层
回复 7# lvxp
终于有正解了,非常好用,谢谢哈
回复 支持 反对

使用道具 举报

 楼主| 发表于 2014-1-17 12:57:07 | 显示全部楼层
回复 1# abonic
又找到一个解决问题的方法:

just had a look on sourcelink.
there's a solution on this issue (#11110574)
here's what it says:

This occurs only in the case when a simulation has not been run before using
ocnPrint. This
is because ocnPrint requires that the path to resultDir should be set. The
path to resultDir
is set by default if the simulation is run, or this can be set using
openResults function.

To overcome this problem use the openResults function to set the path to a
valid PSF directory

http://www.edaboard.co.uk/error-within-ocean-script-t328361.html
回复 支持 反对

使用道具 举报

发表于 2014-2-21 13:28:30 | 显示全部楼层
good quastion
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐 上一条 /1 下一条

X

手机版| 小黑屋| 关于我们| 联系我们| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2025-9-12 19:57 , Processed in 0.024480 second(s), 7 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
快速回复 返回顶部 返回列表