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

Uploaded Source

Built Distributions

File details

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

File metadata

  • Download URL: pythondata-cpu-microwatt-0.0.post888.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.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.1

File hashes

Hashes for pythondata-cpu-microwatt-0.0.post888.tar.gz
Algorithm Hash digest
SHA256 7c2ff5292ad5663778ccdc38f72ed7c895e69e8166f3a9fd76474e0f6c7f40c2
MD5 ad96b8f4589b129afe259dd2e8049127
BLAKE2b-256 8e1f0f334871a481ab8ebb2f89bcadd73cc605a24da6994faebbfb9326651a41

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post888-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.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.10.0a2+

File hashes

Hashes for pythondata_cpu_microwatt-0.0.post888-py3.10.egg
Algorithm Hash digest
SHA256 fb02ec663417acc498de3586e5449c96bdafe2c2e80b895cd83697d68b820bdb
MD5 2eb69163d1f1285f633529874b0f988d
BLAKE2b-256 be4dbeaef488c366f87308bd065000a23808564a2bb6247263a618c58561cdfe

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post888-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.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.0

File hashes

Hashes for pythondata_cpu_microwatt-0.0.post888-py3.8.egg
Algorithm Hash digest
SHA256 4add9f12769d916fd2e8deaa55887e4afb3453c1cfcfb134757e42ef121b2058
MD5 a53f615c7bf4299eaef40db0410e1bcf
BLAKE2b-256 7fc085f89363910e2e64fe265efe58bc4883271c04b57d7be6dd09178bfd04d8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post888-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.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.1

File hashes

Hashes for pythondata_cpu_microwatt-0.0.post888-py3.7.egg
Algorithm Hash digest
SHA256 7832d59eb5a469ecbc3ed4c94e12fad771dcb2af8aa6ca0617f78678e4bc0dd5
MD5 d88dac3aca0d3a9fb1bd021d074f6d15
BLAKE2b-256 20f5842e018d15bac30f51c14c040727bbb7c785677bd9aee2ff29172d6b6d0c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post888-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.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.6.7

File hashes

Hashes for pythondata_cpu_microwatt-0.0.post888-py3.6.egg
Algorithm Hash digest
SHA256 e40f28dcbcde4dd2b2a05e53f1ad75b93d26014f49d5a0184555e94b971714e8
MD5 71ba671b4b296c58b5f7a1b640e3e0b6
BLAKE2b-256 04ccd4b0b12144a6aa0504aafb738647dd561a4ae8c5df431f88d1ca556323bb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post888-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.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.5.6

File hashes

Hashes for pythondata_cpu_microwatt-0.0.post888-py3.5.egg
Algorithm Hash digest
SHA256 fd8c3e3baf8b9cb0b725e694da538a3c568b0ca0e44bf5745e899db4b8ae5d53
MD5 3e9005b9fe11e72216b668350bf2e783
BLAKE2b-256 3e5eb61ca8749cb04ac2e8da0d19b48496d96f35dd880c8970ee18c2e841d587

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post888-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.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.1

File hashes

Hashes for pythondata_cpu_microwatt-0.0.post888-py3-none-any.whl
Algorithm Hash digest
SHA256 d867179d558f0eaa2508f10f1d549df9eac65698c6fdf1976239c7707938b1a7
MD5 bf507edba7221de4bf196de436740ca1
BLAKE2b-256 f1b92f805c1ec6d2de2787e9f6bb8d99e2ef5015a35ace3059baab58b657c311

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