riscv-tests icon indicating copy to clipboard operation
riscv-tests copied to clipboard

How to compile programs compatible for execution on rocket chip FPGA?

Open AbhijittDhavlle opened this issue 4 years ago • 0 comments

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!

AbhijittDhavlle avatar Apr 29 '20 09:04 AbhijittDhavlle