Work-in-progress
A simple FPGA based RISC-V processor built from scratch, with 5 stage pipelined architecture for learning purposes. For colorlight-i5 board.
- Piplined FETCH-DECODE-EXEC-MEMORY-WRITE, single core, 40MHz processor with RV32I ISA, without ecall, ebreak & fence
- Memory mapped peripherals through wishbone bus
- SDRAM, with 8KB data cache
- GPIO
- HDMI (PoC)
- Clock correct verilator simulations
Precise exception, and interrupt systemZicsr extensionFormal verificationMultiple functional units
DUE TO MANY DRASTIC CHANGES TO THE CURRENT PIPELINE IMPLEMENTATION ARE NEEDED IN ORDER TO SUPPORT PLANNED IMPROVEMENTS. THIS PROJECT IS NOW SUSPENDED. I WILL BE WORKING ON A OUT-OF-ORDER CORE WITH THOSE FEATURES ADDED. TBA.
- Yosys commit 7c5dba8b7 (later commit using libmap-pass somehow break BRAM inferal)
- nextpnr
- prjtrellis
- verliator
- openFPGALoader
- RV32I compiler (change in Makefile)
- make test
- ROM=<ROMFILE.c> make bit