mirror of https://github.com/VLSIDA/OpenRAM.git
Fix syntax error in router
This commit is contained in:
parent
afaa946f9c
commit
560d768010
|
|
@ -470,9 +470,9 @@ class pin_group:
|
||||||
# Now, make sure each pin touches an enclosure. If not, add another (diagonal) connector.
|
# Now, make sure each pin touches an enclosure. If not, add another (diagonal) connector.
|
||||||
# This could only happen when there was no enclosure in any cardinal direction from a pin
|
# This could only happen when there was no enclosure in any cardinal direction from a pin
|
||||||
if not self.overlap_any_shape(self.pins, self.enclosures):
|
if not self.overlap_any_shape(self.pins, self.enclosures):
|
||||||
connector = self.find_smallest_connector(pin_list, self.enclosures)
|
connector = self.find_smallest_connector(self.pins, self.enclosures)
|
||||||
if connector==None:
|
if connector==None:
|
||||||
debug.error("Could not find a connector for {} with {}".format(pin_list, self.enclosures))
|
debug.error("Could not find a connector for {} with {}".format(self.pins, self.enclosures))
|
||||||
self.router.write_debug_gds("no_connector.gds")
|
self.router.write_debug_gds("no_connector.gds")
|
||||||
self.enclosures.append(connector)
|
self.enclosures.append(connector)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue