RISCV_FORMAL_VALIDADDR ignored for loads and stores #10
Comments
|
This should be fixed now in current git HEAD. (Some background: Until now we only had cores with |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm setting a region of memory to be invalid using RISCV_FORMAL_VALIDADDR. This works as expected for instruction fetch (after fixing some bugs in my processor). Unfortunately I'm still failing some load instruction checks. The example trace it gave me for the test I looked at had a load from an invalid address with spec_trap = 0.
It looks like the following lines in rvfi_insn_check.sv
https://github.com/cliffordwolf/riscv-formal/blob/master/checks/rvfi_insn_check.sv#L104-L105
should be something like this:
I tried this out on my processor and all the checks pass now.
The text was updated successfully, but these errors were encountered: