[Testbench] Bug fix in calling sub python script

This commit is contained in:
tangxifan 2020-12-01 08:14:43 -07:00
parent 11d4b156b4
commit d867dbb1bf
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ for curr_pre_pnr_testbench_file in pre_pnr_testbench_files:
curr_post_pnr_testbench_file = re.sub("\/prepnr\/", "\/postpnr\/", curr_post_pnr_testbench_file) curr_post_pnr_testbench_file = re.sub("\/prepnr\/", "\/postpnr\/", curr_post_pnr_testbench_file)
curr_wrapper_testbench_file = re.sub("_autocheck_top_tb.v$", "_wrapper_autocheck_top_tb.v", curr_post_pnr_testbench_file) curr_wrapper_testbench_file = re.sub("_autocheck_top_tb.v$", "_wrapper_autocheck_top_tb.v", curr_post_pnr_testbench_file)
logging.info("Processing " + curr_post_pnr_testbench_file + " testbench:") logging.info("Processing " + curr_post_pnr_testbench_file + " testbench:")
cmd = "python3 " + script_base_dir_abspath + "./post_pnr_wrapper_testbench_converter.py " \ cmd = "python3 " + script_base_dir_abspath + "/post_pnr_wrapper_testbench_converter.py " \
+ " --post_pnr_testbench " + curr_post_pnr_testbench_file \ + " --post_pnr_testbench " + curr_post_pnr_testbench_file \
+ " --pin_assignment_file " + args.pin_assignment_file \ + " --pin_assignment_file " + args.pin_assignment_file \
+ " --wrapper_testbench " + curr_wrapper_testbench_file + " --wrapper_testbench " + curr_wrapper_testbench_file