mirror of https://github.com/VLSIDA/OpenRAM.git
Use correct back end config file.
This commit is contained in:
parent
8d8565bd9c
commit
534c6b36df
|
|
@ -26,7 +26,7 @@ class openram_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
OPENRAM_HOME = os.path.abspath(os.environ.get("OPENRAM_HOME"))
|
OPENRAM_HOME = os.path.abspath(os.environ.get("OPENRAM_HOME"))
|
||||||
globals.init_openram("{0}/tests/config_{1}_back_end".format(OPENRAM_HOME,OPTS.tech_name))
|
globals.init_openram("{0}/tests/config_{1}".format(OPENRAM_HOME,OPTS.tech_name))
|
||||||
|
|
||||||
debug.info(1, "Testing top-level back-end openram.py with 2-bit, 16 word SRAM.")
|
debug.info(1, "Testing top-level back-end openram.py with 2-bit, 16 word SRAM.")
|
||||||
out_file = "testsram"
|
out_file = "testsram"
|
||||||
|
|
@ -54,7 +54,7 @@ class openram_test(openram_test):
|
||||||
exe_name = "{0}/openram.py ".format(OPENRAM_HOME)
|
exe_name = "{0}/openram.py ".format(OPENRAM_HOME)
|
||||||
else:
|
else:
|
||||||
exe_name = "coverage run -p {0}/openram.py ".format(OPENRAM_HOME)
|
exe_name = "coverage run -p {0}/openram.py ".format(OPENRAM_HOME)
|
||||||
config_name = "{0}config_{1}.py".format(OPENRAM_HOME + "/tests/",OPTS.tech_name)
|
config_name = "{0}config_{1}_back_end.py".format(OPENRAM_HOME + "/tests/",OPTS.tech_name)
|
||||||
cmd = "{0} -n -o {1} -p {2} {3} {4} 2>&1 > {5}/output.log".format(exe_name,
|
cmd = "{0} -n -o {1} -p {2} {3} {4} 2>&1 > {5}/output.log".format(exe_name,
|
||||||
out_file,
|
out_file,
|
||||||
out_path,
|
out_path,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue