-
Notifications
You must be signed in to change notification settings - Fork 40
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
NaxRiscv running custom test cases prompts FAILURE ??? #72
Comments
Hi, The error message seems to indicate that Spike (golden model) want to throw an RISC-V exception. What software are you running (exactly / .c / .asm) ? |
I want to execute the .asm file. Additionally, I attempted to use
Even though I followed the instructions provided in https://github.com/SpinalHDL/NaxRiscv/blob/main/src/test/cpp/naxriscv/README.md. |
Did you used the Gen64 to generate naxriscv ? NaxRiscv/src/main/scala/naxriscv/Gen.scala Line 532 in 6af1a20
RVC is one of the issue you likely have. |
Thank you, I think I might not have done that. |
just remplace Gen by Gen64 in the command line ^^ |
Thank you, your approach is correct, but there is still an issue: encountering a floating-point register or fcsr register triggers a 'trap_illegal_instruction' message."
or
Can you offer me some advice? |
Yes, in the mstatus csr, there is the FS field, it should be set to somthing else than 0b00 |
Hello, I'm trying to inspect the values of certain memory addresses in
socTextReadAddress: 80002038, socMemoryData:00 |
Hi, That's curious, i would say it should have worked. |
Hi,
When running my custom-designed test cases with NaxRiscv, I encountered a failure and received the following information:
But I am unsure about the significance of this information or how to modify my input. Can you provide guidance on this issue?
Other pieces of information:
The text was updated successfully, but these errors were encountered: