3
0
Fork 0
mirror of https://github.com/YosysHQ/sby.git synced 2025-07-24 15:18:58 +00:00

Add aigsmt option

This commit is contained in:
Clifford Wolf 2017-02-25 15:06:47 +01:00
parent 1c8e006e46
commit eb83a1b90e
4 changed files with 12 additions and 4 deletions

View file

@ -21,10 +21,14 @@ from sby_core import SbyTask
def run(job):
job.opt_depth = 20
job.opt_aigsmt = "z3"
if "depth" in job.options:
job.opt_depth = int(job.options["depth"])
if "aigsmt" in job.options:
job.opt_aigsmt = job.options["aigsmt"]
for engine_idx in range(len(job.engines)):
engine = job.engines[engine_idx]
assert len(engine) > 0