Fix: some AutoSegments where wrongly flagged as reduced.
* Bug: In Anabatic::AutoSegment::canReduce(), when looking at a fixed segment we were unconditionally flagging it as reduced if it was a "jumper", regardless of it's length. It was wrong, now also check for a length below the P-Pitch. This was introduced when implementing the channel routing.
This commit is contained in:
parent
a6f61c1044
commit
bba364eecc
|
@ -1802,7 +1802,7 @@ namespace Anabatic {
|
|||
AutoContact* source = getAutoSource();
|
||||
AutoContact* target = getAutoTarget();
|
||||
|
||||
if (isFixed()) {
|
||||
if (isFixed() and (length < getPPitch())) {
|
||||
if (isSpinTopOrBottom() and source->isTurn() and target->isTurn())
|
||||
return true;
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue