mirror of
https://github.com/YosysHQ/sby.git
synced 2025-04-12 16:28:17 +00:00
Use "hierarchy -simcheck" in default script
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
parent
35d956c7bb
commit
d24d7e1aef
|
@ -300,6 +300,7 @@ class SbyJob:
|
||||||
print("setundef -anyseq", file=f)
|
print("setundef -anyseq", file=f)
|
||||||
print("opt -keepdc -fast", file=f)
|
print("opt -keepdc -fast", file=f)
|
||||||
print("check", file=f)
|
print("check", file=f)
|
||||||
|
print("hierarchy -simcheck", file=f)
|
||||||
print("write_ilang ../model/design%s.il" % ("" if model_name == "base" else "_nomem"), file=f)
|
print("write_ilang ../model/design%s.il" % ("" if model_name == "base" else "_nomem"), file=f)
|
||||||
|
|
||||||
task = SbyTask(self, model_name, [],
|
task = SbyTask(self, model_name, [],
|
||||||
|
|
|
@ -146,7 +146,8 @@ def run(mode, job, engine_idx, engine):
|
||||||
return line
|
return line
|
||||||
|
|
||||||
def exit_callback(retcode):
|
def exit_callback(retcode):
|
||||||
assert task_status is not None
|
if task_status is None:
|
||||||
|
job.error("engine_%d: Engine terminated without status." % engine_idx)
|
||||||
|
|
||||||
if mode == "bmc" or mode == "cover":
|
if mode == "bmc" or mode == "cover":
|
||||||
job.update_status(task_status)
|
job.update_status(task_status)
|
||||||
|
|
Loading…
Reference in a new issue