use --witness option when calling pono
authorN. Engelhardt <nak@symbioticeda.com>
Wed, 12 Jan 2022 09:48:32 +0000 (10:48 +0100)
committerN. Engelhardt <nak@symbioticeda.com>
Wed, 12 Jan 2022 09:55:08 +0000 (10:55 +0100)
sbysrc/sby_engine_btor.py

index 15344d8f41bdb741a2c35071bd974a6f4c84631a..bf9216b10f312a10963f0e04e10685fd113ed7b0 100644 (file)
@@ -46,7 +46,7 @@ def run(mode, task, engine_idx, engine):
     elif solver_args[0] == "pono":
         if random_seed:
             task.error("Setting the random seed is not available for the pono solver.")
-        solver_cmd = task.exe_paths["pono"] + f" -v 1 -e bmc -k {task.opt_depth - 1}"
+        solver_cmd = task.exe_paths["pono"] + f" --witness -v 1 -e bmc -k {task.opt_depth - 1}"
 
     else:
         task.error(f"Invalid solver command {solver_args[0]}.")