riscv-tests
riscv-tests copied to clipboard
How to compile programs compatible for execution on rocket chip FPGA?
How do you compile a C program for running on the fesvr-zynq or the RISCV Linux on the rocket chip? I compiled initially with riscv62-unknown-elf-GCC and it executes with "spike pk hello". But the same compiled binary does not execute on the fesvr(with or without pk). How do I ensure that the compiled binary is RISCV compatible? Thanks! Please reply asap!