mortbopet / Ripes

A graphical processor simulator and assembly editor for the RISC-V ISA
https://ripes.me/
MIT License
2.57k stars 274 forks source link

out of order riscv #210

Open roua987 opened 2 years ago

roua987 commented 2 years ago

how i could add processor architecture that i want ?

mortbopet commented 2 years ago

Hi @roua987

Out of order processors are fairly complex. While i've thought about adding this before, i've yet to allocate the time and resources to do it.

One issue with this is that, while VSRTL (the language which Ripes' processors are described in) is fairly capable, I fear that implementing an OoO processor would be very cumbersome if the language is not extended in some shape or fashion.

I think a better approach would be to write an implementation of your processor in i.e. SystemVerilog, and then attach it to Ripes through verilator - this is experimental, but i see it as a necessary approach for more complex processors, see https://github.com/mortbopet/Ripes/blob/master/docs/new_processor_models.md#experimental-verilator-processor-models-in-ripes.