From a03bc26365be4801324e2937e8bc59c1d4597375 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Harboe?= Date: Mon, 5 Oct 2026 23:01:29 +0200 Subject: [PATCH] scripts: remove unused add_routing_blk.tcl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit add_routing_blk.tcl (6a7338d2b) created routing blockages around macros for GF12 before global routing. Its author removed the only call, from cts.tcl, in 1166212bc ("remove adding blockages over macros") three weeks later, and nothing has sourced it since. Co-Authored-By: Claude Opus 5.5 Signed-off-by: Øyvind Harboe --- flow/scripts/add_routing_blk.tcl | 49 -------------------------------- 1 file changed, 49 deletions(-) delete mode 100644 flow/scripts/add_routing_blk.tcl diff --git a/flow/scripts/add_routing_blk.tcl b/flow/scripts/add_routing_blk.tcl deleted file mode 100644 index f4aadedbe7..0000000000 --- a/flow/scripts/add_routing_blk.tcl +++ /dev/null @@ -1,49 +0,0 @@ -################################################### -# Create Routing Blockages around Macros for GF12 # -# Created by Minsoo Kim (mik226@eng.ucsd.edu) # -################################################### -set db [::ord::get_db] -set block [[$db getChip] getBlock] -set tech [$db getTech] - -set layer_M2 [$tech findLayer M2] -set layer_M3 [$tech findLayer M3] -set layer_C4 [$tech findLayer C4] - -set numTrack 5 - -set allInsts [$block getInsts] - -set cnt 0 - -foreach inst $allInsts { - set master [$inst getMaster] - set name [$master getName] - set loc_llx [lindex [$inst getLocation] 0] - set loc_lly [lindex [$inst getLocation] 1] - - if { [string match "*gf12*" $name] || [string match "IN12LP*" $name] } { - set w [$master getWidth] - set h [$master getHeight] - - set llx_Mx [expr $loc_llx - (128*$numTrack)] - set lly_Mx [expr $loc_lly - (128*$numTrack)] - set urx_Mx [expr $loc_llx + $w + (128*$numTrack)] - set ury_Mx [expr $loc_lly + $h + (128*$numTrack)] - - set llx_Cx $loc_llx - set lly_Cx [expr $loc_lly - (160*$numTrack)] - set urx_Cx [expr $loc_llx + $w] - set ury_Cx [expr $loc_lly + $h + (160*$numTrack)] - - set obs_M2 [odb::dbObstruction_create $block $layer_M2 $llx_Mx $lly_Mx $urx_Mx $ury_Mx] - set obs_M3 [odb::dbObstruction_create $block $layer_M3 $llx_Mx $lly_Mx $urx_Mx $ury_Mx] - set obs_C4 [odb::dbObstruction_create $block $layer_C4 $llx_Cx $lly_Cx $urx_Cx $ury_Cx] - - incr cnt - } -} - -if { $cnt != 0 } { - puts "Created $cnt routing blockages over macros" -}