Skip to main content

Specialized WebAssembly build of Yosys used by Amaranth HDL

Project description

Amaranth is a Python-based hardware description language that uses Yosys as a backend to emit Verilog.

The Amaranth HDL Yosys wheels provide a specialized WebAssembly based build of Yosys that runs via wasmtime-py if there is no system-wide Yosys installation, or if that installation is too old. This build is aggressively optimized for binary size and startup latency, and only includes features required by Amaranth’s Verilog and CXXRTL backends; it is not useful for any other purpose.

Although this package is platform-independent, it depends on wasmtime-py wheels, which are currently available only for x86_64 Windows, Linux, and macOS. This is expected to improve in the future.

Versioning

The version of this package (which is derived from the upstream Yosys package version) is comprised of five parts in a X.Y.Z.N.postM format:

  1. X: Yosys major version

  2. Y: Yosys minor version

  3. Z: Yosys patch version; only present for some Yosys releases, zero if not present

  4. N: Yosys node version; only present for unreleased Yosys snapshots (where it matches the N in the X.Y+N upstream version), zero for releases

  5. postM: package version, monotonically incrementing from the initial commit

Building

The primary build environment for this repository is the ubuntu-latest GitHub CI runner; packages are built on every push and automatically published from the release branch to PyPI.

To reduce maintenance overhead, the only development environment we will support for this repository is x86_64 Linux.

License

This package is covered by the ISC license, which is the same as the Yosys license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

amaranth_yosys-0.40.0.0.post94-py3-none-any.whl (5.3 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page