mirror of
https://github.com/YosysHQ/sby.git
synced 2025-04-05 14:04:07 +00:00
Add aigvmap and aigsyms options
Signed-off-by: Claire Xenia Wolf <claire@clairexen.net>
This commit is contained in:
parent
81b9de988b
commit
7d60a3ba34
|
@ -1136,7 +1136,8 @@ class SbyTask(SbyConfig):
|
||||||
print("abc -g AND -fast", file=f)
|
print("abc -g AND -fast", file=f)
|
||||||
print("opt_clean", file=f)
|
print("opt_clean", file=f)
|
||||||
print("stat", file=f)
|
print("stat", file=f)
|
||||||
print("write_aiger -I -B -zinit -no-startoffset -map design_aiger.aim -ywmap design_aiger.ywa design_aiger.aig", file=f)
|
print(f"write_aiger -I -B -zinit -no-startoffset {'-vmap' if self.opt_aigvmap else '-map'} design_aiger.aim" +
|
||||||
|
f"{' -symbols' if self.opt_aigsyms else ''} -ywmap design_aiger.ywa design_aiger.aig", file=f)
|
||||||
|
|
||||||
proc = SbyProc(
|
proc = SbyProc(
|
||||||
self,
|
self,
|
||||||
|
@ -1235,6 +1236,8 @@ class SbyTask(SbyConfig):
|
||||||
self.handle_bool_option("fst", False)
|
self.handle_bool_option("fst", False)
|
||||||
|
|
||||||
self.handle_bool_option("witrename", True)
|
self.handle_bool_option("witrename", True)
|
||||||
|
self.handle_bool_option("aigvmap", False)
|
||||||
|
self.handle_bool_option("aigsyms", False)
|
||||||
|
|
||||||
self.handle_str_option("smtc", None)
|
self.handle_str_option("smtc", None)
|
||||||
self.handle_int_option("skip", None)
|
self.handle_int_option("skip", None)
|
||||||
|
|
Loading…
Reference in a new issue