微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 微电子和IC设计 > IC后端设计交流 > 删除指定区域中的cell的脚本

删除指定区域中的cell的脚本

时间:10-02 整理:3721RD 点击:
脚本很简单如下:
foreach_in_collection iell [get_cells -intersect {{231.952 535.040} {239.552 540.056}}] {
remove_cell$iell
}
Iterationforcollection%swasterminated
because the collection was modified or deleted.
Commands in the body of a foreach_in_collection can affect
the collection which is currently in
iteration.Some commands can cause objects to
be removed from the collection, and others can cause the collection
to be deleted.When such events occur,
the iterator is modified and in some cases will terminate.This
message advises you of that event.
For example:
foreach_in_collection itr [get_cells *] {
remove_design [current_design] }
would cause the collection of cells to be deleted,andtheiteration
would be terminated.

改用list呗

把具体cell list打出来,
然后统一删除

我最近也觉得icc里的这个intersect,touching,within相当不好用,特别是那个-at参数,

collection 如果在变动的话,肯定没法loop 使用啊, 必须先得到一个固定的值

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top