3
0
Fork 0
mirror of https://github.com/YosysHQ/sby.git synced 2025-10-07 10:11:57 +00:00

Initial live csv dumping

Currently unconditional, and only for aiger and smtbmc.
Uses task.name from intertask cancellation.
Stores `time.time()` when calling `SbyStatusDb::create_task()` in order to calculate time since start of task (consider reducing to integer seconds).
This commit is contained in:
Krystine Sherwin 2025-07-08 15:47:31 +12:00
parent f63cd46d12
commit 0367db76f5
No known key found for this signature in database
3 changed files with 21 additions and 7 deletions

View file

@ -233,7 +233,7 @@ def aigsmt_trace_callback(task, engine_idx, proc_status, *, run_aigsmt, smtbmc_v
cell_name = match[3] or match[2]
prop = task.design.hierarchy.find_property(path, cell_name, trans_dict=smt2_trans)
prop.status = "FAIL"
task.status_db.set_task_property_status(prop, data=dict(source="aigsmt", engine=f"engine_{engine_idx}"))
task.status_db.set_task_property_status(prop, data=dict(source="aigsmt", engine=f"engine_{engine_idx}", step=current_step))
last_prop.append(prop)
return line