Merge branch 'devel' of gitlab.lip6.fr:vlsi-eda/coriolis into devel

This commit is contained in:
Jean-Paul Chaput 2021-05-31 00:07:15 +02:00
commit ef004a955b
1 changed files with 11 additions and 0 deletions

View File

@ -677,6 +677,17 @@ void ConnectPlugHooks(Cell* cell)
, sinks
) << endl;
net->setDirection( Net::Direction::DirIn );
for ( Occurrence occurrence : HyperNet(Occurrence(net)).getComponentOccurrences() ) {
Plug* plug = dynamic_cast<Plug*>( occurrence.getEntity() );
if (plug) {
cerr << " | " << occurrence.getPath().getCompactString(false)
<< "." << plug->getInstance()->getName()
<< ":" << plug->getMasterNet()->getName()
<< " (" << plug->getMasterNet()->getCell()->getName() << ")" << endl;
} else {
cerr << " | " << occurrence << endl;
}
}
}
continue;
}