From 18d874a96a994ad1c077d11801608016cdbe35e5 Mon Sep 17 00:00:00 2001 From: Matt Guthaus Date: Wed, 14 Nov 2018 10:05:04 -0800 Subject: [PATCH] Fix error in iterative implementation of combine_classes --- compiler/router/router.py | 41 ++++++++++++--------------------------- 1 file changed, 12 insertions(+), 29 deletions(-) diff --git a/compiler/router/router.py b/compiler/router/router.py index 245b5878..18d88df7 100644 --- a/compiler/router/router.py +++ b/compiler/router/router.py @@ -653,48 +653,31 @@ class router(router_tech): debug.info(2,"Analyzing pin groups for {}.".format(pin_name)) pin_set = self.pins[pin_name] - local_debug = False # Put each pin in an equivalence class of it's own equiv_classes = [set([x]) for x in pin_set] - if local_debug: - debug.info(0,"INITIAL\n"+pformat(equiv_classes)) - - first_run = True - while (first_run or len(equiv_classes)