In cumulus/plugins.chip.powerplane, check for too-narrow power contacts.

This commit is contained in:
Jean-Paul Chaput 2021-04-24 12:58:22 +02:00
parent 8d54a9cc29
commit 5cba995549
1 changed files with 3 additions and 1 deletions

View File

@ -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