Fix bad direction for segments in ApDriver.
* Bug: In CRL::ApDriver::DumpSegments(), reset the direction field to NULL between iterations so it is recomputed for each component and not keeping the first one ever guessed.
This commit is contained in:
parent
05c0907d5c
commit
5a4d23f8fd
|
@ -245,6 +245,8 @@ void DumpContacts(ofstream& ccell, Cell *cell)
|
|||
if (net->isFused()) netName = "*";
|
||||
|
||||
for ( Component* component : net->getComponents() ) {
|
||||
direction = NULL;
|
||||
|
||||
if ( (rp = dynamic_cast<RoutingPad*>(component)) ) {
|
||||
if (not net->isExternal()) continue;
|
||||
if (not cell->isRouted()) continue;
|
||||
|
|
Loading…
Reference in New Issue