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

Uploaded Source

Built Distributions

File details

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

File metadata

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

File hashes

Hashes for pythondata-cpu-microwatt-0.0.post979.tar.gz
Algorithm Hash digest
SHA256 87da7768bf5ce14b2595f0be2dc7b9813051211cabb42bdafaa705004318a2c9
MD5 3a7ec259244f8c23e8923dcb57d751a5
BLAKE2b-256 10c3a7011d110f172fd1800ab30cb7a3041586fef6c1becd3638f9b44e4f04d9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post979-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.post979-py3.9.egg
Algorithm Hash digest
SHA256 267af999724a8cea538a6d71f242692bceb85811d82cb445eb5692a1bf116a2c
MD5 df2f1bf6aa91254331886c2dab934260
BLAKE2b-256 337a02b4c7208514473b49d3cef57c4b0e7bb032a2fdd983e9ae574e158e6c5b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post979-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.post979-py3.8.egg
Algorithm Hash digest
SHA256 a51c9a784db3cdf1e56824d1f7c47770c22f18fd0ba455944c97fa12eab57ca5
MD5 7d2122537490454ee9b32e41d8c07d45
BLAKE2b-256 02356bac3b272e97ce36160a9ac7e7dfcb23b724b6dc69d5e42980519f2dfc7a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post979-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.post979-py3.7.egg
Algorithm Hash digest
SHA256 adace05d59033d6ea3e1de6eaebc299a669e7feb08a77b7a5a2411af9e84808b
MD5 1067383ec8d30d01680ea567a5db9ffc
BLAKE2b-256 bba40ea2da78b4e366986a144b101d8d306f72bde66fc7b1d2b51f724854e620

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post979-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.post979-py3.6.egg
Algorithm Hash digest
SHA256 efce76b79467ae550405b2c654581745c041371b19fd9aeb032e0bd464b7313d
MD5 ef2fe57c4df065a115840b90eb3ea3e0
BLAKE2b-256 efe433cc6ca106ba6d489a5f2f3148b911dae27ad8bef95c28a9c41766f940d8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post979-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.post979-py3-none-any.whl
Algorithm Hash digest
SHA256 3816d331a1d7b8cf8f72bce7c49065b50bf43702240d6defcea92a484d1775f0
MD5 ed2a9d190e5d45acba13ada6f8451034
BLAKE2b-256 84fe75b889d8fce6effd9da147c56a463f8a6358b9257ae1b9dcfd713a75727c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post979-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 PyPy/7.3.3

File hashes

Hashes for pythondata_cpu_microwatt-0.0.post979-py2.7.egg
Algorithm Hash digest
SHA256 a727dd4cd77896002eb97c61d2a6fff09f4455ad96101acdd56327f7e831e83a
MD5 1503b3f491bf51505932f90b416ab37d
BLAKE2b-256 d1c0ec1689c37a4f51a753d74010e168c1bee842c09e62ed1aff83724d29278a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post979-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.post979-py2-none-any.whl
Algorithm Hash digest
SHA256 a5801f01e92c4092a54d4e8c751e90c0b6c833e4e494d4d450e4e0fe7024d0f8
MD5 990fbc9087bc4ff84f29feac73cce300
BLAKE2b-256 177cb5fc592398e477cd3b219b7e23883a79eb7784bb8feb96b0a4999e385ac8

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