3
0
Fork 0
mirror of https://github.com/YosysHQ/sby.git synced 2025-08-08 22:31:26 +00:00

Automatic engine selection

This commit is contained in:
Jannis Harder 2022-04-25 12:27:18 +02:00
parent 5014d74023
commit b4458d43d7
7 changed files with 731 additions and 21 deletions

View file

@ -24,8 +24,7 @@ def run(task):
task.handle_int_option("append", 0)
task.handle_str_option("aigsmt", "yices")
for engine_idx in range(len(task.engines)):
engine = task.engines[engine_idx]
for engine_idx, engine in task.engine_list():
assert len(engine) > 0
task.log(f"""engine_{engine_idx}: {" ".join(engine)}""")