If you have ever wanted to implement a RISC-V CPU core in about 600 lines of C, you’re in luck! [mnurzia]’s rv project does exactly that, providing a simple two-function API. Technically, it’s a user-level RV32IMC implementation in ANSI C. There are many different possible flavors of RISC-V, and in this case is a 32-bit base integer instruction set (RV32I), with multiplication and division extensi
![A 32-Bit RISC-V CPU Core In 600 Lines Of C](https://cdn-ak-scissors.b.st-hatena.com/image/square/dd3faf819eaa7f82285632cc16ca79551be90c4c/height=288;version=1;width=512/https%3A%2F%2Fhackaday.com%2Fwp-content%2Fuploads%2F2023%2F06%2FRISC-V-in-C.png)