3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-07 01:54:10 +00:00

smtbmc: Force nonincremental mode when yices is used with forall

This commit is contained in:
Jannis Harder 2022-06-03 16:45:23 +02:00
parent d88a5d26b7
commit ab9e887dee

View file

@ -176,7 +176,10 @@ class SmtIo:
self.unroll = False
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
else:
self.popen_vargs = ['yices-smt2', '--incremental'] + self.solver_opts