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

 找回密码
 注册

手机号码,快捷登录

手机号码,快捷登录

搜全文
查看: 5011|回复: 6

[求助] NCSIM中如何显示波形中的glitch

[复制链接]
发表于 2020-7-9 15:45:33 | 显示全部楼层 |阅读模式

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

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

×
如题,使用ncsim仿真产生shm波形,verilog代码中有一段产生reset的逻辑,然后这个逻辑又会被自身的这个复位信号给复位掉。波形上看不出来
请问有没有什么指令能够在波形上显示出这个glitch

我dumpfsdb波形,然后加+fsdb+glitch=0可以在波形上显示出有个glitch


发表于 2020-7-9 18:47:28 | 显示全部楼层
You can dump event based waveforms. This will help in catching any glitches that might be generated from within the design.

To dump the delta events you need to use the following TCL commands:

ncsim> database -open waves -shm -default -event
ncsim> probe -create -shm -all -depth all

You can issue the above commands at the ncsim TCL console BEFORE running the simulation/sending signals to waveform window or you can put them in a file called input.tcl and provide this file to irun/ncverilog with -input option.

> irun -input input.tcl <other options>

To expand the time sequence:

    Go to the "Simvision Waveform WIndow"
    Go to "View" menu
    Go to "Expand Sequence Time"
    Go to "All Time"
回复 支持 1 反对 0

使用道具 举报

 楼主| 发表于 2020-7-9 19:22:56 | 显示全部楼层


   
A1985 发表于 2020-7-9 18:47
You can dump event based waveforms. This will help in catching any glitches that might be generated  ...


ADD -EVENT in probe.tcl ,it  worked ,TKS

回复 支持 反对

使用道具 举报

发表于 2020-11-21 18:19:26 | 显示全部楼层
verilog code 在可疑的地方加入 event 指令. 多少可以幫助.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2020-11-23 18:24:25 | 显示全部楼层


   
thjan65 发表于 2020-11-21 18:19
verilog code 在可疑的地方加入 event 指令. 多少可以幫助.


类似与->event, 然后触发一个打印,帮助debug?

回复 支持 反对

使用道具 举报

发表于 2020-11-25 20:54:09 | 显示全部楼层
回复 支持 反对

使用道具 举报

 楼主| 发表于 2020-11-26 09:42:38 | 显示全部楼层


   
thjan65 发表于 2020-11-25 20:54
參考這裡
https://www.asic-world.com/systemverilog/sema_mail_events3.html


好的,谢谢
回复 支持 反对

使用道具 举报

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

本版积分规则

关闭

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


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

GMT+8, 2025-9-18 04:32 , Processed in 0.014754 second(s), 3 queries , Gzip On, Redis On.

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