From e296fc5ba0e4660b75a7281ad44c57a9277c1073 Mon Sep 17 00:00:00 2001 From: Tim Edwards Date: Wed, 1 Apr 2020 08:59:19 -0400 Subject: [PATCH] Corrected an error in lefWrite that should have avoided degenerate labels by expanding a zero area label rectangle, but then if "select chunk" returns nothing, it sets the area to the zero area label rectangle instead of the expanded one that it just created. This is the reason that "lef write" is producing pins with no geometry in the LEF file output. --- VERSION | 2 +- lef/lefWrite.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 9817229c..c6c22694 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -8.2.207 +8.2.208 diff --git a/lef/lefWrite.c b/lef/lefWrite.c index 193ab5de..872da6b8 100644 --- a/lef/lefWrite.c +++ b/lef/lefWrite.c @@ -973,7 +973,7 @@ lefWriteMacro(def, f, scale, hide) labelLinkedList *newlll; SelectChunk(&scx, lab->lab_type, 0, &carea, FALSE); - if (GEO_RECTNULL(&carea)) carea = lab->lab_rect; + if (GEO_RECTNULL(&carea)) carea = labr; /* Note that a sticky label could be placed over multiple */ /* tile types, which would cause SelectChunk to fail. So */