You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Failure while taking transition (from the state above):
0:2 register read: cur_privilege = 2b_1'10 from initialstate of 0-1:2b_0'10
Fail: Pattern match failure at model/riscv_types.sail 78:2 - 82:3. regval_privilege
Fatal error: exception Failure("Fail: Pattern match failure at model/riscv_types.sail 78:2 - 82:3. regval_privilege")
Raised at file "list.ml", line 187, characters 10-25
Called from file "src_top/pp.ml", line 359, characters 4-42
((tid, "mstatus"), Sail_impl_base.register_value_for_reg_of_integer (get_reg "mstatus") (Nat_big_num.of_string "0x0000000a00000000")); (* RV64 in S and U also *)
The text was updated successfully, but these errors were encountered:
I am unable to execute any of the riscv elf tests on the web interface or the CLI.
For example, if I load the
loop5-O0
test on https://www.cl.cam.ac.uk/~sf502/regressions/rmem/, and executestep 20
, I get this exception -On the CLI, if I take the same
loop5-O0
binary (compiled from https://github.com/litmus-tests/litmus-tests-riscv/tree/master/elf-tests/basic), and run./rmem -model relaxed -model flat -cmds "step 20"
I get this exception -I was able to fix the problem on the CLI with the following change -
VarunKoyyalagunta@8737b47
I can create a PR for that if that is the appropriate fix. I just copied the initial
cur_privilege
andmstatus
settings fromrmem/src_top/litmus_test_file.ml
Lines 425 to 427 in 9de9522
The text was updated successfully, but these errors were encountered: