chipsalliance / t1

Apache License 2.0
112 stars 21 forks source link

[difftest] add "success" field in perf.json #767

Closed FanShupei closed 4 weeks ago

FanShupei commented 1 month ago

It indicates "online dpi" finishes normally , rather than terminated due to timeout.

Now a simulation finishing normally will generate perf.json as follows:

{
    "total_cycles": 32444,
    "success": true
}

Updata:

Unsuccessful simulation will now panic in final block. However, it could be suppressed by setting environment variable "T1_SUPPRESS_PANIC_IN_FINAL=1".