File tree Expand file tree Collapse file tree 3 files changed +17
-16
lines changed
platforms/asap7/openRoad/pdn Expand file tree Collapse file tree 3 files changed +17
-16
lines changed Original file line number Diff line number Diff line change 11# Top level PDN for macros using BLOCK_grid_strategy.tcl
2+ source $::env(SCRIPTS_DIR) /util.tcl
23
34# ###################################
45# global connections
Original file line number Diff line number Diff line change 1- proc find_macros {} {
2- set macros " "
3-
4- set db [ord::get_db]
5- set block [[$db getChip] getBlock]
6- foreach inst [$block getInsts] {
7- set inst_master [$inst getMaster]
8-
9- # BLOCK means MACRO cells
10- if { [string match [$inst_master getType] " BLOCK" ] } {
11- append macros " " $inst
12- }
13- }
14- return $macros
15- }
16-
171if {[find_macros] != " " } {
182# If wrappers defined replace macros with their wrapped version
193# # ----------------------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -83,3 +83,19 @@ proc append_env_var {list_name var_name prefix has_arg} {
8383 }
8484 }
8585}
86+
87+ proc find_macros {} {
88+ set macros " "
89+
90+ set db [ord::get_db]
91+ set block [[$db getChip] getBlock]
92+ foreach inst [$block getInsts] {
93+ set inst_master [$inst getMaster]
94+
95+ # BLOCK means MACRO cells
96+ if { [string match [$inst_master getType] " BLOCK" ] } {
97+ append macros " " $inst
98+ }
99+ }
100+ return $macros
101+ }
You can’t perform that action at this time.
0 commit comments