3
0
Fork 0
mirror of https://github.com/YosysHQ/sby.git synced 2025-04-12 16:28:17 +00:00

abc pdr: Enable log output by default

This makes it consistent with the other abc solvers and shows whether
abc pdr is making progress.
This commit is contained in:
Jannis Harder 2022-07-08 12:36:44 +02:00
parent de43a4c936
commit 92e7eb2e32

View file

@ -41,6 +41,7 @@ def run(mode, task, engine_idx, engine):
elif abc_command[0] == "pdr": elif abc_command[0] == "pdr":
if mode != "prove": if mode != "prove":
task.error("ABC command 'pdr' is only valid in prove mode.") task.error("ABC command 'pdr' is only valid in prove mode.")
abc_command[0] += f" -v"
else: else:
task.error(f"Invalid ABC command {abc_command[0]}.") task.error(f"Invalid ABC command {abc_command[0]}.")