1
0
mirror of https://github.com/myhdl/myhdl.git synced 2024-12-14 07:44:38 +08:00
myhdl/README.txt

66 lines
1.8 KiB
Plaintext
Raw Normal View History

2003-02-14 11:42:55 +00:00
MyHDL Release 0.1
2003-01-30 17:30:38 +00:00
=================
INTRODUCTION
------------
2003-02-14 11:42:55 +00:00
MyHDL is a Python package for using Python as a hardware description
2003-01-30 22:36:49 +00:00
language. Popular hardware description languages, like Verilog and
2003-02-19 15:36:45 +00:00
VHDL, are compiled languages. MyHDL with Python can be viewed as a
2003-02-14 11:42:55 +00:00
"scripting language" counterpart of such languages. However, Python is
more accurately described as a very high level language (VHLL). MyHDL
2003-02-19 15:36:45 +00:00
users have access to the amazing power and elegance of Python for their
2003-02-14 11:42:55 +00:00
modeling work.
2003-01-30 22:36:49 +00:00
2003-02-14 11:42:55 +00:00
The key idea behind MyHDL is to use Python generators to model the
2003-01-30 22:36:49 +00:00
concurrency required in hardware descriptions. As generators are a
2003-02-19 15:36:45 +00:00
recent Python feature, MyHDL requires Python 2.2.2 or higher.
2003-02-14 11:42:55 +00:00
MyHDL 0.1 is the initial public release of the package. It can be used
to experiment with high level modeling, and with verification
2003-02-20 21:27:00 +00:00
techniques such as unit testing. But the primary goal is to generate
2003-02-23 12:07:20 +00:00
interest and to solicit feedback.
2003-02-14 11:42:55 +00:00
In a future release, MyHDL will hopefully be coupled to hardware
simulators for languages such as Verilog and VHDL. That would turn
2003-02-19 15:36:45 +00:00
Python into a powerful hardware verification language.
2003-01-30 22:36:49 +00:00
2003-01-30 17:30:38 +00:00
INSTALLATION
------------
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
python setup.py install
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
follows:
python setup.py install --home=$HOME
In this case, be sure to add the appropriate install dir to the
$PYTHONPATH.
If necessary, consult the distutils documentation in the standard
Python library if necessary for more details; or contact me.
You can test the installation as follows:
python test.py
2003-01-30 17:30:38 +00:00
DOCUMENTATION
-------------
2003-01-30 22:36:49 +00:00
See the doc/ subdirectory.
2003-01-30 17:30:38 +00:00
EXAMPLES
--------
2003-01-30 22:36:49 +00:00
See the example/ subdirectory for examples.
AUTHOR
------
Jan Decaluwe <jan@jandecaluwe.com>