diff --git a/TESTBENCH/common/generate_post_pnr_testbenches.py b/TESTBENCH/common/generate_post_pnr_testbenches.py index 7e94d3c..d43a62d 100644 --- a/TESTBENCH/common/generate_post_pnr_testbenches.py +++ b/TESTBENCH/common/generate_post_pnr_testbenches.py @@ -64,7 +64,7 @@ os.makedirs(post_pnr_testbench_dir_abspath, exist_ok=True) ##################################################################### logging.info("Converting pre-PnR testbench to post-PnR testbench..."); for curr_pre_pnr_testbench_file in pre_pnr_testbench_files: - logging.info("\nProcessing " + curr_pre_pnr_testbench_file + " testbench:\n") + logging.info("Processing " + curr_pre_pnr_testbench_file + " testbench:") curr_post_pnr_testbench_file = re.sub("_autocheck_top_tb.v$", "_post_pnr_autocheck_top_tb.v", curr_pre_pnr_testbench_file) curr_post_pnr_testbench_file = re.sub("\/prepnr\/", "\/postpnr\/", curr_post_pnr_testbench_file) cmd = "python3 ./post_pnr_testbench_converter.py " \ @@ -72,6 +72,6 @@ for curr_pre_pnr_testbench_file in pre_pnr_testbench_files: + " --post_pnr_testbench " + curr_post_pnr_testbench_file subprocess.run(cmd, shell=True, check=True) num_converted_testbenches += 1 + logging.info("Done") -logging.info("Done") logging.info("\nConverted " + str(num_converted_testbenches) + " testbenches.")