Corrected "lef write" to add the SITE definition that it may have

been preserving in the cell properties (which was inadvertently
omitted).
This commit is contained in:
Tim Edwards 2020-04-01 11:01:13 -04:00
parent d6cadeb0cd
commit e98b768c45
1 changed files with 4 additions and 0 deletions

View File

@ -824,6 +824,10 @@ lefWriteMacro(def, f, scale, hide)
if (propfound)
fprintf(f, " SYMMETRY %s ;\n", propvalue);
propvalue = (char *)DBPropGet(def, "LEFsite", &propfound);
if (propfound)
fprintf(f, " SITE %s ;\n", propvalue);
/* Generate cell for yanking obstructions */
lc.lefYank = DBCellLookDef("__lefYank__");