From 07f4d639eb09078109406132e8685e45f343598a Mon Sep 17 00:00:00 2001 From: Matt Guthaus Date: Wed, 30 Jan 2019 10:25:01 -0800 Subject: [PATCH] Remove non-rectangular error and just skip them. --- compiler/gdsMill/gdsMill/vlsiLayout.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/compiler/gdsMill/gdsMill/vlsiLayout.py b/compiler/gdsMill/gdsMill/vlsiLayout.py index 626ea501..03873ed4 100644 --- a/compiler/gdsMill/gdsMill/vlsiLayout.py +++ b/compiler/gdsMill/gdsMill/vlsiLayout.py @@ -757,7 +757,11 @@ class VlsiLayout: boundaries = [] for boundary in self.structures[str(structureName)].boundaries: # 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: left_bottom=boundary.coordinates[0] right_top=boundary.coordinates[2]