SpinalHDL VS amaranth

Compare SpinalHDL vs amaranth and see what are their differences.

amaranth

A modern hardware definition language and toolchain based on Python (by amaranth-lang)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
SpinalHDL amaranth
8 7
1,518 1,436
3.2% 4.2%
9.8 9.7
5 days ago 6 days ago
Scala Python
GNU General Public License v3.0 or later BSD 2-clause "Simplified" 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.

SpinalHDL

Posts with mentions or reviews of SpinalHDL. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-03.
  • 1800-2023 – IEEE Standard for SystemVerilog
    1 project | news.ycombinator.com | 17 Apr 2024
    I'd love to see textual preprocessors kinda banned. Or at least done upstream and outside of the language. You can't both be and also have a textual preprocessor defined internally. It doesn't work.

    I really like what Zig and C++ are doing with `const`.

    https://ikrima.dev/dev-notes/zig/zig-metaprogramming/

    Have you looked at Spinal?

    https://github.com/SpinalHDL/SpinalHDL

    https://spinalhdl.github.io/SpinalDoc-RTD/master/index.html

  • Ao486_MiSTer: i486 core for the MiSTer FPGA gaming system
    7 projects | news.ycombinator.com | 3 Mar 2023
    Many companies do just write entire modern SoCs in straight Verilog (maybe with some autogenerated Verilog hacked in there) with no other major organization tools aside from the typical project management stuff. The load-store unit of a modern CPU alone easily exceeds 10k lines of Verilog. It's a similar thing as people who work with kernels—after all, the page table management code in a modern operating system like Linux is absolutely monstrous but still people are able to understand it well enough to be able to make the changes they need and get out.

    If you are interested in other languages which hope to make this sort of stuff easier, I'd recommend taking a look at design productivity languages like Chisel and it's associated Chipyard [1], SpinalHDL [2], and Bluespec [3]. Each of these are meant to make defining extremely complex hardware more manageable for humans and there's a lot of interesting work going on right now with each of them.

    [1] https://github.com/ucb-bar/chipyard

    [2] https://github.com/SpinalHDL/SpinalHDL

    [3] https://github.com/B-Lang-org/bsc

  • Simple skid buffer implementation
    3 projects | /r/FPGA | 10 Jan 2023
    I have just found that SpinalHDL also implemented two halves of the fully registered buffer in Stream.scala.
  • Why are there only 3 languages for FPGA development?
    5 projects | /r/FPGA | 1 Dec 2022
    Don’t forget SpinalHDL that was forked off of Chisel 2 I believe. These DSLs really leveraged the software features of Scala to help build generalised/modular systems. And are generally a quality of life improvement in the language features available.
  • SpinalHDL – A high level hardware description language based on Scala
    1 project | news.ycombinator.com | 20 Apr 2022
  • Share some github FPGA projects (bonus if they include C++, Python, or other files)
    15 projects | /r/FPGA | 14 Sep 2021
    A lot of reuse from other FOSH projects, including Litex, SpinalHDL, betrusted & u/alexforencich verilog-wishbone. Thanks to all of them :-)
  • Suggest advance project ideas
    3 projects | /r/FPGA | 3 Sep 2021
    You could try to implement a PCIe root complex for FOSS SoCs, connecting to e.g. Wishbone as the main bus. There's already some DDR3 controller (or this one) and USB Host controller out there, and even device-side PCIe, but no FOSS host-side PCIe that I know of. Probably quite a difficult job though, even sticking to the lower-speed PCIe 1.
  • Chisel/Firrtl Hardware Compiler Framework
    8 projects | news.ycombinator.com | 5 Jul 2021

amaranth

Posts with mentions or reviews of amaranth. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-12-01.
  • Why are there only 3 languages for FPGA development?
    5 projects | /r/FPGA | 1 Dec 2022
    He probably meant Amaranth.
  • VRoom A high end RISC-V implementation
    4 projects | news.ycombinator.com | 21 Mar 2022
    As an aside, the latest and active development of nMigen has been rebranded a few months ago to Amaranth and can be found here: https://github.com/amaranth-lang/amaranth . In case people googled nMigen and came to the repository that hasn't been updated in two years.
  • NMigen – A Python toolbox for building complex digital hardware (FPGAs)
    3 projects | news.ycombinator.com | 22 Oct 2021
  • Facts every web dev should know before they burn out and turn to painting
    8 projects | news.ycombinator.com | 21 Oct 2021
    Hmm. A followup question: are there any cheats/hacks that would make it possible (if painful) to for example explore the world of USB3, PCIe, or Linux on low-end-ish ARM (eg https://www.thirtythreeforty.net/posts/2019/12/my-business-c..., based on the 533MHz https://linux-sunxi.org/F1C100s), without needing to buy equipment in the mid-4-figure/low-5-figure range, if I were able to substitute a statistically larger-than-average amount of free time (and discipline)?

    For example, I learned about https://github.com/GlasgowEmbedded/glasgow recently, a bit of a niche kitchen sink that uses https://github.com/nmigen/nmigen/ to lower a domain-specific subset of Python 3 (https://nmigen.info/nmigen/latest/lang.html) into Verilog which then runs on the Glasgow board's iCE40HX8K. The project basically makes it easier to use cheap FPGAs for rapid iteration. (The README makes a point that the synthesis is sufficiently fast that caching isn't needed.)

    In certain extremely specific situations where circumstances align perfectly (caveat emptor), devices like this can sometimes present a temporary escape to the inevitable process of acquiring one's first second-hand high-end oscilloscope (fingers-crossed the expensive bits still have a few years left in them). To some extent they may also commoditize the exploration of very high-speed interfaces, which are rapidly becoming a commonplace principal of computers (eg, having 10Gbps everywhere when USB3.1 hits market saturation will be interesting) faster than test and analysis kit can keep up (eg to do proper hardware security analysis work). The Glasgow is perhaps not quite an answer to that entire statement, but maybe represents beginning steps in that sort of direction.

    So, to reiterate - it's probably an unhelpfully broad question, and I'm still learning about the field so haven't quite got the preciseness I want yet, but I'm curious what gadgetry, techniques, etc would perhaps allow someone to "hack it" and dive into this stuff on a shoestring budget? :)

  • Awesome Lattice FPGA Boards
    5 projects | news.ycombinator.com | 2 Sep 2021
    Worth knowing that are two "nmigen"s nowadays - the one originated in M-Labs and one under a project also called nmigen:

    https://github.com/nmigen/nmigen

    It's a fork, made for reasons, but more actively developed. whitequark (long time author/contributor) works on this fork, and no longer the M-Labs version.

  • Chisel/Firrtl Hardware Compiler Framework
    8 projects | news.ycombinator.com | 5 Jul 2021
  • Unifying the CUDA Python Ecosystem
    13 projects | news.ycombinator.com | 16 Apr 2021
    Sounds like nmigen might be a good open source successor to the project that you describe: https://github.com/nmigen/nmigen

What are some alternatives?

When comparing SpinalHDL and amaranth you can also consider the following projects:

chisel - Chisel: A Modern Hardware Design Language

cocotb - cocotb, a coroutine based cosimulation library for writing VHDL and Verilog testbenches in Python

litex - Build your hardware, easily!

chiselverify - A dynamic verification library for Chisel.

litepcie - Small footprint and configurable PCIe core

myhdl - The MyHDL development repository

circt - Circuit IR Compilers and Tools

pygears - HW Design: A Functional Approach

clash-ghc - Haskell to VHDL/Verilog/SystemVerilog compiler