f4pga VS VexRiscv

Compare f4pga vs VexRiscv and see what are their differences.

VexRiscv

A FPGA friendly 32 bit RISC-V CPU implementation (by SpinalHDL)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
f4pga VexRiscv
6 21
314 2,252
5.4% 3.4%
1.9 7.6
3 days ago 23 days ago
Python Assembly
Apache License 2.0 MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

f4pga

Posts with mentions or reviews of f4pga. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-05.
  • Show HN: Atopile – Design circuit boards with code
    10 projects | news.ycombinator.com | 5 Feb 2024
  • AMD Proposes an FPGA Subsystem User-Space Interface for Linux
    3 projects | news.ycombinator.com | 4 Jan 2024
    I hope AMD sees the light and helps F4FPGA develop a more complete open source toolchain for their FGPAs (https://f4pga.org). With this subsystem and an open source compilation flow, FGPA experiments would be way easier.
  • Need help to build a RISC-V Processor on Artix-7 FPGA: Final Year Engineering Project Guide
    4 projects | /r/RISCV | 23 Oct 2023
    I tried to get LiteX to work with F4PGA, an open source FPGA toolchain, instead of the Xilinx tools, but it was a huge hassle. Just use LiteX with the Xilinx tools.
  • Running Linux on Xilinx / AMD FPGA Softcore Example Design
    1 project | news.ycombinator.com | 17 Sep 2023
    Not really, at least not apples-apples for something like a Pi.

    There are a couple of different aspects to this, one is that soft-logic it typically slower than hard-logic so you just can't get comparable frequencies out of a soft implementation. For datapath designs, this is typically solved by going wider, but that isn't quite as helpful or practical for all aspects of a processor implemented in soft logic.

    If you look at the specs for this softcore processor, they have much less performance than a Pi, even when you're using some of the biggest and more $$ families of FPGAs: https://www.xilinx.com/products/design-tools/microblaze.html....

    I'd say that is on-part with similar complexity soft-core CPUs from other vendors or even open-source ones.

    With respect to the design transparency, it kind of depends on how much you care about the black-box compilers required to use a lot of these advanced chips. You can feed open-source RTL into them, but there's still a proprietary black-box compiler/fitter/place-route etc for a lot of these.

    There's some work toward open toolchains from yosys and https://f4pga.org/, but none of the big FPGA companies seem very bought-in or willing to help a, so it's been a community best-effort, and for some of the fancier devices, you still have to use the proprietary tools to build bitstreams.

  • Newbie's complaints about Xilinx software
    1 project | /r/FPGA | 3 Jun 2023
    I am a believer that the open source days will come: https://f4pga.org/
  • Symbiflow: The GCC of the FPGA World
    5 projects | news.ycombinator.com | 28 Sep 2021

VexRiscv

Posts with mentions or reviews of VexRiscv. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-23.
  • Need help to build a RISC-V Processor on Artix-7 FPGA: Final Year Engineering Project Guide
    4 projects | /r/RISCV | 23 Oct 2023
    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 with AXI Peripheral
    2 projects | /r/FPGA | 20 Jun 2023
  • Intel discontinues Nios II IP
    3 projects | /r/FPGA | 14 Jun 2023
    I don't get what's going on with licensing and device support. I'm missing something here perhaps, but we use Cyclone 10 GX onwards and Quartus Pro so I don't have enough context maybe. Have you considered swapping your Nios ii to a VexRISCV as a side note? At ~1 Dhrystone MIPS/MHz it's roughly double that of the Nios V, for very few resources. All open source too. None of the migration documentation support though, so I can't judge how hard it would be.
  • How Much Would It Cost For A Truly Open Source RISC-V SOC?
    5 projects | /r/RISCV | 14 Jan 2023
    If you use LiteX to generate a VexRiscV system-on-a-chip, you can include an open source DDR DRAM PHY. This works on Xilinx Spartan-6, Spartan7Artix7/Kintex7/Virtex7 FPGAs, and Lattice ECP5 FPGAs. DDR/LPDDR/DDR2/DDR3 depending on the FPGA.
  • Which FPGA for getting into RISC-V?
    2 projects | /r/RISCV | 1 Dec 2022
    Something like https://github.com/SpinalHDL/VexRiscv will take far fewer
  • Faster CRC32-C on x86
    1 project | news.ycombinator.com | 1 Aug 2022
    A CPU built around the Gentoo philosophy would look like https://github.com/SpinalHDL/VexRiscv ;). Don't want an MMU? Fine. Need a larger RAM interface? You got it. Barrel ALU for DSP? Sure.

    Interpreted languages work by consolidating all of the optimization effort in the interpreter. This is similar to how CPUs work now, instead of extremely specific optimizations that are hard to create distributed among all code we use very general optimizations that push the limits of mathematics that is centralized in a CPU.

    -----

    Itanium had a lot of contemporary issues that made it not work. I would certainly blame Intel's business practices and reputation for a large part of it. There are likely niches for such processors. The VLIW is useful for DSP or graphics. Indeed, the only extant VLIW (that I know of) processor is the Russian Elbrus. I think the VLIW is only included to let them reuse a lot of the core logic of the CPU to drive a DSP engine, useful for radar and scientific simulation, though the sci sim would probably use commercial hardware which would be faster.

    It works on GPUs because they're doing DSP, basically. We could have weirder topologies for GPUs however, like a massive string of ALUs driven off an embedded core, so you try to kachunk all your data in a single clock domain after configuring the ALU string.

  • Looking for a suitable open-source RISC-V for an embedded project
    5 projects | /r/FPGA | 4 Jul 2022
    4) https://github.com/SpinalHDL/VexRiscv
  • What do think of Chisel HDL? is it worth learning over Verilog/SystemVerilog?
    4 projects | /r/FPGA | 29 Jun 2022
    I really like Chisel HDL or any other new HDL languages like SpinalHDL or migen b/c it allows you to create some very complex yet modular designs. See VexRiscv or LiteX for instance. Languages like this exist b/c there is a need for it, but I wouldn't say that you should learn these new languages over verilog. All these languages output verilog/VHDL for now, but there is work being to done eliminate the need for outputting verilog; eventually, Chisel will output an open source CIRCT IR. Hope is to get EDA vendors to support this IR which I'm sure will take a while. For now, you should definitely learn Verilog or VHDL before Chisel.
  • Looking for help with RISC-V softcore and VHDL
    3 projects | /r/FPGA | 20 Apr 2022
  • Thermal sensor mlx90640 with Nexys 3 fpga
    1 project | /r/FPGA | 16 Jan 2022
    I'd recommend giving vexriscv a look. It'll handily fit on your FPGA, leaving plants of room for I2C, VGA output, and whatever multiplication you end up wanting to do. It's very easy to get set up, and their example "briey" SOC even has VGA output already, but not hardware I2C (though you could easily bitbang it with the core). Adding in I2C via a "plugin" should be trivial.

What are some alternatives?

When comparing f4pga and VexRiscv you can also consider the following projects:

icestorm - Project IceStorm - Lattice iCE40 FPGAs Bitstream Documentaion (Reverse Engineered)

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.

f4pga-examples - Example designs showing different ways to use F4PGA toolchains.

ibex - Ibex is a small 32 bit RISC-V CPU core, previously known as zero-riscy.

f4pga-arch-defs - FOSS architecture definitions of FPGA hardware useful for doing PnR device generation.

RISCV-FiveStage - Marginally better than redstone

docs - Documentation site

wb2axip - Bus bridges and other odds and ends

prjtrellis - Documenting the Lattice ECP5 bit-stream format.

darkriscv - opensouce RISC-V cpu core implemented in Verilog from scratch in one night!

atopile - Design circuit boards with code! ✨ Get software-like design reuse 🚀, validation, version control and collaboration in hardware; starting with electronics ⚡️

dromajo - RISC-V RV64GC emulator designed for RTL co-simulation