mirror of https://github.com/YosysHQ/yosys.git
smtbmc: Force nonincremental mode when yices is used with forall
This commit is contained in:
parent
d88a5d26b7
commit
ab9e887dee
|
@ -176,7 +176,10 @@ class SmtIo:
|
||||||
self.unroll = False
|
self.unroll = False
|
||||||
|
|
||||||
if self.solver == "yices":
|
if self.solver == "yices":
|
||||||
if self.noincr or self.forall:
|
if self.forall:
|
||||||
|
self.noincr = True
|
||||||
|
|
||||||
|
if self.noincr:
|
||||||
self.popen_vargs = ['yices-smt2'] + self.solver_opts
|
self.popen_vargs = ['yices-smt2'] + self.solver_opts
|
||||||
else:
|
else:
|
||||||
self.popen_vargs = ['yices-smt2', '--incremental'] + self.solver_opts
|
self.popen_vargs = ['yices-smt2', '--incremental'] + self.solver_opts
|
||||||
|
|
Loading…
Reference in New Issue