Skip to content

Commit 3dec469

Browse files
committed
Added the master name to a couple of messages
updated failing tests Signed-off-by: Jeff Ng <jeffng@precisioninno.com>
1 parent 1138027 commit 3dec469

5 files changed

Lines changed: 11 additions & 6 deletions

File tree

src/dpl/src/CheckPlacement.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,11 @@ void Opendp::reportFailures(
273273
void Opendp::reportOverlapFailure(Cell* cell) const
274274
{
275275
const Cell* overlap = checkOverlap(*cell);
276-
logger_->report(" {} overlaps {}", cell->name(), overlap->name());
276+
logger_->report(" {} ({}) overlaps {} ({})",
277+
cell->name(),
278+
cell->getDbInst()->getMaster()->getName(),
279+
overlap->name(),
280+
overlap->getDbInst()->getMaster()->getName());
277281
}
278282

279283
/* static */

src/dpl/test/check2.ok

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
[INFO ODB-0128] Design: ten_cells
33
[INFO ODB-0131] Created 2 components and 10 component-terminals.
44
[WARNING DPL-0005] Overlap check failed (1).
5-
_284_ overlaps _285_
5+
_284_ (NOR2_X1) overlaps _285_ (NOR2_X1)
66
[ERROR DPL-0033] detailed placement checks failed.
77
DPL-0033

src/dpl/test/check3.ok

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
[INFO ODB-0128] Design: ten_cells
33
[INFO ODB-0131] Created 2 components and 10 component-terminals.
44
[WARNING DPL-0005] Overlap check failed (1).
5-
_284_ overlaps _285_
5+
_284_ (NOR2_X1) overlaps _285_ (NOR2_X1)
66
[ERROR DPL-0033] detailed placement checks failed.
77
DPL-0033

src/dpl/test/check7.ok

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
[INFO ODB-0132] Created 2 special nets and 4 connections.
88
[INFO ODB-0133] Created 2 nets and 0 connections.
99
[WARNING DPL-0005] Overlap check failed (1).
10-
block1 overlaps _277_
10+
block1 (BLOCK1) overlaps _277_ (BUF_X1)
1111
[ERROR DPL-0033] detailed placement checks failed.
1212
DPL-0033

src/drt/src/pa/FlexPA_acc_point.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1412,9 +1412,10 @@ void FlexPA::genInstAccessPoints(frInst* unique_inst)
14121412
if (!n_aps) {
14131413
logger_->error(DRT,
14141414
73,
1415-
"No access point for {}/{}.",
1415+
"No access point for {}/{} ({}).",
14161416
inst_term->getInst()->getName(),
1417-
inst_term->getTerm()->getName());
1417+
inst_term->getTerm()->getName(),
1418+
inst_term->getInst()->getMaster()->getName());
14181419
}
14191420
}
14201421
}

0 commit comments

Comments
 (0)