OpenCores
Issue List
doubt in running C tests #3
Closed akshayd opened this issue about 10 years ago
akshayd commented about 10 years ago

Hi Skordal,

Thanks for the last updates that you gave, have been very useful. However, I got one small doubt though. The potato processor is based on RV32I basically a RISC V ISA, so if I want to run a C code to add 2 numbers and then run it on potato how can I achieve this. Can i use the riscv-gcc and then use the generated elf to get the imem_hex and dmem_hex or is there any other way to do this..

Thanks !!

Akshay

skordal commented about 10 years ago

It depends on how you want to run the application. If you want to run it using one of the testbenches, you need an imem and a dmem file. Otherwise, take a look at the SHA-256 benchmark application; it is written (mostly) in C and runs on the example platform.

skordal closed this about 10 years ago

Assignee
No one
Labels
Request