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.
This commit is contained in:
Tim Edwards 2020-04-01 08:59:19 -04:00
parent f689366553
commit e296fc5ba0
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
8.2.207 8.2.208

View File

@ -973,7 +973,7 @@ lefWriteMacro(def, f, scale, hide)
labelLinkedList *newlll; labelLinkedList *newlll;
SelectChunk(&scx, lab->lab_type, 0, &carea, FALSE); 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 */ /* Note that a sticky label could be placed over multiple */
/* tile types, which would cause SelectChunk to fail. So */ /* tile types, which would cause SelectChunk to fail. So */