Use new "yosys-smtbmc --aig <aim>:<aiw>" feature
authorClifford Wolf <clifford@clifford.at>
Mon, 30 Jan 2017 10:40:27 +0000 (11:40 +0100)
committerClifford Wolf <clifford@clifford.at>
Mon, 30 Jan 2017 10:40:27 +0000 (11:40 +0100)
sbysrc/sby_bmc.py

index 1c146f7f7991d4ea78eb7242cb3c11dd292562b0..6a1970fafd0629dae7fefc3ef95bd68a82ac3517 100644 (file)
@@ -113,10 +113,9 @@ def run_abc(job, engine_idx, engine):
                 t.terminate()
 
         if job.status == "FAIL":
-            copyfile("%s/model/design_aiger.aim" % job.workdir, "%s/engine_%d/trace.aim" % (job.workdir, engine_idx))
             task2 = SbyTask(job, "engine_%d" % engine_idx, job.model("smt2"),
                     ("cd %s; yosys-smtbmc --noprogress -t %d --dump-vcd engine_%d/trace.vcd --dump-vlogtb engine_%d/trace_tb.v " +
-                     "--dump-smtc engine_%d/trace.smtc --aig engine_%d/trace --aig-noheader model/design_smt2.smt2") %
+                     "--dump-smtc engine_%d/trace.smtc --aig model/design_aiger.aim:engine_%d/trace.aiw --aig-noheader model/design_smt2.smt2") %
                             (job.workdir, job.opt_depth, engine_idx, engine_idx, engine_idx, engine_idx),
                     logfile=open("%s/engine_%d/logfile2.txt" % (job.workdir, engine_idx), "w"))