apio
linux-on-litex-vexriscv
Our great sponsors
apio | linux-on-litex-vexriscv | |
---|---|---|
3 | 13 | |
741 | 532 | |
4.0% | 3.4% | |
9.7 | 5.4 | |
6 days ago | 16 days ago | |
Verilog | Python | |
GNU General Public License v3.0 only | BSD 2-clause "Simplified" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
apio
-
Learning Verilog and FPGA
I've had good experiences using Upduino 3.0 and 3.1 [0] with the IceStorm tools via apio [1]. I wrote a blog post [2] with some info on getting things set up via Linux. All you need is the Upduino board, which interfaces to your host system via USB (so no special programmer is needed).
[0] https://tinyvision.ai/products/upduino-v3-1
[1] https://github.com/FPGAwars/apio
[2] https://daveho.github.io/2021/02/07/upduino3-getting-started...
-
FPGA dev board that's cheap, simple and supported by OSS toolchain
if you're more comfortable with the CLI, you should take a look at the apio project (https://github.com/FPGAwars/apio). It neatly bundles all the required tools. Regarding HDLs, I'm still learning so can't offer any good advice on that.
linux-on-litex-vexriscv
-
Need help to build a RISC-V Processor on Artix-7 FPGA: Final Year Engineering Project Guide
With LiteX you can synthesize a VexRiscV processor. You can run Linux on it. The toolchain is pretty easy to use, as long as you use Xilinx Vivado to compile to gateware.
-
RISC-V Business: Testing StarFive's VisionFive 2 SBC
The repo below has support for building a 32bit RISC-V CPU for de10nano. It also includes information about booting Linux.
https://github.com/litex-hub/linux-on-litex-vexriscv
The CPU will likely have a clock speed around 100Mhz, far slower than the 1.5Ghz 64bit cores on the VisionFive 2 or Pi4. The FPGA might still be useful if you want to customize the CPU or integrate other custom hardware.
-
CosmicStrand: The discovery of a sophisticated UEFI firmware rootkit
You can run linux even on an entirely open source from hardware to software toolchain: https://github.com/litex-hub/linux-on-litex-vexriscv
-
Best fpga for making multicore linux-capable SoC?
An Artix 7 100k (like in the 'big' Arty A7 board) will comfortably fit 4 VexRiscv @ 100 MHz in a Litex SoC with all the bells and whistles; you can already fit a SoC with 2 Vex in the smaller 35k. Running Linux on that is very easy.
- Is it possible to build a RISCV Core on FPGA which runs Linux on top of it?
- What is the easiest/cheapest way to get RISCV hardware cpu/board to learn?
-
FPGA dev board that's cheap, simple and supported by OSS toolchain
"Linux on LiteX-Vexriscv" [1] is an easy way to get started. The readme includes a table of supported boards, as well as the amount of memory and maximum tested clock frequency.
I played with it on an OrangeCrab [2], and was shocked by how easy it was to get it running and by how well it worked despite the slow clock. The SoC includes peripherals for GPIO, PWM, serial interfaces, etc., and the project includes kernel drivers to talk to them. On the OrangeCrab, everything I thought to try pretty much just worked.
That being said, this is mostly just a fun exercise in SoC building, and isn't going to give you anywhere close to PC performance.
What are some alternatives?
neorv32 - :rocket: A tiny, customizable and extensible MCU-class 32-bit RISC-V soft-core CPU and microcontroller-like SoC written in platform-independent VHDL.
linux-on-litex-rocket - Run 64-bit Linux on LiteX + RocketChip
fpga-zynq - Support for Rocket Chip on Zynq FPGAs
open-fpga-verilog-tutorial - Learn how to design digital systems and synthesize them into an FPGA using only opensource tools
butterstick-hardware - Basic ECP5 based GigE to SYZYGY interface.
UPduino-v3.0 - UPduino 3.0: new 4 layer layout, various other improvements
f4pga-arch-defs - FOSS architecture definitions of FPGA hardware useful for doing PnR device generation.
edalize - An abstraction library for interfacing EDA tools
icestudio - :snowflake: Visual editor for open FPGA boards
fomu-toolchain - A collection of tools for developing for Fomu
nmigen-tutorial - A tutorial for using nmigen