mirror of https://github.com/YosysHQ/yosys.git
Change default smt2 solver to yices (Yices 2 has switched its license to GPL)
This commit is contained in:
parent
fad52abf70
commit
d9201b85f3
|
@ -72,7 +72,7 @@ class SmtIo:
|
||||||
self.nocomments = opts.nocomments
|
self.nocomments = opts.nocomments
|
||||||
|
|
||||||
else:
|
else:
|
||||||
self.solver = "z3"
|
self.solver = "yices"
|
||||||
self.solver_opts = list()
|
self.solver_opts = list()
|
||||||
self.debug_print = False
|
self.debug_print = False
|
||||||
self.debug_file = None
|
self.debug_file = None
|
||||||
|
@ -649,7 +649,7 @@ class SmtOpts:
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.shortopts = "s:S:v"
|
self.shortopts = "s:S:v"
|
||||||
self.longopts = ["unroll", "noincr", "noprogress", "dump-smt2=", "logic=", "dummy=", "info=", "nocomments"]
|
self.longopts = ["unroll", "noincr", "noprogress", "dump-smt2=", "logic=", "dummy=", "info=", "nocomments"]
|
||||||
self.solver = "z3"
|
self.solver = "yices"
|
||||||
self.solver_opts = list()
|
self.solver_opts = list()
|
||||||
self.debug_print = False
|
self.debug_print = False
|
||||||
self.debug_file = None
|
self.debug_file = None
|
||||||
|
@ -691,8 +691,8 @@ class SmtOpts:
|
||||||
def helpmsg(self):
|
def helpmsg(self):
|
||||||
return """
|
return """
|
||||||
-s <solver>
|
-s <solver>
|
||||||
set SMT solver: z3, cvc4, yices, mathsat, boolector, dummy
|
set SMT solver: z3, yices, boolector, cvc4, mathsat, dummy
|
||||||
default: z3
|
default: yices
|
||||||
|
|
||||||
-S <opt>
|
-S <opt>
|
||||||
pass <opt> as command line argument to the solver
|
pass <opt> as command line argument to the solver
|
||||||
|
|
Loading…
Reference in New Issue