Commit 93ac03af authored by Luke Leighton's avatar Luke Leighton
Browse files

repeat debug information when net direction changes

some debug info is printed out if an OUTPUT net direction is reversed
repeated the same code for an INPUT net
parent 5b6bc7c9
......@@ -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;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment