Hello all, we are trying to use RISC-V to execute ...
# riscv
g
Hello all, we are trying to use RISC-V to execute a program by reading and writing contents through Wishbone bus. But when we tried to execute wishbone read & write from the Flash memory, it took about 250 cycles of 50MHz clock for each wb_write/read. And then we tried executing the same code from SRAM, and it took about 25 cycles of 50MHz clock for each wb_write/read. I assume that the Flash memory is connected to the processor via an SPI and so time complexity increases for Parallel to serial conversion, but still 250 cycles for one wb_write is so high. Could someone explain the reason for this slow execution of the program?