From 074d4599f757d72bb1a799a04d04bafc73123504 Mon Sep 17 00:00:00 2001 From: Gabriel Gouvine Date: Wed, 31 Jan 2024 15:47:42 +0100 Subject: [PATCH] Normalize cell distance by average cell length during global placer report --- src/place_global/place_global.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/place_global/place_global.cpp b/src/place_global/place_global.cpp index 26152dc..2860916 100644 --- a/src/place_global/place_global.cpp +++ b/src/place_global/place_global.cpp @@ -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;