Skip to content

Commit 3b6a105

Browse files
authored
Merge pull request #7794 from The-OpenROAD-Project-staging/add-bterm-to-msg
added bterm name to error message for easier debugging
2 parents 44bc564 + a5af0de commit 3b6a105

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)