mirror of
https://github.com/myhdl/myhdl.git
synced 2024-12-14 07:44:38 +08:00
77 lines
2.0 KiB
Markdown
77 lines
2.0 KiB
Markdown
MyHDL 0.11
|
|
==========
|
|
|
|
[![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)
|
|
|
|
[![Documentation Status](https://readthedocs.org/projects/myhdl/badge/?version=stable)](http://docs.myhdl.org/en/stable/manual/)
|
|
[![Documentation Status](https://readthedocs.org/projects/myhdl/badge/?version=latest)](http://docs.myhdl.org/en/latest/manual)
|
|
[![Build Status](https://travis-ci.org/myhdl/myhdl.svg?branch=master)](https://travis-ci.org/myhdl/myhdl)
|
|
|
|
What is MyHDL?
|
|
--------------
|
|
MyHDL is a free, open-source package for using Python as a hardware
|
|
description and verification language.
|
|
|
|
To find out whether MyHDL can be useful to you, please read:
|
|
|
|
- http://www.myhdl.org/start/why.html
|
|
|
|
License
|
|
-------
|
|
MyHDL is available under the LGPL license. See ``LICENSE.txt``.
|
|
|
|
Website
|
|
-------
|
|
The project website is located at http://www.myhdl.org
|
|
|
|
Documentation
|
|
-------------
|
|
The manual is available on-line:
|
|
|
|
- http://docs.myhdl.org/en/stable/manual
|
|
|
|
What's new
|
|
----------
|
|
To find out what's new in this release, please read:
|
|
|
|
- http://docs.myhdl.org/en/stable/whatsnew/0.11.html
|
|
|
|
Installation
|
|
------------
|
|
It is recommended to install MyHDL (and your project's other dependencies) in
|
|
a virtualenv.
|
|
|
|
Installing the latest stable release:
|
|
|
|
```
|
|
pip install myhdl
|
|
```
|
|
|
|
To install the development version from github:
|
|
```
|
|
pip install -e 'git+https://github.com/myhdl/myhdl#egg=myhdl
|
|
```
|
|
|
|
To install a local clone of the repository:
|
|
```
|
|
pip install -e path/to/dir
|
|
```
|
|
|
|
To install a specific commit hash, tag or branch from git:
|
|
```
|
|
pip install -e 'git+https://github.com/myhdl/myhdl@f696b8#egg=myhdl
|
|
```
|
|
|
|
|
|
You can test the proper installation as follows:
|
|
|
|
```
|
|
cd myhdl/test/core
|
|
py.test
|
|
```
|
|
|
|
To install co-simulation support:
|
|
|
|
Go to the directory ``cosimulation/<platform>`` for your target platform
|
|
and following the instructions in the ``README.txt`` file.
|