mirror of
https://github.com/YosysHQ/sby.git
synced 2025-08-16 18:05:31 +00:00
Merge f17a6e118a
into 17b74bf3d6
This commit is contained in:
commit
efea641942
5 changed files with 368 additions and 4 deletions
|
@ -176,7 +176,10 @@ def run(mode, task, engine_idx, engine):
|
|||
match = re.match(r"Writing CEX for output ([0-9]+) to engine_[0-9]+/(.*)\.aiw", line)
|
||||
if match:
|
||||
output = int(match[1])
|
||||
prop = aiger_props[output]
|
||||
try:
|
||||
prop = aiger_props[output]
|
||||
except IndexError:
|
||||
prop = None
|
||||
if prop:
|
||||
prop.status = "FAIL"
|
||||
task.status_db.set_task_property_status(prop, data=dict(source="abc pdr", engine=f"engine_{engine_idx}"))
|
||||
|
@ -195,7 +198,10 @@ def run(mode, task, engine_idx, engine):
|
|||
match = re.match(r"^Proved output +([0-9]+) in frame +-?[0-9]+", line)
|
||||
if match:
|
||||
output = int(match[1])
|
||||
prop = aiger_props[output]
|
||||
try:
|
||||
prop = aiger_props[output]
|
||||
except IndexError:
|
||||
prop = None
|
||||
if prop:
|
||||
prop.status = "PASS"
|
||||
task.status_db.set_task_property_status(prop, data=dict(source="abc pdr", engine=f"engine_{engine_idx}"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue