From 8e91ec1770fe8ddcc15465c3b5f0f8b11777393d Mon Sep 17 00:00:00 2001 From: mrg Date: Tue, 8 Sep 2020 13:31:50 -0700 Subject: [PATCH] Add check_pins function --- compiler/base/design.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/compiler/base/design.py b/compiler/base/design.py index ee985fec..96e5f26b 100644 --- a/compiler/base/design.py +++ b/compiler/base/design.py @@ -26,6 +26,12 @@ class design(hierarchy_design): self.setup_layer_constants() self.setup_multiport_constants() + def check_pins(self): + for pin_name in self.pins: + pins = self.get_pins(pin_name) + for pin in pins: + print(pin_name, pin) + def setup_layer_constants(self): """ These are some layer constants used