Fix "smtbmc --syn" and "smtbmc --nomem"
authorClifford Wolf <clifford@clifford.at>
Thu, 9 Feb 2017 13:32:16 +0000 (14:32 +0100)
committerClifford Wolf <clifford@clifford.at>
Thu, 9 Feb 2017 13:32:16 +0000 (14:32 +0100)
sbysrc/sby_engine_smtbmc.py

index cb071116a34749873cd3c727692ef57e9f1f93ae..15bcbd232ca2931c3fc804b37e9f06a00538961a 100644 (file)
@@ -65,8 +65,8 @@ def run(mode, job, engine_idx, engine):
         trace_prefix += "%"
 
     task = SbyTask(job, taskname, job.model(model_name),
-            ("cd %s; %s --noprogress %s -t %d --dump-vcd %s.vcd --dump-vlogtb %s_tb.v --dump-smtc %s.smtc model/design_smt2.smt2") %
-                    (job.workdir, job.exe_paths["smtbmc"], " ".join(smtbmc_opts), job.opt_depth, trace_prefix, trace_prefix, trace_prefix),
+            "cd %s; %s --noprogress %s -t %d --dump-vcd %s.vcd --dump-vlogtb %s_tb.v --dump-smtc %s.smtc model/design_%s.smt2" %
+                    (job.workdir, job.exe_paths["smtbmc"], " ".join(smtbmc_opts), job.opt_depth, trace_prefix, trace_prefix, trace_prefix, model_name),
             logfile=open(logfile_prefix + ".txt", "w"))
 
     if mode == "prove_basecase":