找回密码
 注册

手机号码,快捷登录

手机号码,快捷登录

查看: 2537|回复: 5

[求助] modelsim生成vcd文件

[复制链接]
发表于 2018-4-20 10:33:49 | 显示全部楼层 |阅读模式
悬赏100资产未解决
请教下,我用modelsim对电路仿真生成vcd文件的时候,为什么同一个时刻,一个节点会存在多个值?

发表于 2018-4-20 19:13:22 | 显示全部楼层
tiaobian
回复

使用道具 举报

 楼主| 发表于 2018-4-20 19:49:53 | 显示全部楼层
@dcircuit 不是应该一个节点/门在一个时刻对应一个值,为啥在这个瞬间还会跳变啊?
我用的电路是ISCAS85基准电路
回复

使用道具 举报

发表于 2018-4-21 19:34:10 | 显示全部楼层
简单点就是删一行,反读回去看看,是不是成斜波了
回复

使用道具 举报

 楼主| 发表于 2018-4-21 19:40:20 | 显示全部楼层
@student321 我直接在modelsim看wave,好像没有出现这种多次跳变的情况
回复

使用道具 举报

发表于 2018-4-21 21:59:33 | 显示全部楼层
是不是zero time glitch?
modelsim 有办法显示的。
大概意思是t时刻,net is driven by a value, T+0, net is driven by another value.
If you think the RTL code as a program, then you can understand which part executed first, then second. Mostly it is because of race condition.

In default, modelsim just record latest value in VCD, you won't see the 0 time glitch in time t.

If you set one attribute in control file of modelsim (I can't remember, I think you can find it in modelsim userguide), it can help you to record this glitch, you can extend it in that time.
回复

使用道具 举报

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

本版积分规则


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

GMT+8, 2026-1-15 20:35 , Processed in 0.028628 second(s), 5 queries , Gzip On, Redis On.

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表