amaranth VS clash-ghc

Compare amaranth vs clash-ghc 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
amaranth clash-ghc
7 33
1,434 1,372
4.0% 1.6%
9.6 9.1
8 days ago 3 days ago
Python Haskell
BSD 2-clause "Simplified" License 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.

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

clash-ghc

Posts with mentions or reviews of clash-ghc. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-27.

What are some alternatives?

When comparing amaranth and clash-ghc you can also consider the following projects:

SpinalHDL - Scala based HDL

wiringPi - A Haskell binding to the wiringPi library, for using GPIO on the Raspberry Pi.

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

clash-prelude

chisel - Chisel: A Modern Hardware Design Language

ICFP2020_Bluespec_Tutorial - Tutorial on hardware design using Bluespec BH (Bluespec Classic) for Haskell programmers at ACM ICFP 2020 conference

chiselverify - A dynamic verification library for Chisel.

mercury-api - Haskell binding to Mercury API for ThingMagic RFID readers

myhdl - The MyHDL development repository

riscv-cores-list - RISC-V Cores, SoC platforms and SoCs

pygears - HW Design: A Functional Approach

verismith - Verilog Fuzzer to test the major simulators and sythesisers by generating random, valid Verilog.