3
0
Fork 0
mirror of https://github.com/YosysHQ/sby.git synced 2025-08-03 11:50:26 +00:00

handle unreached cover properties

This commit is contained in:
N. Engelhardt 2022-02-07 15:29:36 +01:00
parent 5abaccab69
commit 53eb25fcae
4 changed files with 41 additions and 2 deletions

View file

@ -201,6 +201,12 @@ def run(mode, task, engine_idx, engine):
last_prop.tracefile = match[1]
last_prop = None
match = re.match(r"^## [0-9: ]+ Unreached cover statement at (\S+) \((\S+)\).", line)
if match:
cell_name = match[2]
prop = task.design_hierarchy.find_property_by_cellname(cell_name)
prop.status = "FAIL"
return line
def exit_callback(retcode):