Merge pull request #195 from jix/sbyproc-truncated-output master
authorJannis Harder <me@jix.one>
Wed, 13 Jul 2022 15:30:36 +0000 (17:30 +0200)
committerGitHub <noreply@github.com>
Wed, 13 Jul 2022 15:30:36 +0000 (17:30 +0200)
Fix a race-condition SbyProc that could truncate output

sbysrc/sby_engine_abc.py

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