mirror of
https://github.com/YosysHQ/sby.git
synced 2025-04-04 05:49:57 +00:00
Add colors to engine header message
Signed-off-by: Claire Xenia Wolf <claire@clairexen.net>
This commit is contained in:
parent
e8d713cc27
commit
c29a5bbe8a
|
@ -16,7 +16,7 @@
|
|||
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
#
|
||||
|
||||
import re, os, getopt
|
||||
import re, os, getopt, click
|
||||
from sby_core import SbyProc
|
||||
|
||||
def run(task):
|
||||
|
@ -25,7 +25,7 @@ def run(task):
|
|||
task.handle_str_option("aigsmt", "yices")
|
||||
|
||||
for engine_idx, engine in task.engine_list():
|
||||
task.log(f"""engine_{engine_idx}: {" ".join(engine)}""")
|
||||
task.log(f"{click.style(f'engine_{engine_idx}', fg='magenta')}: {' '.join(engine)}")
|
||||
task.makedirs(f"{task.workdir}/engine_{engine_idx}")
|
||||
|
||||
if engine[0] == "smtbmc":
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
#
|
||||
|
||||
import re, os, getopt
|
||||
import re, os, getopt, click
|
||||
from sby_core import SbyProc
|
||||
|
||||
def run(task):
|
||||
|
@ -24,7 +24,7 @@ def run(task):
|
|||
task.handle_int_option("append", 0)
|
||||
|
||||
for engine_idx, engine in task.engine_list():
|
||||
task.log(f"""engine_{engine_idx}: {" ".join(engine)}""")
|
||||
task.log(f"{click.style(f'engine_{engine_idx}', fg='magenta')}: {' '.join(engine)}")
|
||||
task.makedirs(f"{task.workdir}/engine_{engine_idx}")
|
||||
|
||||
if engine[0] == "smtbmc":
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
#
|
||||
|
||||
import re, os, getopt
|
||||
import re, os, getopt, click
|
||||
from sby_core import SbyProc
|
||||
|
||||
def run(task):
|
||||
|
@ -25,7 +25,7 @@ def run(task):
|
|||
task.status = "UNKNOWN"
|
||||
|
||||
for engine_idx, engine in task.engine_list():
|
||||
task.log(f"""engine_{engine_idx}: {" ".join(engine)}""")
|
||||
task.log(f"{click.style(f'engine_{engine_idx}', fg='magenta')}: {' '.join(engine)}")
|
||||
task.makedirs(f"{task.workdir}/engine_{engine_idx}")
|
||||
|
||||
if engine[0] == "aiger":
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
#
|
||||
|
||||
import re, os, getopt
|
||||
import re, os, getopt, click
|
||||
from sby_core import SbyProc
|
||||
|
||||
def run(task):
|
||||
|
@ -32,7 +32,7 @@ def run(task):
|
|||
task.induction_procs = list()
|
||||
|
||||
for engine_idx, engine in task.engine_list():
|
||||
task.log(f"""engine_{engine_idx}: {" ".join(engine)}""")
|
||||
task.log(f"{click.style(f'engine_{engine_idx}', fg='magenta')}: {' '.join(engine)}")
|
||||
task.makedirs(f"{task.workdir}/engine_{engine_idx}")
|
||||
|
||||
if engine[0] == "smtbmc":
|
||||
|
|
Loading…
Reference in a new issue