Skip to content

Cannot run coremark bare metal on Nexys4 #72

@mendax1234

Description

@mendax1234

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions