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

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

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
查看: 2824|回复: 8

[求助] warning of get_attr

[复制链接]
发表于 2013-1-18 18:55:37 | 显示全部楼层 |阅读模式

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

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

x
各位大俠,兄弟在分別用report_net and get_attribute時遇到以下warning:
用report_nets顯示clkgen/n440是dont_touch的,但get_attr確顯示一個warning,不知是為何?

Attributes:
    d - dont_touch
Net                 Fanout     Fanin      Load   Resistance    Pins   Attributes
--------------------------------------------------------------------------------
clkgen/n440          2         1      0.02         0.00       3   d
--------------------------------------------------------------------------------
Total 1 nets             2         1      0.02         0.00       3
Maximum                  2         1      0.02         0.00       3
Average               2.00      1.00      0.02         0.00    3.00
1
dc_shell> get_attribute [get_nets clkgen/n440] dont_touch
Warning: Attribute 'dont_touch' does not exist on net 'clkgen/n440'. (UID-101)
发表于 2013-1-19 08:33:23 | 显示全部楼层
get_attribute [get_nets clkgen/n440] dont_touch_reasons 需要这样写吧
 楼主| 发表于 2013-1-19 09:08:26 | 显示全部楼层
回复 2# xjg@hmes


    多謝,不過
Warning: Attribute 'dont_touch_reason' does not exist on net 'clkgen_dig/n440'. (UID-101)
而且我在幫助文件中并沒有找到這個attr的說明,不知道是什么意思
发表于 2013-1-19 10:21:02 | 显示全部楼层
回复 3# yangics


   dont_touch_reasons 不是dont_touch_reason
list_att -app -class net看看net的属性都有哪些
 楼主| 发表于 2013-1-19 14:22:44 | 显示全部楼层
回复 4# xjg@hmes

list_attr.......

def_weight                                   net        integer    a
distributed_capacitance_base                 net        float      a
distributed_capacitance_delta                net        float      a
dont_touch                                   net        boolean    a
dont_touch_reason                            net        string     u
dont_touch_reason                            net        string     a
dw_oi_ctrl                                   net        boolean    a
eco_merge                                    net        string     a
eco_steer                                    net        string     a

dc_shell> get_attribute [get_nets clkgen_dig/n440] dont_touch_reasons
Warning: Attribute 'dont_touch_reasons' does not exist on net 'clkgen_dig/n440'. (UID-101)

似乎并沒有“s”,即使加上s,結果依然
发表于 2013-1-19 21:51:15 | 显示全部楼层
那就是没有dont touch属性啊,以get_attr为准,

report_net的属性 从没看过,
 楼主| 发表于 2013-1-20 08:46:00 | 显示全部楼层
回复 6# icfbicfb


    那就是說,report_net中報出來的信息不準?這似乎....
发表于 2013-1-21 14:15:13 | 显示全部楼层
这个问题我也遇到过。
似乎report_net结果是准的,因为优化时确实是当作dont_touch处理了。但是我并没有这条设置,get_attribute 也不能报出来。
楼主可以看看dont_touch是否起作用了?
 楼主| 发表于 2013-1-21 18:27:49 | 显示全部楼层
回复 8# chrisyl


    問題是我就是想看看dont touch是否被正確的set,但兩個結果卻不同,還有什么別的方法可以確定是否是dont touch嗎
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

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

GMT+8, 2024-4-27 17:12 , Processed in 0.030806 second(s), 8 queries , Gzip On, Redis On.

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