Fixed memchar test output name

This commit is contained in:
Bugra Onal 2023-04-19 18:44:09 -07:00
parent 07411892c1
commit 3f94e22860
1 changed files with 2 additions and 2 deletions

View File

@ -23,14 +23,14 @@ class sram_char_test(openram_test):
global OPTS
out_file = "testsram"
out_path = "{0}/testsram_{1}_{2}_{3}".format(OPTS.openram_temp, OPTS.tech_name, getpass.getuser(), os.getpid())
OPTS.output_name = out_file
OPTS.output_name = "sram_2_16_1_{0}".format(OPTS.tech_name)
OPTS.output_path = out_path
OPENRAM_HOME = os.path.abspath(os.environ.get("OPENRAM_HOME"))
config_file = "{}/tests/configs/config_mem_char_func".format(OPENRAM_HOME)
openram.init_openram(config_file, is_unit_test=False)
sp_file = "{0}/tests/sp_files/sram_2_16_1_{1}.sp".format(OPENRAM_HOME, OPTS.tech_name)
sp_file = "{0}/tests/sp_files/{1}.sp".format(OPENRAM_HOME, OPTS.output_name)
debug.info(1, "Testing commandline characterizer script sram_char.py with 2-bit, 16 word SRAM.")