mirror of https://github.com/YosysHQ/yosys.git
qbfsat: Move SMT2 info statements back to the top of the file.
This commit is contained in:
parent
903456c267
commit
54570a3978
|
@ -236,6 +236,9 @@ class SmtIo:
|
||||||
|
|
||||||
self.setup_done = True
|
self.setup_done = True
|
||||||
|
|
||||||
|
for stmt in self.info_stmts:
|
||||||
|
self.write(stmt)
|
||||||
|
|
||||||
if self.forall and self.solver == "yices":
|
if self.forall and self.solver == "yices":
|
||||||
self.write("(set-option :yices-ef-max-iters 1000000000)")
|
self.write("(set-option :yices-ef-max-iters 1000000000)")
|
||||||
|
|
||||||
|
@ -244,9 +247,6 @@ class SmtIo:
|
||||||
|
|
||||||
self.write("(set-logic %s)" % self.logic)
|
self.write("(set-logic %s)" % self.logic)
|
||||||
|
|
||||||
for stmt in self.info_stmts:
|
|
||||||
self.write(stmt)
|
|
||||||
|
|
||||||
def timestamp(self):
|
def timestamp(self):
|
||||||
secs = int(time() - self.start_time)
|
secs = int(time() - self.start_time)
|
||||||
return "## %3d:%02d:%02d " % (secs // (60*60), (secs // 60) % 60, secs % 60)
|
return "## %3d:%02d:%02d " % (secs // (60*60), (secs // 60) % 60, secs % 60)
|
||||||
|
|
Loading…
Reference in New Issue