mirror of
https://github.com/YosysHQ/sby.git
synced 2025-04-06 14:24:08 +00:00
Disable unrolling per default for z3
This commit is contained in:
parent
770c6441d8
commit
25936009bb
|
@ -8,7 +8,6 @@ smtbmc
|
|||
[script]
|
||||
read_verilog -sv -formal dpmem.sv
|
||||
prep -nordff -top top
|
||||
memory_map
|
||||
chformal -early -assume
|
||||
clk2fflogic
|
||||
opt_clean
|
||||
|
|
|
@ -23,7 +23,7 @@ def run(mode, job, engine_idx, engine):
|
|||
smtbmc_opts = []
|
||||
nomem_opt = False
|
||||
presat_opt = True
|
||||
unroll_opt = True
|
||||
unroll_opt = None
|
||||
syn_opt = False
|
||||
stbv_opt = False
|
||||
dumpsmt2 = False
|
||||
|
@ -50,15 +50,17 @@ def run(mode, job, engine_idx, engine):
|
|||
else:
|
||||
assert False
|
||||
|
||||
for i, a in enumerate(args):
|
||||
if i == 0 and a == "z3" and unroll_opt is None:
|
||||
unroll_opt = False
|
||||
smtbmc_opts += ["-s" if i == 0 else "-S", a]
|
||||
|
||||
if presat_opt:
|
||||
smtbmc_opts += ["--presat"]
|
||||
|
||||
if unroll_opt:
|
||||
if unroll_opt is None or unroll_opt:
|
||||
smtbmc_opts += ["--unroll"]
|
||||
|
||||
for i, a in enumerate(args):
|
||||
smtbmc_opts += ["-s" if i == 0 else "-S", a]
|
||||
|
||||
if job.opt_smtc is not None:
|
||||
smtbmc_opts += ["--smtc", "src/%s" % job.opt_smtc]
|
||||
|
||||
|
|
Loading…
Reference in a new issue