From 48d3b25b74dd648086ec3fa1b48ba77cb19ea815 Mon Sep 17 00:00:00 2001 From: Matt Guthaus Date: Tue, 24 Jul 2018 14:26:01 -0700 Subject: [PATCH] Rotate the output pins of the control logic. Need to fix this permanently. --- compiler/base/hierarchy_layout.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/compiler/base/hierarchy_layout.py b/compiler/base/hierarchy_layout.py index 80034591..acc25ff5 100644 --- a/compiler/base/hierarchy_layout.py +++ b/compiler/base/hierarchy_layout.py @@ -624,8 +624,10 @@ class layout(lef.lef): # not on the right layer if pin.layer != route_layer: self.add_via_center(layers=layer_stack, - offset=pin_pos, - rotate=90) + offset=pin_pos) + # FIXME: output pins tend to not be rotate, but supply pins are. Make consistent? + + # We only need a via if they happened to align perfectly # so the add_wire didn't add a via