Skip to content

Commit 09730f1

Browse files
committed
Added comments for caution
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
1 parent 35f274e commit 09730f1

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/dbSta/src/dbNetwork.cc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2016,6 +2016,14 @@ void dbNetwork::visitConnectedPins(const Net* net,
20162016
}
20172017
}
20182018

2019+
// Caution:
2020+
// - Network::highestConnectedNet(Net *net) retrieves the highest hierarchical
2021+
// net connected to the given net.
2022+
// - But `dbNetwork::highestConnectedNet(Net* net)` retrieves the corresponding
2023+
// flat net for the given net.
2024+
// - It behaves differently to cope with the issue 9724.
2025+
// - This redefinition may cause another issue later when
2026+
// `Network::highestConnectedNet(Net *net)` is used elsewhere.
20192027
const Net* dbNetwork::highestConnectedNet(Net* net) const
20202028
{
20212029
const Net* flat = findFlatNet(net);

0 commit comments

Comments
 (0)