Revert gds readonly true

This commit is contained in:
mrg 2020-08-17 12:19:23 -07:00
parent 35a1b00aa0
commit 2c43d315db
1 changed files with 2 additions and 1 deletions

View File

@ -77,7 +77,8 @@ 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 readonly true\n")
# This causes substrate contacts to not be extracted
f.write("# gds readonly true\n")
f.write("gds read {}.gds\n".format(cell_name))
f.write("load {}\n".format(cell_name))
# Flatten the cell to get rid of DRCs spanning multiple layers