mirror of https://github.com/VLSIDA/OpenRAM.git
Allow verbose output from scripts with one -v and not unit test
This commit is contained in:
parent
fb4cf0d4d1
commit
b621c3bdc0
|
|
@ -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")
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue