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:
parent
f689366553
commit
e296fc5ba0
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in New Issue