I am PhD student of computer engineering. I am working to build a CGRA accelerator for RISCV. I have done the CGRA accelerator for MIPS32 and ARM7. Now I am switching to RISC-V. I have downloaded lots of RISC-V cores from github and other places. Some of them have bug. Some of them are incomplete. Some of them are written with non HDL languages (VHDL, Verilog). Finally I download S21 and some others from SIFIVE. But this code is not fully RTL. It is something between RTL and netlist and is not readable and understandable codes.
It is my story in these two weeks!!!
Is there any bug free HDL codes for RV32I or RV64I in github or sifive or any other places?
You can find a list of cores here. https://riscv.org/risc-v-cores/
the picorv32 one already mentioned is popular and should work, but is a very small rv32i core.
Since you asked on a SiFive forum, the commercial cores we have available for trial use are obfuscated and unlikely to be useful for development work. We do have two open cores we maintain. Rocket chip which was originally designed at UC Berkeley https://github.com/chipsalliance/rocket-chip
and freedom which is rocket chip plus some SiFive designed blocks https://github.com/sifive/freedom
Both can be compiled to verilog, and/or compiled to run on an FPGA.
I’m not a hardware guy, so I don’t know the details or how to use either open SiFive core. I would suggest filing issues against the github tree if you have questions about these cores, or any of the other cores.
Thanks for your attention.
I Have seen this project. But it is not pipelined processor. The picorv32 is mostly designed for clock speed, but its IPC is pretty bad, requiring at least 3 cycles per instructions and often quite a bit more.
Thank you mara for your attention.
I Have seen this project. But it is not pipelined processor. The picorv32 is mostly designed for clock speed, but its IPC is pretty bad, requiring at least 3 cycles per instructions and often quite a bit more.