From 87c07451d1867f302d456e864632a3c2af7b7b09 Mon Sep 17 00:00:00 2001 From: Tim Edwards Date: Wed, 5 Jun 2019 17:02:20 -0400 Subject: [PATCH] Corrected the LEF read routine so that when LEF is read to annotate an existing GDS file, the "LEFview" property is not set (i.e., it should not be marked as an abstract view because it is still a GDS view). --- lef/lefRead.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/lef/lefRead.c b/lef/lefRead.c index 3904ade4..a15a4202 100644 --- a/lef/lefRead.c +++ b/lef/lefRead.c @@ -1604,10 +1604,18 @@ origin_error: } } + /* Note: When the LEF view is used to annotate an */ + /* existing GDS view, then the view is not considered */ + /* "abstract"; otherwise, writing GDS output gets very */ + /* complicated and inefficient. */ + /* Note: The value here is ignored, setting to "TRUE". */ /* The "extract" command only cares that the key exists. */ + /* i.e., setting it to "FALSE" would be ineffective. */ + + if (!is_imported) + DBPropPut(lefMacro, "LEFview", StrDup((char **)NULL, "TRUE")); - DBPropPut(lefMacro, "LEFview", StrDup((char **)NULL, "TRUE")); DBWAreaChanged(lefMacro, &lefMacro->cd_bbox, DBW_ALLWINDOWS, &DBAllButSpaceBits); }