diff --git a/compiler/verify/magic.py b/compiler/verify/magic.py index 80385dc1..467e9893 100644 --- a/compiler/verify/magic.py +++ b/compiler/verify/magic.py @@ -95,10 +95,10 @@ def write_drc_script(cell_name, gds_name, extract, final_verification, output_pa f.write('puts "Finished loading cell {}"\n'.format(cell_name)) # Flatten the cell to get rid of DRCs spanning multiple layers # (e.g. with routes) - #f.write("flatten {}_new\n".format(cell_name)) - #f.write("load {}_new\n".format(cell_name)) - #f.write("cellname rename {0}_new {0}\n".format(cell_name)) - #f.write("load {}\n".format(cell_name)) + # f.write("flatten {}_new\n".format(cell_name)) + # f.write("load {}_new\n".format(cell_name)) + # f.write("cellname rename {0}_new {0}\n".format(cell_name)) + # f.write("load {}\n".format(cell_name)) f.write("cellname delete \\(UNNAMED\\)\n") f.write("writeall force\n") f.write("select top cell\n") diff --git a/compiler/verify/run_script.py b/compiler/verify/run_script.py index 05a9afb9..fff0c875 100644 --- a/compiler/verify/run_script.py +++ b/compiler/verify/run_script.py @@ -19,7 +19,7 @@ from globals import OPTS def run_script(cell_name, script="lvs"): """ Run script and create output files. """ - echo_cmd_output = OPTS.verbose_level > 1 + echo_cmd_output = OPTS.verbose_level > 0 and not OPTS.is_unit_test cwd = os.getcwd() os.chdir(OPTS.openram_temp)