From: Clifford Wolf Date: Mon, 30 Jan 2017 10:40:27 +0000 (+0100) Subject: Use new "yosys-smtbmc --aig :" feature X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7ff38491c6dd9c7e64fe59817f75bde86ce14172;p=SymbiYosys.git Use new "yosys-smtbmc --aig :" feature --- diff --git a/sbysrc/sby_bmc.py b/sbysrc/sby_bmc.py index 1c146f7..6a1970f 100644 --- a/sbysrc/sby_bmc.py +++ b/sbysrc/sby_bmc.py @@ -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"))