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

Uploaded Source

Built Distributions

File details

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

File metadata

  • Download URL: pythondata-cpu-microwatt-0.0.post873.tar.gz
  • Upload date:
  • Size: 19.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.1

File hashes

Hashes for pythondata-cpu-microwatt-0.0.post873.tar.gz
Algorithm Hash digest
SHA256 a2fd295262f67d75be62be7a3eae34c37c44bc347290b2d0f9af695a5555730d
MD5 4ec7b77a2abc0431204066b66d1ac0df
BLAKE2b-256 a42df19dc3084609c1985c63f37bf3be2497c1147e1d3777b76152bcb3e8b94b

See more details on using hashes here.

File details

Details for the file pythondata_cpu_microwatt-0.0.post873-py3.10.egg.

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post873-py3.10.egg
  • Upload date:
  • Size: 20.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.10.0a2+

File hashes

Hashes for pythondata_cpu_microwatt-0.0.post873-py3.10.egg
Algorithm Hash digest
SHA256 df04a978cf17dd53d37a0b80418489fb9700ec836a160ac34586b775b99be605
MD5 c8bad165e5de7dd2f9400de2dad86000
BLAKE2b-256 3eb6e01bf9f75ca23915de145dc244f2b5a70aab724b920ac799b789f8830fcb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post873-py3.8.egg
  • Upload date:
  • Size: 20.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.0

File hashes

Hashes for pythondata_cpu_microwatt-0.0.post873-py3.8.egg
Algorithm Hash digest
SHA256 cf682feb94f7d0b579543ea0d812889009a67c54510a692a0a47689e0f7ef5e2
MD5 6822db3e6495f816aac73fdc0b9478c3
BLAKE2b-256 fa841f5cc15950d7067e7bea4af94af01ab39612fb8cc9119c1a22dce81b3563

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post873-py3.7.egg
  • Upload date:
  • Size: 20.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.1

File hashes

Hashes for pythondata_cpu_microwatt-0.0.post873-py3.7.egg
Algorithm Hash digest
SHA256 3231b27302d6ef0a3f21e6532041e152017c104949d03af3f807a88180cb91db
MD5 03d628cfa7bb634cd187a4672c7e1bd1
BLAKE2b-256 168ea85227e43c498a14cfefc0540829b7806fc9edd4cb77cb60dd78df1545f3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post873-py3.6.egg
  • Upload date:
  • Size: 20.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.7

File hashes

Hashes for pythondata_cpu_microwatt-0.0.post873-py3.6.egg
Algorithm Hash digest
SHA256 ea519c46be7e8699a8c2c8260fc0efb4fc389c545640fd6a4b500ff7a4bc105e
MD5 6187c77bdf344f3db9ca12f6db267e61
BLAKE2b-256 43dc34aab617a6605ce73885e4efa822fd7894a6015756a995a46d7aa23edc73

See more details on using hashes here.

File details

Details for the file pythondata_cpu_microwatt-0.0.post873-py3.5.egg.

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post873-py3.5.egg
  • Upload date:
  • Size: 20.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.5.6

File hashes

Hashes for pythondata_cpu_microwatt-0.0.post873-py3.5.egg
Algorithm Hash digest
SHA256 b78acf88269730fe21ccacfcc5dee0e5d3ae1dd92cf934c165b2e2d258fc4c68
MD5 715e30c22f91fc03d3818bffece6af1b
BLAKE2b-256 69e8f4212bb7f05c74254794853ce535f741b1070c41892b30ad13eda5570189

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post873-py3-none-any.whl
  • Upload date:
  • Size: 20.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.1

File hashes

Hashes for pythondata_cpu_microwatt-0.0.post873-py3-none-any.whl
Algorithm Hash digest
SHA256 ab4b8f4814cb5349de19d312b63a490a3d3d187f4cc7f12197d7428e6c5f83cb
MD5 b0f16058db3ecfe2e6145a9b451200a5
BLAKE2b-256 31ef62f5b011ead44beee19a8a3655badbec8f63c293f5d906c6bafa4d5da67e

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