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

 找回密码
 注册

手机号码,快捷登录

手机号码,快捷登录

搜帖子
查看: 5050|回复: 11

[求助] 如何防止DC将两个连续反向器综合掉

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

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

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

×
偶数个方向器如何防止被综合掉
发表于 2017-3-14 11:24:21 | 显示全部楼层
set_dont_touch
回复 支持 反对

使用道具 举报

 楼主| 发表于 2017-3-14 13:27:58 | 显示全部楼层
回复 2# ljjbunny


   不管用啊,我第一个反相器输出叫a,然后我写成set_dont_touch a,或者set_dont_touch [get_nets a]等类似的都不对,用synthesis keep也不行
回复 支持 反对

使用道具 举报

 楼主| 发表于 2017-3-14 13:28:55 | 显示全部楼层
求大神指点,难道是只有2个反相器,反相器太少一定会被综合掉?
回复 支持 反对

使用道具 举报

发表于 2017-3-14 15:29:06 | 显示全部楼层
回复 3# gx221008


   set_donot_touch [get_cells full_path/instance_name]这么用,对两个inverter都设置set_donot_touch [get_cells inv_A]   set_donot_touch [get_cells inv_B]
回复 支持 反对

使用道具 举报

 楼主| 发表于 2017-3-14 22:13:40 | 显示全部楼层
回复 5# 擦哈尔小济公


    试了一下,但还是把输入输出直接连在一起怎么回事,显示这个Warning: In design 'not_not', input port 'in' is connected directly to output port 'out'.
回复 支持 反对

使用道具 举报

发表于 2017-3-14 23:01:27 | 显示全部楼层
When you set the enable_keep_signal variable to true, the tool preserves nets and issues a warning about the preserved nets during compilation. The tool sets an implicit size_only attribute on the logic connected to the nets to be preserved. To mark a net to be preserved, label the net with the keep_signal_name directive in the RTL and set the hdlin_keep_signal_name variable to user or user_driving. Preserving nets might cause QoR degradation.

要DC里设变量,完了还要在RTL里加注释。详见preug.pdf
回复 支持 反对

使用道具 举报

发表于 2017-3-15 09:12:15 | 显示全部楼层
回复 1# gx221008

首先,你这两个反相器要使用std_cell,其次,使用set_dont_touch命令,set_sont_touch不是设置在port上,而是设置在Instance name上
回复 支持 反对

使用道具 举报

 楼主| 发表于 2017-3-15 09:19:44 | 显示全部楼层
回复 8# kulong168

你的意思是我代码里反相器不写not,写库里反相器名字?
回复 支持 反对

使用道具 举报

发表于 2017-3-15 09:41:30 | 显示全部楼层
回复 9# gx221008

直接instance反相器,例如INVD1HVT u_inv1 (.I (in1), .ZN(out1));
                                     INVD1HVT u_inv2 (.I (out1), .ZN(out2);

然后在逻辑综合是set_dont_touch [get_cells {u_inv1 u_inv2}]
注意这里的u_inv1和u_inv2要写full path
回复 支持 反对

使用道具 举报

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

本版积分规则

关闭

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

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

GMT+8, 2025-8-23 00:23 , Processed in 0.017042 second(s), 3 queries , Gzip On, Redis On.

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