2015-02-16 18:42:18 +01:00
|
|
|
MyHDL 0.9
|
|
|
|
=========
|
2003-01-30 17:30:38 +00:00
|
|
|
|
2015-03-03 16:22:37 +01:00
|
|
|
[![Documentation Status](https://readthedocs.org/projects/myhdl/badge/?version=master)](http://docs.myhdl.org/en/latest/manual)
|
2015-02-28 19:28:49 +01:00
|
|
|
[![Build Status](https://travis-ci.org/jandecaluwe/myhdl.svg?branch=master)](https://travis-ci.org/jandecaluwe/myhdl)
|
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-02-28 18:53:53 +01:00
|
|
|
[http://www.myhdl.org/start/why.html](http://www.myhdl.org/start/why.html)
|
2003-01-30 17:30:38 +00:00
|
|
|
|
2008-12-21 15:42:55 +01:00
|
|
|
License
|
|
|
|
-------
|
|
|
|
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
|
|
|
|
2014-08-24 08:44:33 +02:00
|
|
|
http://docs.myhdl.org/en/latest/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
|
|
|
|
2015-02-28 18:53:53 +01:00
|
|
|
[http://docs.myhdl.org/en/latest/whatsnew/0.8.html](http://docs.myhdl.org/en/latest/whatsnew/0.8.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
|
|
|
------------
|
2003-02-14 11:42:55 +00:00
|
|
|
If you have superuser power, you can install MyHDL as follows:
|
2003-01-30 22:36:49 +00:00
|
|
|
|
2015-02-28 18:53:53 +01:00
|
|
|
```
|
|
|
|
python setup.py install
|
|
|
|
```
|
2003-01-30 22:36:49 +00:00
|
|
|
|
|
|
|
This will install the package in the appropriate site-wide Python
|
|
|
|
package location.
|
|
|
|
|
|
|
|
Otherwise, you can install it in a personal directory, e.g. as
|
2015-02-28 18:53:53 +01:00
|
|
|
follows:
|
2003-01-30 22:36:49 +00:00
|
|
|
|
2015-02-28 18:53:53 +01:00
|
|
|
```
|
|
|
|
python setup.py install --home=$HOME
|
|
|
|
```
|
2003-01-30 22:36:49 +00:00
|
|
|
|
|
|
|
In this case, be sure to add the appropriate install dir to the
|
2015-02-28 18:53:53 +01:00
|
|
|
$PYTHONPATH.
|
2003-01-30 22:36:49 +00:00
|
|
|
|
|
|
|
If necessary, consult the distutils documentation in the standard
|
2010-12-19 18:20:35 +01:00
|
|
|
Python library if necessary for more details;
|
|
|
|
or contact me.
|
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
|
|
|
|
python test_all.py
|
|
|
|
```
|
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
|
|
|
|
2003-05-15 09:30:34 +00:00
|
|
|
Go to the directory co-simulation/<platform> for your target platform
|
2004-12-28 17:04:43 +00:00
|
|
|
and following the instructions in the README.txt file.
|
2003-05-14 09:12:21 +00:00
|
|
|
|