当前位置: 首页 > 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://www.gsyq.cn/news/31899.html

相关文章:

  • 2025 年定制矿车,大型矿车,固定式矿车厂家最新推荐,产能、专利、环保三维数据透视
  • 2025 年 10 月翻斗式矿车,侧翻矿车,1 吨矿车,运输矿车厂家最新推荐,产能、专利、环保三维数据透视
  • 2025 年江苏电缆附件,热缩电缆附件,冷缩电缆附件,预制电缆附件厂家最新推荐,产能、专利、环保三维数据透视
  • 9 GHz 巴伦做到 22 mm,HT-BAL-0006SMG 简单上机测一波
  • 低代码开发便捷的技术深度解析
  • 2025年打篮球隐形眼镜生产商权威推荐榜单:周抛隐形眼镜/rgp隐形眼镜/硬性隐形眼镜源头厂家精选
  • 2025年浅拾兰花双萃致臻精华油:从成分与技术维度深度解析其护肤功效
  • DGX Spark(Ubuntu24.04)下编译安装OpenCV
  • 2025年移动车载变电站厂家最新推荐榜:陕西四方华能凭硬实力成优选
  • 2025年最新可靠的钣金加工厂家找哪家,知名的钣金加工口碑推荐榜睿意达专注产品质量
  • Visual Studio Code使用Python 3.6.8
  • vscode 添加代码片段中的预置变量总结
  • 251027
  • 2025年10月重庆装饰装修公司推荐排行榜:十大企业综合评测与选购指南
  • 未来工业AI发展的三个必然阶段
  • 大数据分析基础及应用案例:第五周学习报告——逻辑回归、决策树
  • 模拟赛 R19
  • AOP面向切面编程思想
  • 2025 年分销供应链系统、供应链系统软件、供应链系统 SaaS 公司最新推荐,技术实力与市场口碑深度解析!
  • 洞悉过往,一目了然:浅述视频融合平台EasyCVR如何实现海量视频录像的智能检索与高效回看
  • 10月第二篇
  • 2025年AI IDE的深入对比与推荐排行:从好用到生成效果的转变
  • 27Java基础之多线程
  • ASP.NET MVC 使用 Web.config 限制可访问的Controller
  • 20232411 2025-2026-1 《网络与系统攻防技术》实验三实验报告
  • 构建强化版 Squoosh:基于 libimagequant-wasm 的高性能本地图片压缩方案
  • 合合信息与上海交通大学开展课题合作研究,共探智能文档图像处理前沿技术
  • 2025 年 10 月进销存管理系统,进销存软件,进销存管理软件公司最新推荐,技术实力与市场口碑深度解析!
  • 联想云平台与机房
  • cyclonessd ROS2 lidar topic 数据丢帧 系统配置