Skip to content

Commit 59ef9a9

Browse files
authored
Merge pull request #7955 from The-OpenROAD-Project-staging/dpl-pixel-size
dpl: easy memory savings (Pixel 144->128 bytes)
2 parents 6341e50 + 5700305 commit 59ef9a9

File tree

1 file changed

+2
-2
lines changed
  • src/dpl/src/infrastructure

1 file changed

+2
-2
lines changed

src/dpl/src/infrastructure/Grid.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ struct Pixel
3535
{
3636
Node* cell = nullptr;
3737
Group* group = nullptr;
38-
double util = 0.0;
38+
float util = 0.0;
3939
bool is_valid = false; // false for dummy cells
4040
bool is_hopeless = false; // too far from sites for diamond search
41-
std::map<dbSite*, dbOrientType> sites;
4241
uint8_t blocked_layers = 0;
42+
std::map<dbSite*, dbOrientType> sites;
4343
std::unordered_set<Node*>
4444
padding_reserved_by; // Cells that reserved this pixel for padding
4545
};

0 commit comments

Comments
 (0)