mirror of https://github.com/VLSIDA/OpenRAM.git
Save raw file by default for Xyce. Change command debug level.
This commit is contained in:
parent
ee1c2054d3
commit
4a9f361ab9
|
|
@ -374,10 +374,11 @@ class stimuli():
|
||||||
else:
|
else:
|
||||||
mpi_cmd = ""
|
mpi_cmd = ""
|
||||||
|
|
||||||
cmd = "{0} {1} -o {3}timing.lis {2}".format(mpi_cmd,
|
# Xyce can save a raw file while doing timing, so keep it around
|
||||||
OPTS.spice_exe,
|
cmd = "{0} {1} -r {3}timing.raw -o {3}timing.lis {2}".format(mpi_cmd,
|
||||||
temp_stim,
|
OPTS.spice_exe,
|
||||||
OPTS.openram_temp)
|
temp_stim,
|
||||||
|
OPTS.openram_temp)
|
||||||
|
|
||||||
valid_retcode=0
|
valid_retcode=0
|
||||||
else:
|
else:
|
||||||
|
|
@ -399,7 +400,7 @@ class stimuli():
|
||||||
spice_stdout = open("{0}spice_stdout.log".format(OPTS.openram_temp), 'w')
|
spice_stdout = open("{0}spice_stdout.log".format(OPTS.openram_temp), 'w')
|
||||||
spice_stderr = open("{0}spice_stderr.log".format(OPTS.openram_temp), 'w')
|
spice_stderr = open("{0}spice_stderr.log".format(OPTS.openram_temp), 'w')
|
||||||
|
|
||||||
debug.info(3, cmd)
|
debug.info(2, cmd)
|
||||||
retcode = subprocess.call(cmd, stdout=spice_stdout, stderr=spice_stderr, shell=True)
|
retcode = subprocess.call(cmd, stdout=spice_stdout, stderr=spice_stderr, shell=True)
|
||||||
|
|
||||||
spice_stdout.close()
|
spice_stdout.close()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue