Skip to content

Commit 00a077d

Browse files
authored
Merge pull request #8571 from titan73/grt_msg
grt: Make a warning more explicit about the reason for ndr disabling.
2 parents e7d5f25 + 8a655f8 commit 00a077d

3 files changed

Lines changed: 7 additions & 5 deletions

File tree

src/grt/src/fastroute/src/FastRoute.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1672,8 +1672,10 @@ NetRouteMap FastRouteCore::run()
16721672
void FastRouteCore::applySoftNDR(const std::vector<int>& net_ids)
16731673
{
16741674
for (auto net_id : net_ids) {
1675-
logger_->warn(
1676-
GRT, 273, "Disabled NDR for the {} net.", nets_[net_id]->getName());
1675+
logger_->warn(GRT,
1676+
273,
1677+
"Disabled NDR (to reduce congestion) for net: {}",
1678+
nets_[net_id]->getName());
16771679

16781680
// Remove the usage of all the edges involved with this net
16791681
updateSoftNDRNetUsage(net_id, -nets_[net_id]->getEdgeCost());

src/grt/test/soft_ndr_4w_6s.ok

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ met5 Horizontal 2964 1406 52.56%
5959
---------------------------------------------------------------
6060

6161
[INFO GRT-0101] Running extra iterations to remove overflow.
62-
[WARNING GRT-0273] Disabled NDR for the clk net.
63-
[WARNING GRT-0273] Disabled NDR for the clknet_0_clk net.
62+
[WARNING GRT-0273] Disabled NDR (to reduce congestion) for net: clk
63+
[WARNING GRT-0273] Disabled NDR (to reduce congestion) for net: clknet_0_clk
6464
[INFO GRT-0197] Via related to pin nodes: 144
6565
[INFO GRT-0198] Via related Steiner nodes: 14
6666
[INFO GRT-0199] Via filling finished.

src/odb/include/odb/dbWireCodec.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ class dbWireDecoder
488488
{
489489
PATH, /// A new path
490490
JUNCTION, /// A new path spawned from a previous point
491-
SHORT, /// A new path offset from a previous point, implied virutal short
491+
SHORT, /// A new path offset from a previous point, implied virtual short
492492
VWIRE, /// A new path spawned from a previous point, non-exsistant virtual
493493
/// wire from previous point to first point of path
494494
POINT, /// A point on a path.

0 commit comments

Comments
 (0)