File tree Expand file tree Collapse file tree 2 files changed +15
-3
lines changed
Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 2020#include " odb/dbShape.h"
2121#include " odb/dbTransform.h"
2222#include " odb/dbTypes.h"
23+ #include " odb/isotropy.h"
2324#include " power_cells.h"
2425#include " rings.h"
2526#include " straps.h"
@@ -1244,7 +1245,7 @@ CoreGrid::CoreGrid(VoltageDomain* domain,
12441245odb::Rect CoreGrid::getDomainBoundary () const
12451246{
12461247 // account for the width of the follow pins for straps
1247- odb::Rect core = Grid::getDomainBoundary ();
1248+ const odb::Rect core = Grid::getDomainBoundary ();
12481249
12491250 int follow_pin_width = 0 ;
12501251 for (const auto & strap : getStraps ()) {
@@ -1253,8 +1254,7 @@ odb::Rect CoreGrid::getDomainBoundary() const
12531254 }
12541255 }
12551256
1256- core.bloat (follow_pin_width / 2 , core);
1257- return core;
1257+ return core.bloat (follow_pin_width / 2 , odb::Orientation2D::Vertical);
12581258}
12591259
12601260void CoreGrid::setupDirectConnect (
Original file line number Diff line number Diff line change @@ -193,6 +193,18 @@ void Straps::makeShapes(const Shape::ShapeTreeMap& other_shapes)
193193 }
194194 }
195195
196+ debugPrint (
197+ getLogger (),
198+ utl::PDN,
199+ " Straps" ,
200+ 1 ,
201+ " Make straps on {} / horizontal {} / die {} / core {} / boundary {}" ,
202+ layer_->getName (),
203+ isHorizontal (),
204+ Shape::getRectText (die, layer.getLefUnits ()),
205+ Shape::getRectText (core, layer.getLefUnits ()),
206+ Shape::getRectText (boundary, layer.getLefUnits ()));
207+
196208 if (isHorizontal ()) {
197209 const int x_start = boundary.xMin ();
198210 const int x_end = boundary.xMax ();
You can’t perform that action at this time.
0 commit comments