From 2eedc703d1cc045eab2ffc0a92ffea68eb012339 Mon Sep 17 00:00:00 2001 From: Matt Guthaus Date: Wed, 31 Oct 2018 16:13:28 -0700 Subject: [PATCH] Rename function in pin_group --- compiler/router/pin_group.py | 2 +- compiler/router/router.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/compiler/router/pin_group.py b/compiler/router/pin_group.py index 61ebf410..39fe12c5 100644 --- a/compiler/router/pin_group.py +++ b/compiler/router/pin_group.py @@ -474,7 +474,7 @@ class pin_group: self.grids, self.enclosures)) - def combine_pins(self, pg1, pg2): + def combine_groups(self, pg1, pg2): """ Combine two pin groups into one. """ diff --git a/compiler/router/router.py b/compiler/router/router.py index e7340178..c9d1a2c0 100644 --- a/compiler/router/router.py +++ b/compiler/router/router.py @@ -195,9 +195,9 @@ class router(router_tech): # Combine if at least 1 grid cell is adjacent if pg1.adjacent(pg2): combined = pin_group(pin_name, [], self) - combined.combine_pins(pg1, pg2) + combined.combine_groups(pg1, pg2) debug.info(2,"Combining {0} {1} {2}:".format(pin_name, index1, index2)) - debug.info(2, "\n {0}\n {1}".format(pg1.pins, pg2.pins)) + debug.info(2, " {0}\n {1}".format(pg1.pins, pg2.pins)) debug.info(2," --> {0}\n {1}".format(combined.pins,combined.grids)) remove_indices.update([index1,index2]) pin_groups.append(combined)