Amaranth HDL (previously nMigen)
The Amaranth project provides an open-source toolchain for developing hardware based on synchronous digital logic using the Python programming language, as well as evaluation board definitions, a System on Chip toolkit, and more. It aims to be easy to learn and use, reduce or eliminate common coding mistakes, and simplify the design of complex hardware with reusable components.
The Amaranth toolchain consists of the Amaranth hardware definition language, the standard library, the simulator, and the build system, covering all steps of a typical FPGA development workflow. At the same time, it does not restrict the designer’s choice of tools: existing industry-standard (System)Verilog or VHDL code can be integrated into an Amaranth-based design flow, or, conversely, Amaranth code can be integrated into an existing Verilog-based design flow.
The development of Amaranth has been supported by LambdaConcept, ChipEleven, and Chipflow.
Introduction
See the Introduction section of the documentation.
Installation
See the Installation section of the documentation.
Usage
See the Language guide section of the documentation.
Platform support
Amaranth can be used to target any FPGA or ASIC process that accepts behavioral Verilog-2001 as input. It also offers extended support for many FPGA families, providing toolchain integration, abstractions for device-specific primitives, and more. Specifically:
- Lattice iCE40 (toolchains: Yosys+nextpnr, LSE-iCECube2, Synplify-iCECube2);
- Lattice MachXO2, MachXO3L (toolchains: Yosys+nextpnr, Diamond);
- Lattice ECP5 (toolchains: Yosys+nextpnr, Diamond);
- Lattice Nexus (toolchains: Yosys+nextpnr, Radiant);
- AMD Virtex, Virtex E, Spartan 2, Spartan 2E (toolchains: ISE);
- AMD Virtex II, Virtex II Pro (toolchains: ISE);
- AMD Spartan 3, Spartan 3E, Spartan 3A, Spartan 3AN, Spartan 3A DSP (toolchains: ISE);
- AMD Virtex 4, Virtex 5, Virtex 6 (toolchains: ISE);
- AMD Spartan 6 (toolchains: ISE);
- AMD 7-series (toolchains: Vivado, ISE);
- AMD UltraScale, UltraScale+ (toolchains: Vivado);
- Altera (toolchains: Quartus);
- Quicklogic EOS S3 (toolchains: Yosys+VPR).
FOSS toolchains are listed in bold.
Community
Amaranth has a dedicated IRC channel, #amaranth-lang at libera.chat, which is bridged1 to Matrix at #amaranth-lang:matrix.org. Feel free to join to ask questions about using Amaranth or discuss ongoing development of Amaranth and its related projects.
License
Amaranth is released under the two-clause BSD license. You are permitted to use Amaranth for open-source and proprietary designs provided that the copyright notice in the license file is reproduced.
-
The same messages appear on IRC and on Matrix, and one can participate in the discussion equally using either communication system. ↩
Metadata
Release files for amaranth 0.5.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| amaranth-0.5.10.tar.gz | 227.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| amaranth-0.5.10-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 481.9 kB
Release files / amaranth-0.5.10.tar.gz
| Download URL | amaranth-0.5.10.tar.gz |
|---|---|
| Size | 227.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
204a2994ba61c470e22f3351e474e71f53fa7f216e8891b9a85a6ee5d5a91634
|
|
BLAKE2b-256 checksum How to use checksums |
5bca8097439b693a2bfc8d89c00a67da5819a39147d37163a7e9bad66c403a1f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 10, 2026.
Transparency logRelease files / amaranth-0.5.10-py3-none-any.whl
| Download URL | amaranth-0.5.10-py3-none-any.whl |
|---|---|
| Size | 254.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f6423258fcb6ea645f27702731a8bbbe6f8f8ec244f4e076a412c0b4f6107157
|
|
BLAKE2b-256 checksum How to use checksums |
bd7fca474415d96722639095d3f4544632715b0fb523100f22f190cc3026ee16
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 10, 2026.
Transparency log