BrunoLevy / learn-fpga

Learning FPGA, yosys, nextpnr, and RISC-V
BSD 3-Clause "New" or "Revised" License
2.58k stars 245 forks source link

Priviledged instruction set #25

Open BrunoLevy opened 3 years ago

BrunoLevy commented 3 years ago

1) fully implement instructions to manipulate the CSRs 2) two levels of privilege, ECALL and EBREAK, implement FEMTOS syscalls, SDCard file access and terminal. 3) three levels of privilege 4) MMU 5) run Linux Links: https://github.com/BrunoLevy/learn-fpga/blob/master/FemtoRV/TUTORIALS/priviledged.md

BrunoLevy commented 3 years ago

Let us start with a very minimalistic implementation, that would fit in the miniRV32 as an option, with: