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.post933.tar.gz (19.6 MB view details)

Uploaded Source

Built Distributions

File details

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

File metadata

  • Download URL: pythondata-cpu-microwatt-0.0.post933.tar.gz
  • Upload date:
  • Size: 19.6 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.post933.tar.gz
Algorithm Hash digest
SHA256 70dd3b895e07696d050322b1608f736ac1ae8a6679cc414a2fb29d2066bba7b9
MD5 497eaf954afe04e26c4e01f1a94448d5
BLAKE2b-256 ee432d3cb99c28a7521bc108e0f59d88072367e0766d1899aff3baf5612152d3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post933-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.post933-py3.9.egg
Algorithm Hash digest
SHA256 65f53e886dba74ed0c7f426d3ae61461c704e61a03759772ceee4d41a6ff25a2
MD5 d5c8a61c63fb21a9cd7c2ba4d3bb85d3
BLAKE2b-256 4926ab1cb698ef2c9ececff8366d37afccd2cd382f166818822d4f57af9b41a3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post933-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.post933-py3.8.egg
Algorithm Hash digest
SHA256 795bd604faf2c7034619c5903df219a5dadb4879525a68fecc3c86045bcd1cdf
MD5 508e54ed78c117ee8c59cd0dad333cc5
BLAKE2b-256 9faeb47dfe4c1f16b7563714d584abe47a8607a750060411633509bcb4816f51

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post933-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.post933-py3.7.egg
Algorithm Hash digest
SHA256 f9d8673a3e0de87caf02271d1035b0d9402b45fb23e95238c16946866c08d984
MD5 a9d30c2bb137d820f304a71a0c8fcda4
BLAKE2b-256 1e652b5df87421d86a5c3c5b5614937dbea51c6816fe6cb5568bbcc123627214

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post933-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 PyPy/7.3.3

File hashes

Hashes for pythondata_cpu_microwatt-0.0.post933-py3.6.egg
Algorithm Hash digest
SHA256 2452a88fb5cbbf9bf21e65700094c781d06cb60bdc52f0a2169f515361399841
MD5 3e6385f8e5e0d17d85edcbad5521a42b
BLAKE2b-256 9fcefec263eaa93c6729bb295afede456a39bf46d3f366a19ff2ff6aae9e79a8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post933-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.7.9

File hashes

Hashes for pythondata_cpu_microwatt-0.0.post933-py3-none-any.whl
Algorithm Hash digest
SHA256 d2702eeba0d70cf4f607435e2b0ec9d0f424524678e264a45f42a572ae25b235
MD5 c4fe51adb0f890516cce46a313b9b528
BLAKE2b-256 88b43e1a0908b04664e44258b53682501b3369d4cd7f83044084d51d57640d30

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post933-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 CPython/2.7.18

File hashes

Hashes for pythondata_cpu_microwatt-0.0.post933-py2.7.egg
Algorithm Hash digest
SHA256 4236aabdc023f6fba8a2986bd2b62a52bc423dc07546debb5ce9102cf3b93506
MD5 0ceac20b6fc9b7a1c2a677a650c32b83
BLAKE2b-256 6b5543ca07fface72eecf4ea0a39b9a9ef3b774492bc23a77e5efe7db49a48cd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post933-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.post933-py2-none-any.whl
Algorithm Hash digest
SHA256 66acfe1ca3b2a968d9c2dc9bcfba73a4e19aedb113b9303b3e6b88cceb90e911
MD5 e0fd2c0ec89d7295fb5239b794c7937c
BLAKE2b-256 e59cb2b1ad107ed90e8518e6d868700b1fe8abee26f40004eb7f0714abcbaf63

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