Skip to content

Myhdl fork that includes support for multiple entities (MEP110) and fixed point functionality (MEP 111) on VHDL. See myhdl/numeric dir under the numeric branch, and the Cordic example (example/cordic/Cordic.ipynb).

License

Notifications You must be signed in to change notification settings

jmgc/myhdl-numeric

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b05aee3 · Apr 3, 2025
May 12, 2024
Feb 10, 2024
Apr 3, 2024
Apr 3, 2025
May 4, 2016
May 6, 2015
Feb 6, 2024
Jul 6, 2013
Aug 26, 2014
Feb 28, 2015
Sep 4, 2019
Jul 9, 2015
Jan 28, 2003
Aug 25, 2014
Apr 27, 2015
Dec 8, 2016
Mar 29, 2015
Apr 20, 2024
Feb 4, 2024

Repository files navigation

MyHDL 1.0dev

Join the chat at https://gitter.im/jandecaluwe/myhdl

Documentation Status Documentation Status Build Status

What is MyHDL-numeric?

MyHDL-numeric is an enhancement of the MyHDL package which provides support for multiple VHDL entities (MEP110) and fixed-point numbers (MEP111).

The fixed-point numbers are based on the bit-array class, that provides support for three new types: sintba (signed integer), uintba (unsigned integer) and sfixba (signed fixed point).

Presently it only supports these new types on VHDL, and makes use of the IEEE fixed_pkg available on VHDL-2008. If this version is not available, it can also make use of the proposed implementation available for VHDL-93. You can find the sources under the vhdl directory. The implementation also takes into account the correction presented in DOI: 10.13140/RG.2.2.33860.42884.

An example of the numeric enhancement can be found under the directory example/cordic.

License

MyHDL is available under the LGPL license. See LICENSE.txt.

Installation

If you have superuser power, you can install MyHDL-numeric 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.

About

Myhdl fork that includes support for multiple entities (MEP110) and fixed point functionality (MEP 111) on VHDL. See myhdl/numeric dir under the numeric branch, and the Cordic example (example/cordic/Cordic.ipynb).

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published