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

Uploaded Source

Built Distributions

File details

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

File metadata

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

File hashes

Hashes for pythondata-cpu-microwatt-0.0.post982.tar.gz
Algorithm Hash digest
SHA256 c9a20cca2fcbd3a946a8262b824a5486f520204ed81db50d1770a3ffe701121c
MD5 550451e2a3d4475c34fd0dca164cd446
BLAKE2b-256 e23ec7c01192df682f99e061bc25b37a9ba4767f99abb5a29b888e5184bc0c0b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post982-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.post982-py3.9.egg
Algorithm Hash digest
SHA256 a8c7002c061ac470fb178ddfd6cf573778031b64d6354781ec8fd1c573f73f2b
MD5 491425aeb130af7a1f04fc77a539644f
BLAKE2b-256 28b337234e9e8b1bc7c2a2e1c75182df368d86580b3ada30975bb36c0a83512b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post982-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.post982-py3.8.egg
Algorithm Hash digest
SHA256 1ae24489dc6f8f921080bce9fb3d3b7adfd00268608bfb45fe1062b868621106
MD5 64320549a4e2e8b4058d71c734eee80c
BLAKE2b-256 4934b0bf2b762817840aca322c41ba0969f071785128b19825c99c77968ab382

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post982-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.post982-py3.7.egg
Algorithm Hash digest
SHA256 76c9daab2d5096ee3fc17103ca5d91b931c04e4023b50088f78a63182cc015c0
MD5 b1ca44e3b2c86b5a4aa0f4ca7c355492
BLAKE2b-256 05c606f3daa9ba639cc64bce0b763c28bcfefba1cc88fd98773f82f9d3a5e117

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post982-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.post982-py3.6.egg
Algorithm Hash digest
SHA256 42efb034fdce6ae1713e65183647a804570fbbd65652fbdbdaebd444983432a6
MD5 f16077c5d19ad3144a0630776a43f48a
BLAKE2b-256 cfbe742ba28be33c665f1abb5fd3cb25c6e6f62f6ec5afffc6baecdc65e63467

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post982-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.post982-py3-none-any.whl
Algorithm Hash digest
SHA256 ff6874289269ddd95b7078c25f3e192e60f4ae857f4869a2b3c176234c9ea4ba
MD5 357afde89493776d37af6f46d6d4641e
BLAKE2b-256 28cbb6f09e0cedce99ce656a3e2105e682d6ccfd43d8a39bc85c2637ed9c43e4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post982-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.post982-py2.7.egg
Algorithm Hash digest
SHA256 50f80881169e981160e56f45f0faf182288d0952cbe8e67b82fb8c616be466d2
MD5 a0f073b6f0d9c046aa9c7047916f5168
BLAKE2b-256 6d8e8d5d8b3407b0bf6e311e59f62c82c13ecc38c5e49429fb3bd1e403dec21a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post982-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.post982-py2-none-any.whl
Algorithm Hash digest
SHA256 15392de4796bb72b75f8966d264de9ebf1a78e7633fd340f89b7b005f9e3681c
MD5 bcecd7b518ba180200d81fcc48aaa219
BLAKE2b-256 3e90b1f32c9181ebbe77a7f0356509bf752f7286fc9529f5eb7a7f74d0b917a2

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