File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ proc block_channels {channel_width_in_microns} {
1818 # Resize to fill the channels and edge gap
1919 #
2020 set resize_by [expr round($channel_width_in_microns * $units )]
21- set shapeSet [odb::orSets $shapes ]
22- set shapeSet [odb::bloatSet $shapeSet $resize_by ]
21+ set shapeSet0 [odb::orSets $shapes ]
22+ set shapeSet1 [odb::bloatSet $shapeSet0 $resize_by ]
2323
2424 #
2525 # Clip result to the core area
@@ -30,7 +30,7 @@ proc block_channels {channel_width_in_microns} {
3030 set xh [$core xMax]
3131 set yh [$core yMax]
3232 set core_rect [odb::newSetFromRect $xl $yl $xh $yh ]
33- set shapeSet [odb::andSet $shapeSet $core_rect ]
33+ set shapeSet [odb::andSet $shapeSet1 $core_rect ]
3434
3535 #
3636 # Output the blockages
@@ -41,5 +41,10 @@ proc block_channels {channel_width_in_microns} {
4141 [$rect xMin] [$rect yMin] [$rect xMax] [$rect yMax]]
4242 $b setSoft
4343 }
44+
45+ odb::destroySet $shapeSet
46+ odb::destroySet $shapeSet1
47+ odb::destroySet $shapeSet0
48+ odb::destroySet $core_rect
4449}
4550
You can’t perform that action at this time.
0 commit comments