Skip to content

Commit a5af0de

Browse files
committed
added bterm name to error message for easier debugging
clang formatting Signed-off-by: Jeff Ng <jeffng@precisioninno.com>
1 parent 3ed3271 commit a5af0de

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

src/ppl/src/IOPlacer.cpp

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -399,11 +399,13 @@ int IOPlacer::placeFallbackPins(bool random)
399399
int last_slot = constraint.last_slot;
400400
int available_slots = last_slot - first_slot;
401401
if (available_slots < group.first.size()) {
402-
logger_->error(
403-
PPL,
404-
90,
405-
"Group of size {} does not fit in constrained region.",
406-
group.first.size());
402+
logger_->error(PPL,
403+
90,
404+
"Group of size {} with pin {} does not fit in "
405+
"constrained region. ({} available slots)",
406+
group.first.size(),
407+
bterm->getName(),
408+
available_slots);
407409
}
408410

409411
int mid_slot = (last_slot - first_slot) / 2 - group.first.size() / 2

0 commit comments

Comments
 (0)