Closed Guochen-Shine closed 5 months ago
Hi,
Before using the FPU, in the software, you need to set the mstatus FS bits to something other than 00, else the FPU is disabled and will make things trap
Thank you for your answer. I used the generated.v file and vcs+verdi tool for simulation, but I am not very good at software Settings. What should I do for the problems you mentioned? I found the fs description in FpuPlugin, can I manipulate it to fix the problem?
I'm sorry, I didn't understand what you meant before, but now I do. Let me try
Thank you. The problem has been solved.
Cool ^^
Add FPU to Briey as follows Compiled with the MABI=ilp32f MARCH = rv32imf compile option, pc points to the exception entry address when a floating-point instruction is encountered The assembly code is as follows: How can I solve this problem?