Use half pin's size difference for new spacing rule

This commit is contained in:
Eren Dogan 2023-07-23 18:43:26 -07:00
parent a90fd36f57
commit 542e1a5e03
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ class graph_router(router_tech):
for pin in self.all_pins:
xdiff = self.layer_widths[0] - pin.width()
ydiff = self.layer_widths[0] - pin.height()
diff = max(xdiff, ydiff)
diff = max(xdiff, ydiff) / 2
spacing = self.track_space + drc["grid"]
if diff > 0:
spacing += diff