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

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

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
查看: 3856|回复: 6

[求助] 写脚本查找电路中特定nets【补充新问题】 (在IC Compiler中利用tcl)

[复制链接]
发表于 2014-11-14 04:20:59 | 显示全部楼层 |阅读模式

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

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

x
本帖最后由 bs62 于 2014-11-15 18:02 编辑

已经利用Synopsys IC Compiler打开了电路,要数出只有1个输入端的cell,如何写tcl脚本?【已解决】

在shell里的命令有get_cells, get_ports,  -filter, 等等

【新问题】:
The names of the nets with more than 3 connections

直接把作业贴上来吧:

[td]The number of cells that are not connected to the port ?
[td]The list of nets pushed by cell-type an02d1
?
[/td]

[/td]
具体怎么写我也会思考。。。
发表于 2014-11-14 09:55:48 | 显示全部楼层
发表于 2014-11-14 10:01:19 | 显示全部楼层
get_flat_cells -all -filter "number_of_pins ==1 "
发表于 2014-11-14 14:06:45 | 显示全部楼层
是只有一个输入还是 有一个输入和输出啊?
 楼主| 发表于 2014-11-15 17:50:09 | 显示全部楼层
回复 3# icfbicfb

谢谢 新技能Get!


我想了下可以从ref_name入手, 因为所有cell的refname都是 an0Xd0 或者 or0XdX的格式。。。 X就是有几个端口
foreach_in_collection c [get_cells ] {
if [regexp 02|03|04|05 [ get_attribute [get_cells $c] ref_name ] ] {
incr i     #count all the cells with more than one input
}
}
 楼主| 发表于 2014-11-15 22:36:19 | 显示全部楼层
回复 4# ljjbunny

测试可行哈哈:
   sizeof_collection [ get_cells -filter "number_of_pins > 2 "]
发表于 2016-10-30 18:31:29 | 显示全部楼层
thanks
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

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

GMT+8, 2025-2-23 19:00 , Processed in 0.023591 second(s), 9 queries , Gzip On, Redis On.

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