mirror of
https://github.com/YosysHQ/sby.git
synced 2025-07-24 15:18:58 +00:00
Add aigfolds option
Signed-off-by: Claire Xenia Wolf <claire@clairexen.net>
This commit is contained in:
parent
c027aea3db
commit
8b3ba68845
2 changed files with 3 additions and 2 deletions
|
@ -66,7 +66,7 @@ def run(mode, task, engine_idx, engine):
|
|||
task,
|
||||
f"engine_{engine_idx}",
|
||||
task.model("aig"),
|
||||
f"""cd {task.workdir}; {task.exe_paths["abc"]} -c 'read_aiger model/design_aiger.aig; fold; strash; {" ".join(abc_command)}; write_cex -a engine_{engine_idx}/trace.aiw'""",
|
||||
f"""cd {task.workdir}; {task.exe_paths["abc"]} -c 'read_aiger model/design_aiger.aig; fold{" -s" if task.opt_aigfolds else ""}; strash; {" ".join(abc_command)}; write_cex -a engine_{engine_idx}/trace.aiw'""",
|
||||
logfile=open(f"{task.workdir}/engine_{engine_idx}/logfile.txt", "w")
|
||||
)
|
||||
proc.checkretcode = True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue