2019-05-31 16:49:39 -05:00
MyHDL 0.11
2018-03-28 20:53:46 +02:00
==========
2003-01-30 17:30:38 +00:00
2019-05-19 15:21:04 -05:00
[![Documentation Status ](https://readthedocs.org/projects/myhdl/badge/?version=stable )](http://docs.myhdl.org/en/stable/manual/)
2015-07-07 08:53:12 +02:00
[![Documentation Status ](https://readthedocs.org/projects/myhdl/badge/?version=latest )](http://docs.myhdl.org/en/latest/manual)
2023-04-05 13:31:55 +01:00
[![Join the chat at https://gitter.im/myhdl/myhdl ](https://badges.gitter.im/Join%20Chat.svg )](https://gitter.im/myhdl/myhdl?utm_source=badge& utm_medium=badge& utm_campaign=pr-badge& utm_content=badge)
[<img src="https://d11a6trkgmumsb.cloudfront.net/original/3X/a/d/ad2526334012b2ad0c3421f9b6dd94bae2ede52f.svg" alt="Visit MyHDL at Discourse" align="left" height="36" width="134" > ](https://discourse.myhdl.org )
< br > < br > < br >
2015-02-28 18:53:53 +01:00
2008-12-21 15:42:55 +01:00
What is MyHDL?
--------------
MyHDL is a free, open-source package for using Python as a hardware
description and verification language.
2005-12-27 14:33:57 +00:00
2009-01-09 12:33:14 +01:00
To find out whether MyHDL can be useful to you, please read:
2005-12-27 14:33:57 +00:00
2015-05-04 11:19:02 +02:00
- http://www.myhdl.org/start/why.html
2003-01-30 17:30:38 +00:00
2008-12-21 15:42:55 +01:00
License
-------
2015-05-04 11:19:02 +02:00
MyHDL is available under the LGPL license. See ``LICENSE.txt` `.
2005-12-27 14:33:57 +00:00
2008-12-21 15:42:55 +01:00
Website
-------
2013-04-17 19:13:36 +02:00
The project website is located at http://www.myhdl.org
2008-12-21 15:42:55 +01:00
Documentation
-------------
The manual is available on-line:
2003-02-14 11:42:55 +00:00
2015-07-07 08:53:12 +02:00
- http://docs.myhdl.org/en/stable/manual
2004-02-02 10:47:49 +00:00
2008-12-21 15:42:55 +01:00
What's new
----------
2009-01-09 12:33:14 +01:00
To find out what's new in this release, please read:
2003-08-08 13:41:03 +00:00
2019-05-31 16:49:39 -05:00
- http://docs.myhdl.org/en/stable/whatsnew/0.11.html
2003-01-30 22:36:49 +00:00
2008-12-21 15:42:55 +01:00
Installation
2003-01-30 17:30:38 +00:00
------------
2019-02-02 22:15:16 -05:00
It is recommended to install MyHDL (and your project's other dependencies) in
a virtualenv.
Installing the latest stable release:
2003-01-30 22:36:49 +00:00
2015-02-28 18:53:53 +01:00
```
2019-02-02 22:15:16 -05:00
pip install myhdl
2015-02-28 18:53:53 +01:00
```
2023-04-05 13:31:55 +01:00
Unfortunately the version on PyPI is quite behind the current development status, so you are better off installing the *stable* master branch directly from this GitHub repository:
2003-01-30 22:36:49 +00:00
2019-02-02 22:15:16 -05:00
```
2023-04-05 13:31:55 +01:00
pip install git+https://github.com/myhdl/myhdl.git@master
2019-02-02 22:15:16 -05:00
```
2003-01-30 22:36:49 +00:00
2019-02-02 22:15:16 -05:00
To install a local clone of the repository:
2023-04-05 13:31:55 +01:00
2015-02-28 18:53:53 +01:00
```
2019-02-02 22:15:16 -05:00
pip install -e path/to/dir
2015-02-28 18:53:53 +01:00
```
2003-01-30 22:36:49 +00:00
2019-02-02 22:15:16 -05:00
To install a specific commit hash, tag or branch from git:
2023-04-05 13:31:55 +01:00
2019-02-02 22:15:16 -05:00
```
2023-04-05 13:31:55 +01:00
pip install git+https://github.com/myhdl/myhdl@f696b8
2019-02-02 22:15:16 -05:00
```
2003-01-30 22:36:49 +00:00
2004-04-21 13:38:04 +00:00
You can test the proper installation as follows:
2015-02-28 18:53:53 +01:00
```
cd myhdl/test/core
2015-05-05 10:42:04 -05:00
py.test
2015-02-28 18:53:53 +01:00
```
2003-01-30 22:36:49 +00:00
2003-05-15 09:30:34 +00:00
To install co-simulation support:
2003-05-14 09:12:21 +00:00
2015-05-04 11:19:02 +02:00
Go to the directory ``cosimulation/<platform>` ` for your target platform
and following the instructions in the ``README.txt` ` file.