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

Uploaded Source

Built Distributions

File details

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

File metadata

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

File hashes

Hashes for pythondata-cpu-microwatt-0.0.post920.tar.gz
Algorithm Hash digest
SHA256 ae9827279dee472766d513afa20a9b602b1c4317ad19a55a9486b362bf11abfa
MD5 7d0f723018e3bf2619b9f85896a5d85f
BLAKE2b-256 2d3c1cb9bba049aa1b8891b4d0fffd52696992f6cd5fc931ac2677bd4e9372a7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post920-py3.10.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.10.0a5+

File hashes

Hashes for pythondata_cpu_microwatt-0.0.post920-py3.10.egg
Algorithm Hash digest
SHA256 274f490387c2e6cf0397395b1971fe4355d01c2e5f980aa58cbb74dd16314abe
MD5 2d76ebad6241273196eb73397e5909aa
BLAKE2b-256 22700350088a09e291f1e3b7fa1127168c17b43bc52281b28448789ee0c6f734

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post920-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.post920-py3.8.egg
Algorithm Hash digest
SHA256 190e56d1fb3599b2f13a2de86ddc3416831179ae28a11e3b7ffe2d106bf7ffb9
MD5 13cb0c9b65111db49583eaa4626da9e1
BLAKE2b-256 5afc12fadb4f365a6cd8144151fbd8f1329039d325781a0ab27847054971f401

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post920-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.1

File hashes

Hashes for pythondata_cpu_microwatt-0.0.post920-py3.7.egg
Algorithm Hash digest
SHA256 1e0ce8a77420ff187bd9040b919eb18af883eadc7ff5c439776ade3125dc2e8a
MD5 0408ac9124a502492e4347135d476560
BLAKE2b-256 09b5b8ceb60d6828181f2442e9dfec2a423b1a57f6a2d45e1df79f979c93e525

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pythondata_cpu_microwatt-0.0.post920-py3.6.egg
Algorithm Hash digest
SHA256 073bd4a9ebf622ebec94238d1ac642bb98a01029579b3c72ad15587ba1b0dc64
MD5 7f721db1243a18fa05d1851e9b47cee5
BLAKE2b-256 25663db1a18a90c1e2003acc834b799df00365578fa47b45c490ae4e31645b5a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post920-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.6.7

File hashes

Hashes for pythondata_cpu_microwatt-0.0.post920-py3-none-any.whl
Algorithm Hash digest
SHA256 9b9579bd5c39a977a944d95698ae7bcf5abbbee0ff4d507928b151b740158380
MD5 cc9b98832196af3b30543f2d1fecce8c
BLAKE2b-256 66c463506221391e07052c9a7690c6e96c5aefec02bbcc7289187519e0a7ff07

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