Add gds flatten option for Magic

This commit is contained in:
mrg 2020-11-05 13:12:08 -08:00
parent ce7be7466f
commit a52aac5f31
1 changed files with 1 additions and 0 deletions

View File

@ -77,6 +77,7 @@ def write_magic_script(cell_name, extract=False, final_verification=False):
f.write("{} -dnull -noconsole << EOF\n".format(OPTS.drc_exe[1]))
f.write("gds polygon subcell true\n")
f.write("gds warning default\n")
f.write("gds flatten true\n")
f.write("gds readonly true\n")
f.write("gds read {}.gds\n".format(cell_name))
f.write("load {}\n".format(cell_name))