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

Uploaded Source

Built Distributions

File details

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

File metadata

  • Download URL: pythondata-cpu-microwatt-0.0.post934.tar.gz
  • Upload date:
  • Size: 19.6 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.post934.tar.gz
Algorithm Hash digest
SHA256 ada9e08cdb3ab8ec5023e962d1ce95c707490553d781684efa4b7cc818c876fa
MD5 b5b1afb54c8511608c1356e8773f9958
BLAKE2b-256 08cdfca6f166c84137debcd8afe4c63c8187e4f42f2d62cbd9caf84161f7ec78

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post934-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.post934-py3.9.egg
Algorithm Hash digest
SHA256 30e506bc45bccbe6f4e4416d935efd754dccbe81b9980e3bfa99a679a59d2e50
MD5 7a446f2a064ed2467470828e3227e15f
BLAKE2b-256 0c49794922b8adfa79a99c86ff1c3cb925e51b015639c43315538a8550e97455

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post934-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.post934-py3.8.egg
Algorithm Hash digest
SHA256 1fdafe1e683187abf1629a102b36c4db99da636a12291204c72e646a573c335e
MD5 42ed79ee4f7cc1b5fe4d2cbc8325b6dd
BLAKE2b-256 b385d14389a0ff27037b7ec6b98ecb58e993440e551964fc40a30f142e3799e2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post934-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.post934-py3.7.egg
Algorithm Hash digest
SHA256 c8875bbf14613d6715805f7aa6ce4aee17a72bb5ff42114a35ac808ff6d39745
MD5 dfd98be080cd178d6ad3ef1622365ac5
BLAKE2b-256 ee0988273474ac7f13afd952f77773a91c61df9cb158ed4f6b00fa46e0423464

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post934-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.post934-py3.6.egg
Algorithm Hash digest
SHA256 327b27720bc049048022fc0077768d3bcd5664606287d894164c040692054e63
MD5 c603067d398ae502cbc9f8564648d71d
BLAKE2b-256 6df7b71cf6e141e1408c3e28243aadff050e1a13fa064277a48b18fd2a80b2a9

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pythondata_cpu_microwatt-0.0.post934-py3-none-any.whl
Algorithm Hash digest
SHA256 b65bf00077b2d09d7537dff757c2878f73a20f50ca5ad228a8dc1718ef6b23be
MD5 f426d1d9b5c94c6c3042f956c66d5914
BLAKE2b-256 655e08645ccf7e978338b05560d7e4d3c7a20f82786a66c3aec1ec148b175e08

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post934-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.post934-py2.7.egg
Algorithm Hash digest
SHA256 770520a18de3b0d82ec5d45eb72d86c6b1829cb38144df8e7850c912be1c5eb5
MD5 45201e321594c8eb34a47e4c11731352
BLAKE2b-256 982860205be62d450d0bddc9fb82fd0b76ba3ac24a8607c2a0fed7a8759e2661

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post934-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.post934-py2-none-any.whl
Algorithm Hash digest
SHA256 35a16a271caf8de2d4bb3cd957fc45c16d458924184c1584c990221b628aab70
MD5 d894e2bcf5bd6ccfbad460afd9ce296d
BLAKE2b-256 84cbdc7bf660872ca7b553d20f5fb3b5e3224329a7709785185b21e254399e51

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