From b9ad91b93eb2863fb6b95c1ea3329156ae628837 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Wed, 4 Jan 2017 15:23:48 +0100 Subject: Implicitly set "yosys-smtbmc --noprogress" on windows --- backends/smt2/smtio.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'backends') diff --git a/backends/smt2/smtio.py b/backends/smt2/smtio.py index 6ec036a3b..497b72db8 100644 --- a/backends/smt2/smtio.py +++ b/backends/smt2/smtio.py @@ -16,7 +16,7 @@ # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. # -import sys, subprocess, re +import sys, subprocess, re, os from copy import deepcopy from select import select from time import time @@ -73,7 +73,7 @@ class SmtIo: self.debug_print = False self.debug_file = None self.dummy_file = None - self.timeinfo = True + self.timeinfo = os.name != "nt" self.unroll = False self.noincr = False self.info_stmts = list() @@ -618,7 +618,7 @@ class SmtOpts: self.dummy_file = None self.unroll = False self.noincr = False - self.timeinfo = True + self.timeinfo = os.name != "nt" self.logic = None self.info_stmts = list() self.nocomments = False @@ -673,6 +673,7 @@ class SmtOpts: --noprogress disable timer display during solving + (this option is set implicitly on Windows) --dump-smt2 write smt2 statements to file -- cgit v1.2.3