I'm writing some risc-v assembly code and I want to read and execute some instructions stored in a file (a binary compiled with riscv-gcc). Ideally I'ld like something like the $readmem
of verilog
Do you have an idea on how to do that?
I'm writing some risc-v assembly code and I want to read and execute some instructions stored in a file (a binary compiled with riscv-gcc). Ideally I'ld like something like the $readmem
of verilog
Do you have an idea on how to do that?