mirror of https://github.com/VLSIDA/OpenRAM.git
Remove non-rectangular error and just skip them.
This commit is contained in:
parent
7836929db2
commit
07f4d639eb
|
|
@ -757,7 +757,11 @@ class VlsiLayout:
|
||||||
boundaries = []
|
boundaries = []
|
||||||
for boundary in self.structures[str(structureName)].boundaries:
|
for boundary in self.structures[str(structureName)].boundaries:
|
||||||
# FIXME: Right now, this only supports rectangular shapes!
|
# FIXME: Right now, this only supports rectangular shapes!
|
||||||
debug.check(len(boundary.coordinates)==5,"Non-rectangular shapes are not supported.")
|
# We should trigger an error but some FreePDK45 library cells contain paths.
|
||||||
|
# These get saved fine, but we cannot parse them as blockages...
|
||||||
|
#debug.check(len(boundary.coordinates)==5,"Non-rectangular shapes are not supported.")
|
||||||
|
if len(boundary.coordinates)!=5:
|
||||||
|
continue
|
||||||
if layer==boundary.drawingLayer:
|
if layer==boundary.drawingLayer:
|
||||||
left_bottom=boundary.coordinates[0]
|
left_bottom=boundary.coordinates[0]
|
||||||
right_top=boundary.coordinates[2]
|
right_top=boundary.coordinates[2]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue