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

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

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
查看: 21998|回复: 19

用formality验证失败,怎样debug!!!

[复制链接]
发表于 2009-3-25 10:31:51 | 显示全部楼层 |阅读模式

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

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

x
    用formalityverilog网表dc_top.vDC综合出来的门级网表dc_top.vg。用report_failing_points 报出所有匹配失败的点,其结果如下:


20 Failing compare points
( 20 matched , 0 unmatched )

Ref
DFF
r:/WORK/dc_top/sys_top/conmax_top/m3/wb_ack_o_reg

Impl DFF
i:/WORK/dc_top/sys_top/conmax_top/m3/wb_ack_o_reg


Ref
DFF
r:/ WORK/dc_top/sys_top/conmax_top/m3/wb_date_o_reg[0]

Impl DFF
r:/ WORK/dc_top/sys_top/conmax_top/m3/wb_date_o_reg_0_


Ref
DFF
r:/ WORK/dc_top/sys_top/conmax_top/m3/wb_date_o_reg[10]

Impl DFF
r:/ WORK/dc_top/sys_top/conmax_top/m3/wb_date_o_reg_10_


Ref
DFF
r:/ WORK/dc_top/sys_top/conmax_top/m3/wb_date_o_reg[11]

Impl DFF
r:/ WORK/dc_top/sys_top/conmax_top/m3/wb_date_o_reg_11_


Ref
DFF
r:/ WORK/dc_top/sys_top/conmax_top/m3/wb_date_o_reg[12]

Impl DFF
r:/ WORK/dc_top/sys_top/conmax_top/m3/wb_date_o_reg_12_


Ref
DFF
r:/ WORK/dc_top/sys_top/conmax_top/m3/wb_date_o_reg[13]

Impl DFF
r:/ WORK/dc_top/sys_top/conmax_top/m3/wb_date_o_reg_13_


Ref
DFF
r:/ WORK/dc_top/sys_top/conmax_top/m3/wb_date_o_reg[14]

Impl DFF
r:/ WORK/dc_top/sys_top/conmax_top/m3/wb_date_o_reg_14_


Ref
DFF
r:/ WORK/dc_top/sys_top/conmax_top/m3/wb_date_o_reg[15]

Impl DFF
r:/ WORK/dc_top/sys_top/conmax_top/m3/wb_date_o_reg_15_


Ref
DFF
r:/ WORK/dc_top/sys_top/conmax_top/m3/wb_date_o_reg[16]

Impl DFF
r:/ WORK/dc_top/sys_top/conmax_top/m3/wb_date_o_reg_16_


Ref
DFF
r:/ WORK/dc_top/sys_top/conmax_top/m3/wb_date_o_reg[17]

Impl DFF
r:/ WORK/dc_top/sys_top/conmax_top/m3/wb_date_o_reg_17_


Ref
DFF
r:/ WORK/dc_top/sys_top/conmax_top/m3/wb_date_o_reg[18]

Impl DFF
r:/ WORK/dc_top/sys_top/conmax_top/m3/wb_date_o_reg_18_


Ref
DFF
r:/ WORK/dc_top/sys_top/conmax_top/m3/wb_date_o_reg[19]

Impl DFF
r:/ WORK/dc_top/sys_top/conmax_top/m3/wb_date_o_reg_19_


Ref
DFF
r:/ WORK/dc_top/sys_top/conmax_top/m3/wb_date_o_reg[1]

Impl DFF
r:/ WORK/dc_top/sys_top/conmax_top/m3/wb_date_o_reg_1_


Ref
DFF
r:/ WORK/dc_top/sys_top/conmax_top/m3/wb_date_o_reg[20]

Impl DFF
r:/ WORK/dc_top/sys_top/conmax_top/m3/wb_date_o_reg_20_


Ref
DFF
r:/ WORK/dc_top/sys_top/conmax_top/m3/wb_date_o_reg[21]

Impl DFF
r:/ WORK/dc_top/sys_top/conmax_top/m3/wb_date_o_reg_21_


Ref
DFF
r:/ WORK/dc_top/sys_top/conmax_top/m3/wb_date_o_reg[22]

Impl DFF
r:/ WORK/dc_top/sys_top/conmax_top/m3/wb_date_o_reg_22_


