This is a Single Cycle processor running the RV32I implementation, hence a 32-bits cpu, written in SystemVerilog. It was made for learning purpouses, it's not intended for production.
@BrunoLevy and his amazing tutorial From Blinker to RiscV.
Although that design is very different from the one made in this repo (that tutorial uses a monolithic approach to build the RiscV cpu, whereas I use modular approach), I reused a lot of concepts and code from that tutorial, including the Memory mapped devices idea and the GNU toolchain makefiles.
I recommend 100% to read the RISC-V Reference Manual, maybe not complete but those sections mentioning the RV32I implementation.
The architecture was heavily inspired in the 32-bits Single Cycle MIPS processor explained in Digital Design and Computer Architecture book. Note that instruction and data are stored in separate memories.
Any board should be compatible that has enough LUT's. This is running on the Digilent Basys 3 board and uses a little bit less than 1,000 LUT's without considering the slow clock circuit.
The top module is RiscVTop.sv, which includes the wiring to the slow clock, the 7-segments displays and some leds. The cpu itself is the RiscV.sv module which also includes the Instruction Memory and the Data Memory.
I documented the steps in this repository.