When using range() without parameter, a cryptic error message is displayed by converter : File "xxx.py", line 1275, in visit_For start, stop, step = args ValueError: need more than 0 values to unpack Replaces it by a useful information message : raise ConversionError(kind, msg, info) myhdl.ConversionError: in file xxx.py, line 49: Requirement violation: at least one argument requested
MyHDL 1.0dev
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:
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:
What's new
To find out what's new in this release, please read:
Installation
If you have superuser power, you can install MyHDL as follows:
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 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.