Sample RISC-V Libero projects for the RTG4 Development Kit.
This project contains Libero projects containing FPGA designs including a RISC-V RV32IM soft processor. Programming bitstreams are also included so you don't have to run through the full FPGA design flow in order to start developing software for RISC-V.
The FPGA Designs include the following features
- Mi-V RV32IM RISC-V processor
- RISC-V debug block allowing on-target debug using openocd/GDB
- DDR3 memory for code/data
- User peripherals such as GPIO, Timers, UART
The memory map for each design is available within each Libero project.
The RTG4 Development Kit includes an RT4G150 FPGA. Details of the features available for this development board are available here .
This project includes FlashPro Express projects that can be used to program the development boards FPGA. A standalone installer for FlashPro Express is available here . Please note that you only need to install this standalone version of FlashPro Express if you do not have Libero tools installed.
- MIV_RV32IMA_BaseDesign_vlog, contains a simple Mi-V RV32IMA design which allows users to use basic peripherals such as GPIO, UART and Timers.
- RTG4_MIV_RV32IMA_L1_AHB_MultiProcessorDesign, contains a design with two Mi-V RV32IMA. One as a control processor and one as an application processor.
Libero is Microsemi's FPGA design tool. You will need this tool if you wish to modify the example FPGA designs. Libero is available from here.
A set of RISC-V example software projects are also available for these designs from the SoftConsole page.