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

EETOP 创芯网论坛 (原名:电子顶级开发网)

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
查看: 4940|回复: 2

[求助] ucli -i dump.do (dump fsdb)

[复制链接]
发表于 2017-1-11 14:04:48 | 显示全部楼层 |阅读模式

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

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

x

向各位路过的大神请教一个问。
我想通过

ucli_dump.dodump一段100ns fsdb

而且是希望module 里面某个信号起来以后在dump fsdb.


我在ucli_dump.do里面这样写的:


call {waitsim_top.xxx_top.req}//想等它起来再dump fsdb
call {$fsdbAutoSwitchDumpfile(500,"xxx_top.fsdb",1)}
call{$fsdbDumpvars(1, sim_top.xxx_top)}
run 100ns
但跑起来报 call(wait sim_top.xxx_top.req) 有错,说wait 不能识别,

请问我要怎么写这个?

 楼主| 发表于 2017-1-11 16:32:16 | 显示全部楼层
问springsoft 大牛得到的答案。

set sp [stop -condition sim_top.xxx_top.req==1'b1]
onbreak {resume}
call {$fsdbAuto...}
stop -disable $sp
run 100ns
quit
 楼主| 发表于 2017-1-11 17:21:39 | 显示全部楼层
run -posedge sim_top.xxx.req
call {$fsdbAutoSwitchDumpfile(500,"xxx_top.fsdb",1)}
call{$fsdbDumpvars(1, sim_top.xxx_top)}
run 100ns
quit
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

×

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

GMT+8, 2024-3-29 16:25 , Processed in 0.016875 second(s), 6 queries , Gzip On, Redis On.

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