Skip to content

Commit

Permalink
Normalize cell distance by average cell length during global placer r…
Browse files Browse the repository at this point in the history
…eport
  • Loading branch information
Coloquinte committed Jan 31, 2024
1 parent 7161e00 commit 8fc3cd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/place_global/place_global.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ void GlobalPlacer::run() {
ub = valueUB();
std::cout << std::defaultfloat << std::setprecision(4) << "\tUB " << ub;

float dist = leg_.meanDistance();
float dist = leg_.meanDistance() / averageCellLength_;
std::cout << std::fixed << std::setprecision(1) << "\tDist " << dist;
std::cout << std::flush;

Expand Down

0 comments on commit 8fc3cd5

Please sign in to comment.