mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-13 04:28:18 +00:00
Add support for the Bitwuzla solver
This commit is contained in:
parent
0565c642a0
commit
4379375d89
|
@ -203,14 +203,14 @@ class SmtIo:
|
||||||
print('timeout option is not supported for mathsat.')
|
print('timeout option is not supported for mathsat.')
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
if self.solver == "boolector":
|
if self.solver in ["boolector", "bitwuzla"]:
|
||||||
if self.noincr:
|
if self.noincr:
|
||||||
self.popen_vargs = ['boolector', '--smt2'] + self.solver_opts
|
self.popen_vargs = [self.solver, '--smt2'] + self.solver_opts
|
||||||
else:
|
else:
|
||||||
self.popen_vargs = ['boolector', '--smt2', '-i'] + self.solver_opts
|
self.popen_vargs = [self.solver, '--smt2', '-i'] + self.solver_opts
|
||||||
self.unroll = True
|
self.unroll = True
|
||||||
if self.timeout != 0:
|
if self.timeout != 0:
|
||||||
print('timeout option is not supported for boolector.')
|
print('timeout option is not supported for %s.' % self.solver)
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
if self.solver == "abc":
|
if self.solver == "abc":
|
||||||
|
@ -1010,7 +1010,7 @@ class SmtOpts:
|
||||||
def helpmsg(self):
|
def helpmsg(self):
|
||||||
return """
|
return """
|
||||||
-s <solver>
|
-s <solver>
|
||||||
set SMT solver: z3, yices, boolector, cvc4, mathsat, dummy
|
set SMT solver: z3, yices, boolector, bitwuzla, cvc4, mathsat, dummy
|
||||||
default: yices
|
default: yices
|
||||||
|
|
||||||
-S <opt>
|
-S <opt>
|
||||||
|
|
Loading…
Reference in a new issue