Skip to main content


Project description


.. image::

.. image::

.. image::
:alt: Updates

.. image::

* Free software: Apache Software License 2.0


From pip:

``pip install --user pyha``

RTL/NETLIST level simulations require `Docker <>`_ :

``curl -fsSL | sh``

Follow the instructions to add yourself to the 'docker' group.


* 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 <>`_


Under construction!

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

pyha-0.0.14-py3-none-any.whl (118.1 kB 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