mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-07 10:23:43 +02:00
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:
+5
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user