Also corrected the "lef write" output to always put "END LIBRARY"
at the end of a macro output, even if it is not part of a library. According to some commercial tools, this is what is expected, even though the use of "END LIBRARY" is never explained in the LEF/DEF spec.
This commit is contained in:
parent
9c4fb65a58
commit
e453f130ee
|
|
@ -1900,7 +1900,7 @@ LefWriteAll(rootUse, writeTopCell, lefTech, lefHide, lefTopLayer, recurse)
|
|||
}
|
||||
|
||||
/* End the LEF file */
|
||||
fprintf(f, "END LIBRARY ;\n");
|
||||
fprintf(f, "END LIBRARY\n\n");
|
||||
|
||||
fclose(f);
|
||||
StackFree(lefDefStack);
|
||||
|
|
@ -2001,6 +2001,10 @@ LefWriteCell(def, outName, isRoot, lefTech, lefHide, lefTopLayer)
|
|||
HashKill(&siteHashTbl);
|
||||
}
|
||||
lefWriteMacro(def, f, scale, lefHide, lefTopLayer);
|
||||
|
||||
/* End the LEF file */
|
||||
fprintf(f, "END LIBRARY\n\n");
|
||||
|
||||
fclose(f);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue