From cd5fd6ce6c548de696bf2c4ac8e47741e6ded8a9 Mon Sep 17 00:00:00 2001 From: Ganesh Gore Date: Wed, 18 Sep 2019 12:14:26 -0600 Subject: [PATCH] Added explicit checking to VVP execution --- openfpga_flow/scripts/run_fpga_flow.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/openfpga_flow/scripts/run_fpga_flow.py b/openfpga_flow/scripts/run_fpga_flow.py index 9cb187b94..6a203e302 100644 --- a/openfpga_flow/scripts/run_fpga_flow.py +++ b/openfpga_flow/scripts/run_fpga_flow.py @@ -854,12 +854,14 @@ def run_netlists_verification(): command += [tb_top_autochecked] run_command("iverilog_verification", "iverilog_output.txt", command) - vvp_command = ["vvp", "-Nvs", compiled_file] + vvp_command = ["vvp", compiled_file] output = run_command("vvp_verification", "vvp_sim_output.txt", vvp_command) if "Succeed" in output: logger.info("VVP Simulation Successful") else: - logger.info(str(output).split("\n")[-1]) + logger.error(str(output).split("\n")[-1]) + if exit_if_fail: + clean_up_and_exit("Failed to run VVP verification") ExecTime["VerificationEnd"] = time.time()