From 732f35a362776cc09d1eb0637f409863d03aae1a Mon Sep 17 00:00:00 2001 From: Matt Guthaus Date: Sun, 11 Nov 2018 12:25:53 -0800 Subject: [PATCH] Change channel router to route from bottom up to simplify code. --- compiler/base/hierarchy_layout.py | 15 ++++----------- compiler/sram_1bank.py | 2 +- 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/compiler/base/hierarchy_layout.py b/compiler/base/hierarchy_layout.py index e745df57..229bb0f8 100644 --- a/compiler/base/hierarchy_layout.py +++ b/compiler/base/hierarchy_layout.py @@ -783,8 +783,8 @@ class layout(lef.lef): def vcg_pin_overlap(pin1, pin2, vertical): """ Check for vertical or horizontal overlap of the two pins """ - # Pin 1 must be in the "TOP" set - x_overlap = pin1.by() > pin2.by() and abs(pin1.center().x-pin2.center().x)