Open U2654 opened 3 years ago
My suggestion would be adding a fe310-g002 target with an ITIM.
Ok. Actually, I have a running vp in src/platform/redv. Where would you recommend to place the SyscallHandler changes? A new file in src/core/rv32 or changing syscall.h?
Sorry, overlooked your answer. As the ITIM is just some memory, I would add a "simple memory" block in the main file, and connect it to the system bus according to the memory map. If your .elf contains a section for it, you would additionally add a elf-file-loader line in the main file.
I have been working on a redv-vp, similar to hifive1-revb, with a fe310-g002. It has a ITIM and, thus, a third memory block which ist not intended by your SyscallHandler. Any suggestions? Or just leave it...