From 5cba9955490202dc656ef93051566ca29da47270 Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Sat, 24 Apr 2021 12:58:22 +0200 Subject: [PATCH] In cumulus/plugins.chip.powerplane, check for too-narrow power contacts. --- cumulus/src/plugins/alpha/chip/powerplane.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cumulus/src/plugins/alpha/chip/powerplane.py b/cumulus/src/plugins/alpha/chip/powerplane.py index fa4a40d6..a50352ff 100644 --- a/cumulus/src/plugins/alpha/chip/powerplane.py +++ b/cumulus/src/plugins/alpha/chip/powerplane.py @@ -162,7 +162,7 @@ class HorizontalRail ( Rail ): ) via.mergeDepth( plane.getLayerDepth(plane.getLayer()) ) via.doLayout() - else: + elif overlap.getWidth() > 2*plane.conf.vDeepRG.getPitch(): trace( 550, '\t| Narrow overlap={}\n'.format(overlap) ) via = BigVia( stripe.getNet() , plane.getLayerDepth(stripe.getLayer()) @@ -174,6 +174,8 @@ class HorizontalRail ( Rail ): ) via.mergeDepth( plane.getLayerDepth(plane.getLayer()) ) via.doLayout() + else: + trace( 550, '\t| Too narrow overlap={}, no BigVia\n'.format(overlap) ) trace( 550, '-' ) trace( 550, '-' ) return