3
0
Fork 0
mirror of https://github.com/YosysHQ/sby.git synced 2025-08-14 00:51:18 +00:00

New "none" engine to be used with the "make_model" option

This commit is contained in:
Jannis Harder 2022-08-05 15:51:11 +02:00
parent 231f0b80aa
commit 3412ea859b
6 changed files with 26 additions and 4 deletions

View file

@ -597,7 +597,8 @@ class SbyTask(SbyConfig):
else:
print("async2sync", file=f)
print("chformal -assume -early", file=f)
print("formalff -clk2ff -ff2anyinit", file=f)
print("opt_clean", file=f)
print("formalff -setundef -clk2ff -ff2anyinit", file=f)
if self.opt_mode in ["bmc", "prove"]:
print("chformal -live -fair -cover -remove", file=f)
if self.opt_mode == "cover":
@ -661,7 +662,7 @@ class SbyTask(SbyConfig):
print("hierarchy -smtcheck", file=f)
if "_nomem" in model_name:
print("memory_map -formal", file=f)
print("formalff -clk2ff -ff2anyinit", file=f)
print("formalff -setundef -clk2ff -ff2anyinit", file=f)
if "_syn" in model_name:
print("techmap", file=f)
print("opt -fast", file=f)
@ -693,7 +694,7 @@ class SbyTask(SbyConfig):
print("hierarchy -simcheck", file=f)
if "_nomem" in model_name:
print("memory_map -formal", file=f)
print("formalff -clk2ff -ff2anyinit", file=f)
print("formalff -setundef -clk2ff -ff2anyinit", file=f)
print("flatten", file=f)
print("setundef -undriven -anyseq", file=f)
if "_syn" in model_name:
@ -726,7 +727,7 @@ class SbyTask(SbyConfig):
print("read_ilang design_prep.il", file=f)
print("hierarchy -simcheck", file=f)
print("memory_map -formal", file=f)
print("formalff -clk2ff -ff2anyinit", file=f)
print("formalff -setundef -clk2ff -ff2anyinit", file=f)
print("flatten", file=f)
print("setundef -undriven -anyseq", file=f)
print("setattr -unset keep", file=f)