mirror of https://github.com/VLSIDA/OpenRAM.git
Fix syntax error. Enable script echo on -v -v.
This commit is contained in:
parent
59c6980052
commit
e817b02ade
|
|
@ -19,8 +19,7 @@ from globals import OPTS
|
||||||
def run_script(cell_name, script="lvs"):
|
def run_script(cell_name, script="lvs"):
|
||||||
""" Run script and create output files. """
|
""" Run script and create output files. """
|
||||||
|
|
||||||
# FIXME: Set this value based on options somewhere
|
echo_cmd_output = OPTS.verbose_level > 1
|
||||||
echo_cmd_output = True
|
|
||||||
|
|
||||||
cwd = os.getcwd()
|
cwd = os.getcwd()
|
||||||
os.chdir(OPTS.openram_temp)
|
os.chdir(OPTS.openram_temp)
|
||||||
|
|
@ -62,7 +61,7 @@ def run_script(cell_name, script="lvs"):
|
||||||
p.wait()
|
p.wait()
|
||||||
|
|
||||||
# Kill the tail commands if they haven't finished.
|
# Kill the tail commands if they haven't finished.
|
||||||
if cmd_output:
|
if echo_cmd_output:
|
||||||
if tailo.poll() != None:
|
if tailo.poll() != None:
|
||||||
tailo.kill()
|
tailo.kill()
|
||||||
tailo.wait()
|
tailo.wait()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue