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

smtbmc updates db at each step

All properties marked UNKNOWN get dumped to the db for the previous step, each time the current step is updated.
This commit is contained in:
Krystine Sherwin 2025-07-08 15:47:32 +12:00
parent a332b017e4
commit e9f4f06fe9
No known key found for this signature in database
2 changed files with 8 additions and 0 deletions

View file

@ -1222,6 +1222,11 @@ class SbyTask(SbyConfig):
self.status = "ERROR"
self.terminate()
def update_unknown_asserts(self, data):
for prop in self.design.hierarchy:
if prop.type == prop.Type.ASSERT and prop.status == "UNKNOWN":
self.status_db.set_task_property_status(prop, data=data)
def pass_unknown_asserts(self, data):
for prop in self.design.pass_unknown_asserts():
self.status_db.set_task_property_status(prop, data=data)