mirror of https://github.com/VLSIDA/OpenRAM.git
Generate cartesian values for pins correctly
This commit is contained in:
parent
587d44e536
commit
47185f6085
|
|
@ -199,6 +199,7 @@ class graph:
|
||||||
for shape in self.graph_blockages:
|
for shape in self.graph_blockages:
|
||||||
if not self.is_routable(shape):
|
if not self.is_routable(shape):
|
||||||
continue
|
continue
|
||||||
|
shape = shape.get_inflated_from()
|
||||||
aspect_ratio = shape.width() / shape.height()
|
aspect_ratio = shape.width() / shape.height()
|
||||||
# FIXME: Aspect ratio may not be the best way to determine this
|
# 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
|
# If the pin is tall or fat, add two points on the ends
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue