Skip to content

Commit 5b68b22

Browse files
committed
added additional info to PPL error message
clang-format fix Signed-off-by: Jeff Ng <[email protected]>
1 parent b57dad1 commit 5b68b22

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/ppl/src/IOPlacer.cpp

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1807,7 +1807,14 @@ void IOPlacer::initConstraints(bool annealing)
18071807
constraints_no_slots++;
18081808
}
18091809
} else {
1810-
logger_->error(PPL, 76, "Constraint does not have available slots.");
1810+
logger_->error(PPL,
1811+
76,
1812+
"Constraint with {} pins on region {:.2f}um-{:.2f}um on "
1813+
"the {} edge does not have available slots.",
1814+
constraint.pin_list.size(),
1815+
getBlock()->dbuToMicrons(region_begin),
1816+
getBlock()->dbuToMicrons(region_end),
1817+
region_edge);
18111818
}
18121819
}
18131820

0 commit comments

Comments
 (0)