set Cell [dbget [dbget top.insts.pStatus fixed -p].name]
set j 1
foreach i $Cell {
set llx [dbget [dbget top.insts.name $i -p].pHaloBox_llx]
set new_llx [expr $llx -5]
set lly [dbget [dbget top.insts.name $i -p].pHaloBox_lly]
set new_lly [expr $lly -5]
set urx [dbget [dbget top.insts.name $i -p].pHaloBox_urx]
set new_urx [expr $urx +5]
set ury [dbget [dbget top.insts.name $i -p].pHaloBox_ury]
set new_ury [expr $ury +5]
createPlaceBlockage -box $new_llx $new_lly $new_urx $new_ury -type hard -name $j
incr j
}
本文介绍了一种使用脚本语言创建布局障碍的自动化方法。通过遍历实例并调整边界框参数,实现对每个实例周围创建固定大小的硬障碍。此过程涉及读取实例属性、计算新边界坐标和创建放置障碍。
1725

被折叠的 条评论
为什么被折叠?



