Fix width of replica routes. Don't enclose pins if they overlap sufficiently.

This commit is contained in:
mrg
2022-05-09 11:44:46 -07:00
parent 50045e54e8
commit b6c3580e24
3 changed files with 37 additions and 13 deletions
+1 -1
View File
@@ -189,7 +189,7 @@ class pin_layout:
if max_x - min_x == 0 or max_y - min_y == 0:
return None
return [vector(min_x, min_y), vector(max_x, max_y)]
return pin_layout("", [vector(min_x, min_y), vector(max_x, max_y)], self.layer)
def xoverlaps(self, other):
""" Check if shape has x overlap """