Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (
Help us improve Python packaging - Donate today!

Hardware Design Framework based on python and MyHDL

Project Description

A very preliminary documentation (work-in-progress) is available at:

Install pihdf

To install pihdf in editable mode:

$ sudo python develop

pihdf depends on the following python packages: myhdl, simplejson, coverage, nose. These will be installed during the installation of pihdf if not present on your system.

Note: These packages will not be un-installed if you un-install pyhdf.

Un-install pihdf

To un-install pihdf:

$ sudo python develop --uninstall

Then, remove the command-line script module from its location:

$ which module | xargs sudo rm

Co-simulation, waveform and dotty viewers

For co-simulations, pihdf uses the Icarus iverilog simulator. GTKWave is the waveform viewer used in pihdf. For structured designs, pihdf generates also the design topology (i.e., HW modules interconnections) as a .dot file. To viasualize it, you can use xdot program. Install all programs by executing:

$ sudo apt-get install iverilog gtkwave xdot

Create myhdl.vpi

For co-simuations, myhdl uses a .vpi interface. To create the myhdl.vpi file used with Icarus, download the source of myhdl. Then,

$ cd [myhdl-folder]/cosimulation/icarus/
$ make

Make sure that file myhdl.vpi is copied to directory /.pihdf!


pihdf requiers myhdl_lib (

The command-line tool module makes use of the very convenient package docopt (, which is copied in the pihdf repository.

Release History

Release History

This version
History Node


History Node


History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pihdf-0.1.124.tar.gz (48.4 kB) Copy SHA256 Checksum SHA256 Source Apr 8, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting