-
Notifications
You must be signed in to change notification settings - Fork 388
Description
I have implemented a RISC-V processor that supports the RV32IM on Nexys 4 board. I want to run the coremark benchmark to test the performance on my FPGA. However, after spending around 6 hours on debugging, I still received endless 01 on my UART terminal. New code is here on gists.
I have changed the MMIO address for my cyclecount, my uart, etc. But I have no idea what's going on here. The godbolt compiler I am using is RISC-V rv32gc clang 18.1.0", and the flags are -Os -march=rv32im -mabi=ilp32 -nostdlib -ffreestanding -fno-builtin -fno-builtin-memset -fno-builtin-memcpy -DITERATIONS=100 -DPERFORMANCE_RUN=1 -DSTANDALONE=1 -DFLAGS_STR="-Os". After getting the .asmfile, I add the.textand.data` and dump the hex files I want using rars.
Really need help! Appreciated