Don't use multiple when inflating shapes

This commit is contained in:
Eren Dogan 2023-07-21 08:30:46 -07:00
parent 7ee1dcef54
commit 44b2e4589c
2 changed files with 1 additions and 6 deletions

View File

@ -129,8 +129,7 @@ class graph:
# Find the region to be routed and only include objects inside that region
region = deepcopy(source)
region.bbox([target])
region = region.inflated_pin(spacing=self.router.track_space,
multiple=1)
region = region.inflated_pin(spacing=self.router.track_space)
debug.info(3, "Routing region is {}".format(region.rect))
# Find the blockages that are in the routing area

View File

@ -89,7 +89,6 @@ class graph_router(router_tech):
# NOTE: This is done to make vdd and gnd pins DRC-safe
for pin in self.all_pins:
self.blockages.append(pin.inflated_pin(spacing=self.track_space,
multiple=1,
extra_spacing=self.offset,
keep_link=True))
@ -199,7 +198,6 @@ class graph_router(router_tech):
# Inflate the shapes to prevent DRC errors
for blockage in blockages:
self.blockages.append(blockage.inflated_pin(spacing=self.track_space,
multiple=1,
extra_spacing=self.offset,
keep_link=shape_name is not None))
# Remove blockages contained by this new blockage
@ -241,7 +239,6 @@ class graph_router(router_tech):
if new_shape.contained_by_any(self.vias):
continue
self.vias.append(new_shape.inflated_pin(spacing=self.track_space,
multiple=1,
extra_spacing=self.offset))
@ -359,7 +356,6 @@ class graph_router(router_tech):
self.new_pins[pin_name] = new_pins
for pin in new_pins:
self.blockages.append(pin.inflated_pin(spacing=self.track_space,
multiple=1,
extra_spacing=self.offset,
keep_link=True))