From 6101195b511ef95321115dfa5bff038efef8c556 Mon Sep 17 00:00:00 2001 From: mrg Date: Mon, 21 Dec 2020 12:44:04 -0800 Subject: [PATCH] Function to remove layout pins. --- compiler/base/hierarchy_layout.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/compiler/base/hierarchy_layout.py b/compiler/base/hierarchy_layout.py index 4fd42635..a4c7a74d 100644 --- a/compiler/base/hierarchy_layout.py +++ b/compiler/base/hierarchy_layout.py @@ -467,6 +467,12 @@ class layout(): """ self.pin_map[text] = set() + def remove_layout_pins(self): + """ + Delete all the layout pins + """ + self.pin_map = {} + def add_layout_pin(self, text, layer, offset, width=None, height=None): """ Create a labeled pin