From 7ff38491c6dd9c7e64fe59817f75bde86ce14172 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Mon, 30 Jan 2017 11:40:27 +0100 Subject: [PATCH] Use new "yosys-smtbmc --aig :" feature --- sbysrc/sby_bmc.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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")) -- 2.30.2