mirror of
https://github.com/YosysHQ/sby.git
synced 2025-08-09 06:41:26 +00:00
Update unknown covers as well as asserts
Currently only applicable to smtbmc. Also don't update assert depth during `cover` mode.
This commit is contained in:
parent
488d25b625
commit
2aa8d266ad
2 changed files with 6 additions and 3 deletions
|
@ -1260,9 +1260,12 @@ class SbyTask(SbyConfig):
|
|||
self.status = "ERROR"
|
||||
self.terminate()
|
||||
|
||||
def update_unknown_asserts(self, data):
|
||||
def update_unknown_props(self, data):
|
||||
for prop in self.design.hierarchy:
|
||||
if prop.type == prop.Type.ASSERT and prop.status == "UNKNOWN":
|
||||
if prop.status != "UNKNOWN":
|
||||
continue
|
||||
if ((prop.type == prop.Type.ASSERT and self.opt_mode in ["bmc", "prove"]) or
|
||||
(prop.type == prop.Type.COVER and self.opt_mode == "cover")):
|
||||
self.status_db.set_task_property_status(prop, data=data)
|
||||
|
||||
def pass_unknown_asserts(self, data):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue