Add "smtbmc --unroll"
authorClifford Wolf <clifford@clifford.at>
Sun, 22 Oct 2017 08:07:26 +0000 (10:07 +0200)
committerClifford Wolf <clifford@clifford.at>
Sun, 22 Oct 2017 08:07:26 +0000 (10:07 +0200)
sbysrc/sby_engine_smtbmc.py

index e368a91c1b110cab114ee469842369b6d9ace943..cc44f282531245cef60f85f98f13264316fd8a55 100644 (file)
@@ -25,7 +25,7 @@ def run(mode, job, engine_idx, engine):
     syn_opt = False
     stbv_opt = False
 
-    opts, args = getopt.getopt(engine[1:], "", ["nomem", "syn", "stbv", "presat"])
+    opts, args = getopt.getopt(engine[1:], "", ["nomem", "syn", "stbv", "presat", "unroll"])
 
     for o, a in opts:
         if o == "--nomem":
@@ -36,6 +36,8 @@ def run(mode, job, engine_idx, engine):
             stbv_opt = True
         elif o == "--presat":
             smtbmc_opts += ["--presat"]
+        elif o == "--unroll":
+            smtbmc_opts += ["--unroll"]
         else:
             assert False