mirror of
https://github.com/VLSIDA/OpenRAM.git
synced 2026-08-22 06:07:31 +02:00
Save raw file by default for Xyce. Change command debug level.
This commit is contained in:
@@ -374,7 +374,8 @@ class stimuli():
|
||||
else:
|
||||
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
|
||||
cmd = "{0} {1} -r {3}timing.raw -o {3}timing.lis {2}".format(mpi_cmd,
|
||||
OPTS.spice_exe,
|
||||
temp_stim,
|
||||
OPTS.openram_temp)
|
||||
@@ -399,7 +400,7 @@ class stimuli():
|
||||
spice_stdout = open("{0}spice_stdout.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)
|
||||
|
||||
spice_stdout.close()
|
||||
|
||||
Reference in New Issue
Block a user