Skip to content

Commit

Permalink
removed call to findRelatedModnet -- ok to use first output for hiera…
Browse files Browse the repository at this point in the history
…rchy name

Signed-off-by: andyfox-rushc <[email protected]>
  • Loading branch information
andyfox-rushc committed Dec 20, 2024
1 parent 9f59231 commit 64ca0df
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions src/dbSta/src/dbNetwork.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1646,6 +1646,10 @@ void PinModNetConnection::operator()(const Pin* pin)
}
}

/*
Find if there is a modnet equivalent to a dbNet.
*/

dbModNet* dbNetwork::findRelatedModNet(const dbNet* net) const
{
PinModNetConnection visitor(this);
Expand All @@ -1661,14 +1665,6 @@ const char* dbNetwork::name(const Net* net) const
staToDb(net, dnet, modnet);
std::string name;

// modnets "encapsulate" regions of dbinstance
// in the same module hierarchy.
/*
if (hierarchy_ && dnet && !modnet){
modnet = findRelatedModNet(dnet);
}
*/

Network* sta_nwk = (Network*) this;

if (dnet && !modnet) {
Expand Down Expand Up @@ -1791,7 +1787,7 @@ void dbNetwork::visitConnectedPins(const Net* net,
// visit below nets
for (dbModITerm* moditerm : mod_net->getModITerms()) {
dbModInst* mod_inst = moditerm->getParent();
// note we are deailing with a uniquified hierarchy
// note we are dealing with a uniquified hierarchy
// so one master per instance..
dbModule* module = mod_inst->getMaster();
std::string pin_name = moditerm->getName();
Expand Down

0 comments on commit 64ca0df

Please sign in to comment.