Skip to main content
In the News

Hackaday Article: RISC-V CPU Gets A Peripheral

By November 26, 2018May 12th, 2021No Comments

One of the ways people use FPGAs is to have part of the FPGA fabric hold a CPU. That makes sense because CPUs are good at some jobs that are hard to do with an FPGA, and vice versa. Now that the RISC-V architecture is available it makes sense that it can be used as an FPGA-based CPU. Clifford Wolf created PicoSOC — a RISC-V CPU made to work as a SOC or System on Chip with a Lattice 8K evaluation board. Mattvenn ported that over to a TinyFPGA board that also contains a Lattice FPGA and shows an example of interfacing it with a WS2812 intelligent LED peripheral.
True to the open source nature of the RISC-V, the project uses the open source Icestorm toolchain which we’ve talked about many times before. Matt thoughtfully provided the firmware precompiled so you don’t have to install gcc for the RISC-V unless you want to write your own software.
The RISC-V isn’t the first SOC available for FPGAs, although some of the ones commonly used have cloudy pedigrees because they emulate some other non-open CPU. The first part of the video covers how to get started with the RISC-V. Then Matt explains how he added support for the smart LEDs into his design.
 
To read more, please visit: https://hackaday.com/2018/11/26/risc-v-cpu-gets-a-peripheral/.

Stay Connected With RISC-V

We send occasional news about RISC-V technical progress, news, and events.