riscv-non-isa/riscv-ras-eri

Clarification on whether `control_i.else` affects software fault injection

MarkHillCodasip opened this issue · 3 comments

If control_i.else (error-logging-and-signaling-enable) is clear when the control_i.eid (error-injection-delay) count reaches 0 does this inhibit the setting of control_i.v to 1?

The intent of error injection is that software can set up things up however it likes (i.e. for whatever it is trying to test), then set up an injection delay and wait. Once the delay elapses, normal behavior - based on what software had configured and set up - ensues. If software configured the else bit as zero, then the normal resulting behavior is what software will get. For better or worse, that was its choice.

Thanks Greg, so to summarise:

If control_i.else (error-logging-and-signaling-enable) is clear when the control_i.eid (error-injection-delay) count reaches 0 it inhibits the setting of control_i.v to 1.