Open
Description
Hi,
I 'm trying to run the coremark on the risc-v processor shakti c-class processor on FPGA.
I used your code under this project.
And below are the flags i used.
-DFLAGS_STR=""-O2 -mcmodel=medany -static -std=gnu99 -O2 -ffast-math -fno-common -fno-builtin-printf -march=rv$(xlen)$(march) -w -static -nostartfiles -lgcc -T ./common/link.ld ""
But when I run the program, it just quickly jumpt out and shows:
0x0000000080002594 in exit () at ./common/syscalls.c:49
49 asm volatile (
and the uart shows:
Trap Cause: 5 encountered on PC:80002022.
I'm not sure this is my compile problem or something else. It would be great if you could give some tipps.
Thanks a lot. I'm looking forward to your reply.
Metadata
Metadata
Assignees
Labels
No labels