Ask HN: Are there any open source RISC-V processors that I can buy and use?
As of now there are some places which offer small RISC-V processers, such as the StarFive JH7110 (used in DeepComputing DC-ROMA), however when I went to the website it said the CPU was proprietary. Are there any fully open source RISC-V CPUs that are not just hardware simulations that I can actually buy?
15 comments
[ 4.5 ms ] story [ 54.9 ms ] threadHow much of the implementation used in actual silicon overlap with their open source cores isn't clear. I was able to figure out where some non-standard CSR bits are located [3].
Personal, I wouldn't recommend buying them, especially not because they are open source. While source code has been published, the source code looks partially generated and at least for a software dev like me, very hard to read.
I would recommend waiting for the RuyiBook [4], which will contain the second generation of the OpenXiangShan core [5], which is developed fully in the open on GitHub. From the information available, it seems likely that it will become available this year and that it would then be the highest performing RISC-V processor generally available. See my old comment for benchmarks I ran in the RTL simulation: https://news.ycombinator.com/item?id=41331786#41331968 The only unfortunate thing it that it will likely lack support for the vector extension.
I hope they follow my suggestion of shipping the processor source code with the default Linux install.
[1] https://github.com/T-head-Semi/openc910
[2] https://github.com/XUANTIE-RV/openc906
[3] https://github.com/camel-cdr/rvv-d1?tab=readme-ov-file#enabl...
[4] https://milkv.io/ruyibook
[5] https://github.com/OpenXiangShan/XiangShan
See also, slides on the XiangShanV2 microarchitecture: https://raw.githubusercontent.com/OpenXiangShan/XiangShan-do...
The ~$5 Milk-V Duos are great. Two C906's, one with MMU and vectors etc for running Linux and one without those for "microcontroller" / "real time" tasks.