mirror of https://github.com/VLSIDA/OpenRAM.git
Abandon connectors for now and opt for all enclosures
This commit is contained in:
parent
6990773ea1
commit
bbffec863b
|
|
@ -260,12 +260,12 @@ class pin_group:
|
||||||
smallest = self.find_smallest_overlapping(self.pins[0],enclosure_list)
|
smallest = self.find_smallest_overlapping(self.pins[0],enclosure_list)
|
||||||
if smallest:
|
if smallest:
|
||||||
self.enclosures=[smallest]
|
self.enclosures=[smallest]
|
||||||
else:
|
# else:
|
||||||
connector=self.find_smallest_connector(enclosure_list)
|
# connector=self.find_smallest_connector(enclosure_list)
|
||||||
if connector:
|
# if connector:
|
||||||
self.enclosures=[connector]
|
# self.enclosures=[connector]
|
||||||
else:
|
# else:
|
||||||
debug.error("Unable to enclose pin {}".format(self.pins),-1)
|
# debug.error("Unable to enclose pin {}".format(self.pins),-1)
|
||||||
else:
|
else:
|
||||||
# Multiple pins is hard, so just use all of the enclosure shapes!
|
# Multiple pins is hard, so just use all of the enclosure shapes!
|
||||||
# FIXME: Find the minimum set of enclosures to reduce number of shapes.
|
# FIXME: Find the minimum set of enclosures to reduce number of shapes.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue