Fix output name of magic gds filter

This commit is contained in:
mrg 2020-06-19 07:15:27 -07:00
parent 94c480911b
commit 617a84d4b8
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ def run_drc(cell_name, gds_name, extract=False, final_verification=False):
if OPTS.tech_name == "sky130":
shutil.copy(gds_name, OPTS.openram_temp + "temp.gds")
from magic import filter_gds
filter_gds(cell_name, OPTS.openram_temp + "temp.gds", gds_name)
filter_gds(cell_name, OPTS.openram_temp + "temp.gds", OPTS.openram_temp + cell_name + ".gds")
else:
# Copy file to local dir if it isn't already
if os.path.dirname(gds_name)!=OPTS.openram_temp.rstrip('/'):