3
0
Fork 0
mirror of https://github.com/YosysHQ/sby.git synced 2025-08-02 19:30:25 +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

@ -23,8 +23,7 @@ def run(task):
task.handle_int_option("depth", 20)
task.handle_int_option("append", 0)
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)}""")