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 ab2df06 commit 074d459
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 @@ -163,7 +163,7 @@ void GlobalPlacer::run() {
std::cout << std::defaultfloat << std::setprecision(4) << "\tUB " << ub;

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

float gap = (ub - lb) / ub;
Expand Down

0 comments on commit 074d459

Please sign in to comment.