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

Uploaded Source

Built Distributions

File details

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

File metadata

  • Download URL: pythondata-cpu-microwatt-0.0.post955.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.6.12

File hashes

Hashes for pythondata-cpu-microwatt-0.0.post955.tar.gz
Algorithm Hash digest
SHA256 840e2e7237c3b05deb8e7a4dd0af67dbf0dd0f531071240fd5a338d7fb619468
MD5 e71a2e59d8322d76f9dbf274c0e4d0c5
BLAKE2b-256 9f9ed271ff9b7d6d84078c81f20388f8eb5e9e596ad148ab702c410390a396d4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post955-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.post955-py3.9.egg
Algorithm Hash digest
SHA256 962df5fbdce3598285380c3b7b2640fe12759d2dc336188edaab36ce338c59d3
MD5 72d44703729c9d53e97ee8b171e9312e
BLAKE2b-256 319517e7fd15e0035264b3b832eeb806ed5d1ede0fd176583a6930c073451499

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post955-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.post955-py3.8.egg
Algorithm Hash digest
SHA256 eeb6d6cadf58124102b06c717e232636e46f5e47018c133de90cc0ac44ac8f8a
MD5 c368456234dc3d7078bbd7807a33fec7
BLAKE2b-256 858edddca779cc7c6f1d0f3d90eb4492e8e03fdb4cbd5e1e4860213f77c70f1c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post955-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.post955-py3.7.egg
Algorithm Hash digest
SHA256 ef0764ca988390f8cc7b8a56611f07c2c99e67fb9ce34410a3787de218a2f70f
MD5 cd2b05ac9d8992eaaf2dc3d5fb8f452c
BLAKE2b-256 e145228ff8fdf49e84910817691846e76c5b6851a7fb46e0610ea0ff8a173357

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post955-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.post955-py3.6.egg
Algorithm Hash digest
SHA256 5f50f221dfbda35abfbfbf5cfd5ed3969939a823c55eaa4ec10765a3ce48b2fc
MD5 c7ec94f64c391527e470f9aa776020c9
BLAKE2b-256 dda1e29cd8be451227be23f7ec0c77eee6cb60c408c22d21afe5521bca2d7023

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post955-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.post955-py3-none-any.whl
Algorithm Hash digest
SHA256 d1e5a0d30b6d61c3c0d35d76f953ff9809b382ca0fd6dba13da536d2b5362333
MD5 2e169c9da6f700bb1fd874b8e0c91127
BLAKE2b-256 95f80c10850e91e3f7fa20e50bb1f49e90ffe4e775cb73a4e4f863539ca027c9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post955-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.post955-py2.7.egg
Algorithm Hash digest
SHA256 8d83621d175407bbb1ed27ca7b97dd78619ddba48496ddc2aaadb7d9f37553e3
MD5 32085c06e4f513e00e921ccc9f17fd1b
BLAKE2b-256 55ee5db96270c64bfbd469bec1e2c125a7fde7f6d5a3db6c1bf4571e7d0f0102

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post955-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.post955-py2-none-any.whl
Algorithm Hash digest
SHA256 04f6d83d470e173f7f372a8639e3f037967d862b93e9790dd560c105aaf21369
MD5 e57a49f5697198429d23eed9ab8090dd
BLAKE2b-256 c7963dcc774dc720427a1df0316570cc78a651a759354d9d55be716595810eeb

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