Never reduce METAL2 short wires to METAL1.

* Change: In AutoSegment::canReduce(), no longer allow short METAL2
    connected only to VIA12 to be reduced in METAL1, as we do not
    control the METAL1 level of layers. This problem started to
    show when connecting to diodes (antenna).
      Should get rid of METAL1 DRC violations.
This commit is contained in:
Jean-Paul Chaput 2021-04-10 19:51:50 +02:00
parent 81fffb9d0a
commit a66da90446
1 changed files with 1 additions and 0 deletions

View File

@ -1742,6 +1742,7 @@ namespace Anabatic {
if (isGlobal() or isDrag() or isFixed()) return false; if (isGlobal() or isDrag() or isFixed()) return false;
if (not isSpinTopOrBottom()) return false; if (not isSpinTopOrBottom()) return false;
if ((getDepth() == 1) and isSpinBottom()) return false;
if (_reduceds) return false; if (_reduceds) return false;
AutoContact* source = getAutoSource(); AutoContact* source = getAutoSource();