Skip to content

Commit 364cb4b

Browse files
committed
pad: add debug message for row stats
Signed-off-by: Peter Gadfort <[email protected]>
1 parent 022947e commit 364cb4b

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

src/pad/src/ICeWall.cpp

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -730,8 +730,18 @@ void ICeWall::placePads(const std::vector<odb::dbInst*>& insts,
730730
break;
731731
}
732732

733+
const double dbus = block->getDbUnitsPerMicron();
734+
debugPrint(logger_,
735+
utl::PAD,
736+
"Place",
737+
1,
738+
"{}: Row width ({:.4f} um), total instance ({}) width {:.4f} um)",
739+
row->getName(),
740+
row_width / dbus,
741+
inst_widths.size(),
742+
total_width / dbus);
743+
733744
if (total_width > row_width) {
734-
const double dbus = block->getDbUnitsPerMicron();
735745
logger_->error(
736746
utl::PAD,
737747
40,

0 commit comments

Comments
 (0)