amaranth
Amaranth hardware definition language
Decision gist · record as of 2026-08-14
Yes. Amaranth is actively maintained, has low install friction, permissive licensing, and fills a genuine niche for developers who prefer Python for hardware design. It's suitable for anyone targeting FPGAs or ASICs who wants to avoid Verilog/VHDL syntax and leverage Python's expressiveness. No known security vulnerabilities. The main prerequisite is familiarity with digital logic and access to external synthesis toolchains.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python ~=3.8.
- Verilog generation and synthesis require external toolchains (Yosys, nextpnr, vendor tools) depending on target FPGA family.
- Low friction: pure Python wheel with four runtime dependencies (importlib_resources, jschon, pyvcd, Jinja2).
License · maintenance · safety
BSD-2-clause (permissive) — BSD-2-clause permissive license allows use in both open-source and proprietary designs, provided the copyright notice is retained.
last release 2026-07-16 (29 days) · last repo commit 2026-08-12 · 2,067 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 81,776 downloads/mo, #14,201 on PyPI
Alternatives
Verify before relying
pip install amaranth
from amaranth import *
from amaranth.back import verilog
m = Module()
m.d.comb += []
print(verilog.convert(m, ports=[]))- Whether the simulator supports co-simulation with external tools or testbenches
- Performance characteristics for large designs (gate count, synthesis time)
- Availability of pre-built board definitions and SoC toolkit components
What it is and what it does
Amaranth is a Python-based hardware definition language that lets you write FPGA and ASIC designs in Python instead of Verilog or VHDL. It includes a simulator, build system, and standard library, covering the full FPGA development workflow. The language aims to reduce common hardware design mistakes and support reusable component design. Amaranth can target any FPGA or ASIC process accepting behavioral Verilog-2001, with extended support for Lattice (iCE40, MachXO, ECP5, Nexus), AMD (Virtex, Spartan, 7-series, UltraScale), Altera, and Quicklogic families. Existing Verilog or VHDL code can be integrated into an Amaranth design flow, and vice versa. The toolchain is actively maintained and supported by LambdaConcept, ChipEleven, and Chipflow.
Use it for
- Design FPGA logic for embedded systems or research projects using Python instead of learning Verilog
- Build reusable hardware components and libraries that can be composed into larger designs
- Simulate digital logic behavior before synthesis to catch design errors early
- Integrate Python-generated Verilog into existing Verilog-based design flows
- Target multiple FPGA families from a single Python codebase with vendor-specific toolchain integration
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Amaranth is actively maintained, has low install friction, permissive licensing, and fills a genuine niche for developers who prefer Python for hardware design. It's suitable for anyone targeting FPGAs or ASICs who wants to avoid Verilog/VHDL syntax and leverage Python's expressiveness. No known security vulnerabilities. The main prerequisite is familiarity with digital logic and access to external synthesis toolchains.
Install
amaranth on PyPI
Before you install
Low friction: pure Python wheel with four runtime dependencies (importlib_resources, jschon, pyvcd, Jinja2). Actively maintained—last commit 2026-08-12, release 29 days old, 2067 repository stars.
Requires Python ~=3.8. Verilog generation and synthesis require external toolchains (Yosys, nextpnr, vendor tools) depending on target FPGA family.
License in practice
BSD-2-clause permissive license allows use in both open-source and proprietary designs, provided the copyright notice is retained.
Quickstart
pip install amaranth
from amaranth import *
from amaranth.back import verilog
m = Module()
m.d.comb += []
print(verilog.convert(m, ports=[]))
Verify before relying
- Whether the simulator supports co-simulation with external tools or testbenches
- Performance characteristics for large designs (gate count, synthesis time)
- Availability of pre-built board definitions and SoC toolkit components
Package facts
| License | BSD-2-clause permissive |
| Python support | Supports the current Python release ~=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagesimportlib_resourcesjschonpyvcdJinja2 |
| Maintenance | Actively maintained 29 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 81,776 / month, #14,201 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: amaranth-0.5.9-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “python hardware definition language”
- amaranthAmaranth is a Python-based hardware definition language and toolchain…
- peakrdl-systemrdlExports a compiled register model into SystemRDL code, enabling…
- peakrdl-cheaderGenerates C header files from SystemRDL register models, converting…
Give your agent the search over MCP, or paste the wish link into any chat.
More Build Tools packages
Provides reusable utilities for Python packaging interoperability, including version handling, specifiers, markers, requirements, tags, and metadata parsing according to standards like PEP 440 and PEP 425.
Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.
pip is the standard installer for Python packages, enabling you to download and install packages from the Python Package Index and other indexes into your Python environment.
Hatchling is a standards-compliant Python build backend that handles packaging, metadata, and distribution of Python projects when configured in a project's pyproject.toml file.
Generates Python gRPC service stubs and message classes from Protocol Buffer definitions, enabling developers to build gRPC clients and servers.
pre-commit is a framework for installing and running git hooks written in any language before commits are made, automating code quality and validation checks across multi-language projects.
Install it if your team needs consistent, automated validation at commit time.
See also cocotb · siliconcompiler · fusesoc · lambdalib · cocotb-test · edalize · peakrdl-regblock · pioarduino · peakrdl · cirq-google