From 909321326d47de73d31cc95611b48c45c6566016 Mon Sep 17 00:00:00 2001 From: Matt Guthaus Date: Tue, 26 Nov 2019 13:21:29 -0800 Subject: [PATCH] Ignore unused layers --- compiler/base/pin_layout.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compiler/base/pin_layout.py b/compiler/base/pin_layout.py index f5d25263..f7427a9c 100644 --- a/compiler/base/pin_layout.py +++ b/compiler/base/pin_layout.py @@ -37,6 +37,8 @@ class pin_layout: # else it is required to be a lpp else: for (layer_name, lpp) in layer.items(): + if not lpp: + continue if self.same_lpp(layer_name_pp, lpp): self.layer = layer_name break