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

trap instruction page fault error and mode shifting from M-mode to U-mode in spike debug mode #1790

Open
kommarisurendra opened this issue Aug 29, 2024 · 0 comments

Comments

@kommarisurendra
Copy link

kommarisurendra commented Aug 29, 2024

while executing the assembly code with using csr instructions in spike debug mode the M-mode is shifting to low level modes(U or S)..
and also it showing " exception trap_instruction_page_fault " at parcicular pc address..

core 0: exception trap_instruction_page_fault, epc 0x00000000000100b0
core 0: tval 0x00000000000100b0

and also while executing csr instructions it is also showing like this-
core 0: 0x00000000000100b8 (0x30529073) csrw mtvec, t0
core 0: exception trap_illegal_instruction, epc 0x00000000000100b8
core 0: tval 0x0000000030529073

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