Skip to main content

pyha

https://img.shields.io/pypi/v/pyha.svg https://img.shields.io/travis/gasparka/pyha.svg Updates https://coveralls.io/repos/github/gasparka/pyha/badge.svg?branch=develop
  • Free software: Apache Software License 2.0

Install

From pip:

pip install --user pyha

RTL/NETLIST level simulations require Docker :

curl -fsSL https://get.docker.com | sh

Follow the instructions to add yourself to the ‘docker’ group.

Features

  • Describe hardware in Python and convert to VHDL

  • Cycle-accurate and fast simulator

  • Debuggable in Python – very useful as Python and VHDL sources are highly correlated

  • Simple testing framework by pairing pytest and cocotb

  • Builtin fixed-point and complex types

Quick start

Take a look at the cores implemented in Pyha, each of them have a Notebook to ease the experimentation. For example, start with the moving-average core:

Python source

Notebook

VHDL conversion

And then see how the ‘dc-removal’ is built by reusing the ‘moving-average’ component:

Python source

Notebook

VHDL conversion

Documentation

Under construction!

Metadata

Release files for pyha 0.0.14

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for pyha 0.0.14
File Interpreter ABI Platform Actions
pyha-0.0.14-py3-none-any.whl Python 3 none any Details for pyha-0.0.14-py3-none-any.whl

Release files / pyha-0.0.14-py3-none-any.whl

Download URL pyha-0.0.14-py3-none-any.whl
Size 118.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a026b4db34d45968aaa3346cfe45b73e91c026821889882ad2560aee91c0af5d
BLAKE2b-256 checksum
How to use checksums
7255956c2aa4132b48eb573be01e33aaa69e6a8117d5247ca83d8c9cddacdc98
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.2 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.7.0

Security for pyha 0.0.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page