Skip to content

[WIP - do not merge YET] rvfi_tracer.sv: Terminate tests on write-into-tohost iso. ECALL instruction.

Created by: zchamski

This PR changes the simulation termination condition from "execute an ECALL instruction" to "write 0b........1 at tohost memory address".

  • The value written into tohost must have its least-significant bit set.
  • The bits above the LSbit contain the return value of the test.
  • The execution of an ecall instruction does not terminate the simulation anymore. Instead, the execution of the ecall instruction will be handled as implemented, including the side effects in the environment.

Merge request reports

Loading