Ref
DFF
r:/ WORK/dc_top/sys_top/conmax_top/m3/wb_date_o_reg[23]

Impl DFF
r:/ WORK/dc_top/sys_top/conmax_top/m3/wb_date_o_reg_23_


Ref
DFF
r:/ WORK/dc_top/sys_top/conmax_top/m3/wb_date_o_reg[24]

Impl DFF
r:/ WORK/dc_top/sys_top/conmax_top/m3/wb_date_o_reg_24_


Ref
DFF
r:/ WORK/dc_top/sys_top/conmax_top/m3/wb_date_o_reg[25]

Impl DFF
r:/ WORK/dc_top/sys_top/conmax_top/m3/wb_date_o_reg_25_


Ref
DFF
r:/ WORK/dc_top/sys_top/conmax_top/m3/wb_date_o_reg[26]

Impl DFF
r:/ WORK/dc_top/sys_top/conmax_top/m3/wb_date_o_reg_26_


   我想知道,既然有20DFFmatched,没有 unmatched 的地方,为什么还要报Failing compare ???
       我用start_gui 到图形界面,用命令
diagnose
report_error_candidates 进行诊断,查看其view logic cone ,发现wb_ack_o_reg寄存器的数据端(D)在RefImpl中的值不一样,在Ref0,在Impl中为1
请问我该怎么debug,是修改门级网表dc_top.vg??还是让前端工程师修改verilog网表dc_top.v,但是我不知道是什么原因让DC综合的时候产生这样的错误???我该如何在综合脚本里设置避免产生这种不匹配的错误呢???
发表于 2010-7-9 00:17:18 | 显示全部楼层
往前一级级的debug,直到找到问题在哪里为止。。
发表于 2010-7-9 22:25:40 | 显示全部楼层
好像学学formality啊,是不是代码增加新功能后可以用formality来验证其他功能是否受影响
发表于 2010-7-15 14:55:30 | 显示全部楼层
综合一般不会出问题了,如果有的话,可能是三态总线出了问题,特别是存储器的输出端
发表于 2010-7-16 10:03:02 | 显示全部楼层
20 FF matched这里是指ref和Imp设计中有20个FF对应上了(mapped),不是equivalent,一般来说综合出来的设计,没有插入DFT相关的东西是不会产生mismatch的,大都是你的setup有问题。不要随随便便去改dc_top.v, 有时候是因为register retiming还有phase inversion使得FF输入端是反向的,同时输出端也是反向的,这个在设计角度本身不是问题,所以你要可以设置允许register retiming, 其他的很多date_reg是不是有可能clk出问题了?怎么一个bus都出错了。楼上说的三态门也是一个考虑因素,你检查一下。另外,你看看你的matching Results summary table,看看是不是有unmatched points. 你最好把DC综合的DC shell还有Formality shell给我们看一下,当然dc_top.v你要是方便的话也可以给我们看一下。
发表于 2010-7-26 17:43:12 | 显示全部楼层
请问lz解决了么? 我正好也碰到了这个错误了。。。
想请教解决方法
发表于 2012-2-15 20:05:14 | 显示全部楼层
回复 5# yohuang


    你好,看到你的解答感到你是fomality方面的高手,我也遇到楼主类似的问题,但是问题比他还多,有很多unmatched和很多failing的,有好几百,基本都是寄存器和存储器的,都是failing的点的值不一样,我把他们强制置为相等,可是又出现的别的问题,你能不能给我留个联系方式啊,我很急,真的非常感谢,我的邮箱xujinnainhit2007@126.com,请你帮帮我,我都纠结好几天了
发表于 2012-2-16 12:34:32 | 显示全部楼层
有没有高手知道这个问题呢,我现在也遇到了这个问题,r中的寄存器为0值,i中的寄存器为1值。而r中的存储器的端口值如d什么的为1,而i中的却为0,到底是为什么呢?
发表于 2012-2-16 18:24:20 | 显示全部楼层
i want to know```
发表于 2014-1-16 15:34:02 | 显示全部楼层
遇到相同的问题了,输入时1,经过latch输出就变成0了~~
还有formality check遇见unmatch中类型为DFF0X,这是什么意思?感觉好像还导致verify失败
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

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

GMT+8, 2024-6-26 07:52 , Processed in 0.131227 second(s), 8 queries , Gzip On, Redis On.

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