From 47185f6085bc6cb5d0cd333ab26c34616a5de673 Mon Sep 17 00:00:00 2001 From: Eren Dogan Date: Tue, 25 Jul 2023 10:18:43 -0700 Subject: [PATCH] Generate cartesian values for pins correctly --- compiler/router/graph.py | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/router/graph.py b/compiler/router/graph.py index 119f7b1e..b54898e3 100644 --- a/compiler/router/graph.py +++ b/compiler/router/graph.py @@ -199,6 +199,7 @@ class graph: for shape in self.graph_blockages: if not self.is_routable(shape): continue + shape = shape.get_inflated_from() aspect_ratio = shape.width() / shape.height() # FIXME: Aspect ratio may not be the best way to determine this # If the pin is tall or fat, add two points on the ends