From a66da9044684b8500410b28332934decf2bf5794 Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Sat, 10 Apr 2021 19:51:50 +0200 Subject: [PATCH] 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. --- anabatic/src/AutoSegment.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/anabatic/src/AutoSegment.cpp b/anabatic/src/AutoSegment.cpp index d4a97c65..3a27c455 100644 --- a/anabatic/src/AutoSegment.cpp +++ b/anabatic/src/AutoSegment.cpp @@ -1742,6 +1742,7 @@ namespace Anabatic { if (isGlobal() or isDrag() or isFixed()) return false; if (not isSpinTopOrBottom()) return false; + if ((getDepth() == 1) and isSpinBottom()) return false; if (_reduceds) return false; AutoContact* source = getAutoSource();