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

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

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

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

[求助] ICC中如何判断std cell放置在die area外面

[复制链接]
发表于 2014-1-6 09:46:03 | 显示全部楼层 |阅读模式

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

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

x
RT,在ICC中写个tcl脚本,判断std cell是不是在die area外面,如何实现?大牛显灵~~~~
 楼主| 发表于 2014-1-6 16:03:31 | 显示全部楼层
ICC大牛有写过该脚本的出来share一下算法~~~
发表于 2014-1-7 09:13:16 | 显示全部楼层
check_legality不行么?
 楼主| 发表于 2014-1-7 09:32:45 | 显示全部楼层
回复 3# yahemao123


    check_legality生成一个report,没法实现,而且这个命令不check是否在die area外面的...
发表于 2014-1-7 10:59:34 | 显示全部楼层
小菜一样可以帮你实现:
foreach_in_collection c [get_flat_cells *] {
        set die_llx [lindex [lindex [get_attribute [get_die_area] bbox] 0] 0]
        set die_lly [lindex [lindex [get_attribute [get_die_area] bbox] 0] 1]
        set die_urx [lindex [lindex [get_attribute [get_die_area] bbox] 1] 0]
        set die_ury [lindex [lindex [get_attribute [get_die_area] bbox] 1] 1]

        set cel_llx [get_attribute $c bbox_llx]
        set cel_lly [get_attribute $c bbox_lly]
        set cel_urx [get_attribute $c bbox_urx]
        set cel_ury [get_attribute $c bbox_ury]

        if {$cel_llx < $die_llx || $cel_lly < $die_lly || $cel_urx > $die_urx || $cel_ury > $die_ury} {
                puts [get_attribute $c full_name]
        }
}
发表于 2014-1-7 14:54:20 | 显示全部楼层
Information: cell pericore/mp200/da8/dacreg0/daoe0_r_reg (-1823040 -67680) is out of core area.
这是我摆外边一个然后check的结果
 楼主| 发表于 2014-1-7 15:07:34 | 显示全部楼层
回复 6# yahemao123


    袄,谢谢,看来check legality能check啊,但是怎么加到脚本里面去,如果check到在die area 外面,即把cell在replace到core area中呢,一直没有想出特别好的办法~~~
发表于 2014-1-7 17:10:21 | 显示全部楼层
legalize_placement
 楼主| 发表于 2014-1-7 19:47:50 | 显示全部楼层
回复 8# yahemao123


    不行的,你说的这两个命令都是可以实现相应的功能,但是我是具体到操作每一个std cell,每个std cell摆放的位置也是要我来设定的,因此写tcl脚本的话还不太可以,不过谢谢你啊~~~
 楼主| 发表于 2014-1-8 09:16:29 | 显示全部楼层
顶~~~~~~
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

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

GMT+8, 2025-7-6 23:30 , Processed in 0.025016 second(s), 9 queries , Gzip On, MemCached On.

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