What If You Built Your Own RISC-V MCU on an FPGA? TinyMCU is a really nice learning project for a...What If You Built Your Own RISC-V MCU on an FPGA? TinyMCU is a really nice learning project for a...
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started
What If You Built Your Own RISC-V MCU on an FPGA?
TinyMCU is a really nice learning project for anyone getting into FPGA, CPU design and RISC-V.
It's a small RV32I RISC-V microcontroller written in VHDL, designed specifically for learning. The repo includes the CPU pipeline, ALU, register file, CSR logic, instruction memory, SRAM and GPIO peripheral.
The software side is included too. You can write C/assembly firmware, compile it with the RISC-V GCC toolchain and run it on the FPGA implementation.
It also has interrupt support, a timer, GPIO and simulation infrastructure with GHDL and GTKWave. The current implementation supports RV32I plus parts of the RISC-V B bit-manipulation extension.
You get to see how the pieces of a microcontroller actually fit together instead of treating the MCU as a black box.
Back to feed
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started