Skip to main content

Python module containing vhdl files for microwatt cpu.

Project description

pythondata-cpu-microwatt

Non-Python files needed for the cpu microwatt packaged into a Python module so they can be used with Python libraries and tools.

This is useful for usage with tools like LiteX.

The data files can be found under the Python module pythondata_cpu_microwatt. The pythondata_cpu_microwatt.data_location value can be used to find the files on the file system.

Example of getting the data file directly;

import pythondata_cpu_microwatt

my_data_file = "abc.txt"

with open(os.path.join(pythondata_cpu_microwatt.data_location, my_data_file)) as f:
    print(f.read())

Example of getting the data file using litex.data.find API;

from pythondata_cpu_microwatt import data_file

my_data_file = "abc.txt"

with open(data_file(my_data_file)) as f:
    print(f.read())

The data files come from https://github.com/antonblanchard/microwatt and are imported using git subtrees to the directory pythondata_cpu_microwatt/vhdl.

Installing from git repository

Manually

You can install the package manually, however this is not recommended.

git clone https://github.com/litex-hub/pythondata-cpu-microwatt.git
cd pythondata-cpu-microwatt
sudo python setup.py install

Using pip with git repository

You can use pip to install the data package directly from github using;

pip install --user git+https://github.com/litex-hub/pythondata-cpu-microwatt.git

If you want to install for the whole system rather than just the current user, you need to remove the --user argument and run as sudo like so;

sudo pip install git+https://github.com/litex-hub/pythondata-cpu-microwatt.git

You can install a specific revision of the repository using;

pip install --user git+https://github.com/litex-hub/pythondata-cpu-microwatt.git@<tag>
pip install --user git+https://github.com/litex-hub/pythondata-cpu-microwatt.git@<branch>
pip install --user git+https://github.com/litex-hub/pythondata-cpu-microwatt.git@<hash>

With requirements.txt file

Add to your Python requirements.txt file using;

-e git+https://github.com/litex-hub/pythondata-cpu-microwatt.git

To use a specific revision of the repository, use the following;

-e https://github.com/litex-hub/pythondata-cpu-microwatt.git@<hash>

Installing from PyPi

Using pip

pip install --user pythondata-cpu-microwatt

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pythondata-cpu-microwatt-0.0.post965.tar.gz (19.7 MB view details)

Uploaded Source

Built Distributions

File details

Details for the file pythondata-cpu-microwatt-0.0.post965.tar.gz.

File metadata

  • Download URL: pythondata-cpu-microwatt-0.0.post965.tar.gz
  • Upload date:
  • Size: 19.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for pythondata-cpu-microwatt-0.0.post965.tar.gz
Algorithm Hash digest
SHA256 8e1669b205a23c837d6a62166b9389a9466a12c53f2df71035f235b0358c26a4
MD5 c3780feed09d521f0b712b99efd0f2d1
BLAKE2b-256 52ad2748899211775db108fca70be09397f56ca9ab642c21f047ca93397a7f8e

See more details on using hashes here.

File details

Details for the file pythondata_cpu_microwatt-0.0.post965-py3.9.egg.

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post965-py3.9.egg
  • Upload date:
  • Size: 20.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for pythondata_cpu_microwatt-0.0.post965-py3.9.egg
Algorithm Hash digest
SHA256 5921d2d5503b87400b3277f6ae64f2c6eac5dc257d63b1114273ff074f6c404d
MD5 e4a9990e54c50d9b32a475f2351bfad6
BLAKE2b-256 9711ea23adcd50f8d88ce7bc97e88b79d36f148bbbf8ffdef70da855f19f250b

See more details on using hashes here.

File details

Details for the file pythondata_cpu_microwatt-0.0.post965-py3.8.egg.

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post965-py3.8.egg
  • Upload date:
  • Size: 20.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7

File hashes

Hashes for pythondata_cpu_microwatt-0.0.post965-py3.8.egg
Algorithm Hash digest
SHA256 90681b9f5c257944e8d13440bd6b41b8368366ca15be8b7e3b035a650eee0943
MD5 4d6ddfafcb8c7ea5674fac668d880214
BLAKE2b-256 637d26e0c1468061f2e12b2e9a237b6a9c45c9f6278c258bdf089fa56d85e29c

See more details on using hashes here.

File details

Details for the file pythondata_cpu_microwatt-0.0.post965-py3.7.egg.

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post965-py3.7.egg
  • Upload date:
  • Size: 20.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.9

File hashes

Hashes for pythondata_cpu_microwatt-0.0.post965-py3.7.egg
Algorithm Hash digest
SHA256 2b4a29451efe684932de52c3cf053522662b977cbdd3d05dc9b35dbbd4abe6ed
MD5 cec44a7b9aa263f7b240c2c27d357301
BLAKE2b-256 fdd00e9a8b6b0d736a8a4216f6d078ae7b0c581d2d104e677b4bc50d85e67ca2

See more details on using hashes here.

File details

Details for the file pythondata_cpu_microwatt-0.0.post965-py3.6.egg.

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post965-py3.6.egg
  • Upload date:
  • Size: 20.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.6.12

File hashes

Hashes for pythondata_cpu_microwatt-0.0.post965-py3.6.egg
Algorithm Hash digest
SHA256 cc20ac8a3b4a380d317a8e83491035d5a8ffd1d9b5b8ebdc25d29ee96dc853b5
MD5 fb52d3f9ff069f1be594be2463953a6f
BLAKE2b-256 70f71080bed77e33aaed086f9255e1ddd52e5adcb8cb3c85fa0be46a92bb5533

See more details on using hashes here.

File details

Details for the file pythondata_cpu_microwatt-0.0.post965-py3-none-any.whl.

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post965-py3-none-any.whl
  • Upload date:
  • Size: 20.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7

File hashes

Hashes for pythondata_cpu_microwatt-0.0.post965-py3-none-any.whl
Algorithm Hash digest
SHA256 b376869faec1bc0fe5c796a504ecf719f631966662f3f2012a0ceb7c69efad7c
MD5 7222ee9e7753e204867f7030e1653d76
BLAKE2b-256 a42022137a71de8b54faecf157c036eacf522594ce2f92f272e785fa94bdcd5a

See more details on using hashes here.

File details

Details for the file pythondata_cpu_microwatt-0.0.post965-py2.7.egg.

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post965-py2.7.egg
  • Upload date:
  • Size: 20.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.7.0 requests/2.25.1 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.56.0 PyPy/7.3.3

File hashes

Hashes for pythondata_cpu_microwatt-0.0.post965-py2.7.egg
Algorithm Hash digest
SHA256 64d7b671b2ea98866fafaaaca1b626c54571fd9ad425b30f50f5fa82738eb54b
MD5 164379bdb40d5f39afcbda67490949ad
BLAKE2b-256 9b6395eabb4db929251aa6dd31991a6a2c9b6b62655717a3291f8ee006ba2572

See more details on using hashes here.

File details

Details for the file pythondata_cpu_microwatt-0.0.post965-py2-none-any.whl.

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post965-py2-none-any.whl
  • Upload date:
  • Size: 20.1 MB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.7.0 requests/2.25.1 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/2.7.18

File hashes

Hashes for pythondata_cpu_microwatt-0.0.post965-py2-none-any.whl
Algorithm Hash digest
SHA256 b8f7bfa947f9706b38116112d6936cf02f1386d1acb1cd7b51be4da2f755bdb0
MD5 39938235c66a2e0829e510cfadc638ca
BLAKE2b-256 a629e7cac259c6c9f6287ab3eec1489d84dc397ccf7e5af875d21735d7f10044

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page