Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access Exception error while running spike for rv64imac instructions #971

Open
omanzoor opened this issue Feb 19, 2024 · 0 comments
Open

Comments

@omanzoor
Copy link

I generated rv64imac testcases using riscv-dv, when I try to run it using spike iss, spike gives an error:

/////////////////////////////////////////////////////////////////////////////
core 0: 3 0x000000008000b120 (0x000e0e13) x28 0x000000008000a11c
core 0: 0x000000008000b124 (0x000e00e7) jalr t3
core 0: 3 0x000000008000b124 (0x000e00e7) x1 0x000000008000b128
core 0: >>>> test_done
core 0: 0x000000008000a11c (0x00004185) c.li gp, 1
core 0: 3 0x000000008000a11c (0x4185) x3 0x0000000000000001
core 0: 0x000000008000a11e (0x00000073) ecall
core 0: exception trap_machine_ecall, epc 0x000000008000a11e
Access exception occurred while host was accessing memory on behalf of target (tohost = 0xfffffffffffffff0):
Memory address 0xfffffffff8 is invalid
///////////////////////////////////////////////////////////////////////////

What can be the issue and how to fix it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant