r/ComputerEngineering • u/Effective_Bid4120 • 9h ago
[Project] Booting Linux on a simple custom RISC-V core
Hello everyone.
I am a master's student, and in my spare time, I built a RISC-V processor on a $30 FPGA that runs Linux.
The goal of this project is not to create an elaborate, high-performance multi-threaded processor, but rather to develop a modern processor capable of running the world's most widely used operating system-all while keeping hardware requirements, the instruction set architecture (ISA), and the principles of their interaction as lean as possible.
The project includes a processor with a 3-stage pipeline, support for atomic instructions, virtual memory, and a cache. Peripherals include an SD card interface, CLINT, PLIC, and UART.
I welcome any feedback-whether it's a star on GitHub, a contribution to the project, or simply a question.
The project documentation can be found in the 'doc/arch/ directory as Markdown files. If you are developing your own processor cores-whether for study or professional work-and your goal is to understand how Linux operates on logic gates, this project is for you.
