当前位置: 首页 > news >正文

macro出pin

set terms [dbGet [dbGet top.insts.cell.name JLFLS064K09DG -p2].pgInstTerms.name VPP -v -p1]
set n 0
foreach term $terms {set inst [dbGet $term.inst]set lrects [dbGet $term.term.pins.layerShapeShapes.shapes.rect]set net [lindex [dbGet $term.net.name] 0]set layer1 [dbGet $term.term.layer.name]set layer [dbGet $term.term.pins.layerShapeShapes.layer.name]lappend pins_info [list $layer $lrects]set i 0foreach lrect [lindex [lindex $pins_info $n] 1] {set grect [dbTransform -inst $inst -localPt $lrect]set curr_layer [lindex [lindex [lindex $pins_info $n] 0] $i]set ip_llx [dbGet $inst.box_llx]set ip_lly [dbGet $inst.box_lly]set ip_urx [dbGet $inst.box_urx]set ip_ury [dbGet $inst.box_ury]set term_llx [lindex $grect 0]set term_lly [lindex $grect 1]set term_urx [lindex $grect 2]set term_ury [lindex $grect 3]if {[expr $term_lly == $ip_lly]} {set term_rect [dbShape [dbShape $grect SIZEY 8] MOVE {0 -8}]add_shape -layer $curr_layer -net $net -rect $term_rect -shape STRIPE -user_class IP_PoG_STRIPE -status FIXEDset term_rect1 [dbShape [dbShape $grect SIZEY 50] MOVE {0 -55}]add_shape -layer $layer1 -net $net -rect $term_rect1 -shape STRIPE -user_class IP_PoG_STRIPE -status FIXED} elseif {[expr $term_ury == $ip_ury]} {set term_rect [dbShape [dbShape $grect SIZEY 8] MOVE {0 8}]add_shape -layer $curr_layer -net $net -rect $term_rect -shape STRIPE -user_class IP_PoG_STRIPE -status FIXEDset term_rect1 [dbShape [dbShape $grect SIZEY 50] MOVE {0 55}]add_shape -layer $layer1 -net $net -rect $term_rect1 -shape STRIPE -user_class IP_PoG_STRIPE -status FIXED} elseif {[expr $term_llx == $ip_llx]} {set term_rect [dbShape [dbShape $grect SIZEX 8] MOVE {-8 0}]add_shape -layer $curr_layer -net $net -rect $term_rect -shape STRIPE -user_class IP_PoG_STRIPE -status FIXEDset term_rect1 [dbShape [dbShape $grect SIZEX 50] MOVE {-55 0}]add_shape -layer $layer1 -net $net -rect $term_rect1 -shape STRIPE -user_class IP_PoG_STRIPE -status FIXED} elseif {[expr $term_urx == $ip_urx]} {set term_rect [dbShape [dbShape $grect SIZEX 8] MOVE {8 0}]add_shape -layer $curr_layer -net $net -rect $term_rect -shape STRIPE -user_class IP_PoG_STRIPE -status FIXEDset term_rect1 [dbShape [dbShape $grect SIZEX 50] MOVE {55 0}]add_shape -layer $layer1 -net $net -rect $term_rect1 -shape STRIPE -user_class IP_PoG_STRIPE -status FIXED}incr i}incr n
}
http://icebutterfly214.com/news/201/

相关文章:

  • DP1312多协议高性能读卡芯片支持A/B/Felaca/18092智能门锁读卡器模拟卡兼容PN512 - 动能世纪
  • 2025年10月兰花油品牌推荐榜单:多维度深度对比与选择指南
  • 2025 年1KV 冷缩硅橡胶电缆附件,冷热缩电缆附件,绕包电缆附件,熔接电缆附件厂家最新推荐,产能、专利、环保三维数据透视
  • 低代码开发便捷的技术深度解析
  • 2025年浅拾兰花双萃致臻精华油:从成分与科技维度解析其护肤功效
  • 销售公司绩效考核全攻略:维度、原则与数字化赋能方案
  • 题解:P4434 [COCI 2017/2018 #2] ​​Usmjeri
  • 小程序-跳转到公众号
  • 如何解决一堆向量的问题?10、Self-attention - -一叶知秋
  • 洞悉过往,一目了然:浅述视频融合平台EasyCVR如何实现海量视频录像的智能检索与高效回看
  • 2025年国内外五款AI编程工具深入对比与推荐排行
  • CSPS 前后的话
  • 2025 年 10 月云仓 ERP,云仓 saas 系统,云仓代发系统公司最新推荐,技术实力与市场口碑深度解析
  • iOS混淆实战用多工具组合把IPA加固做成可复用的工程能力(iOS混淆 IPA加固 无源码混淆
  • cyclonessd ROS2 lidar topic 数据丢帧 系统配置
  • 2025 年 10 月 WMS 系统,WMS 软件,wms 仓储管理系统公司最新推荐,聚焦资质、案例、售后的优质机构深度解读
  • Go语言测试全攻略:从单元测试到模糊测试
  • 2025 年 10 月进销存 erp,供应链 erp,零售 ERP 公司最新推荐,聚焦资质、案例、售后的五家机构深度解读!