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

Uploaded Source

Built Distributions

pythondata_cpu_microwatt-0.0.post733-py3.8.egg (19.8 MB view details)

Uploaded Source

pythondata_cpu_microwatt-0.0.post733-py3.7.egg (19.8 MB view details)

Uploaded Source

pythondata_cpu_microwatt-0.0.post733-py3.6.egg (19.8 MB view details)

Uploaded Source

pythondata_cpu_microwatt-0.0.post733-py3.5.egg (19.8 MB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: pythondata-cpu-microwatt-0.0.post733.tar.gz
  • Upload date:
  • Size: 19.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.7

File hashes

Hashes for pythondata-cpu-microwatt-0.0.post733.tar.gz
Algorithm Hash digest
SHA256 3d37b12b3832de7d319c6f356b8b95f8ceea3a15804064cd4223b5bf04769b1a
MD5 aa224628943545e98a2ccc0a9b188209
BLAKE2b-256 070e277219f6e01a00d53d6b47700f9155add93355d9ddffa06b80e53c6cd70e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post733-py3.8.egg
  • Upload date:
  • Size: 19.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.0

File hashes

Hashes for pythondata_cpu_microwatt-0.0.post733-py3.8.egg
Algorithm Hash digest
SHA256 464a52d6c1e40c048a372a3bb7e873c00386af70eec5aef1f908ba3bc00fdddd
MD5 76df5a3a9f10877c88c95ab19f472338
BLAKE2b-256 69a9c57d06faa282a5d71dcf74ec181144c1b8ee373c44e994560c5b0da4727e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post733-py3.7.egg
  • Upload date:
  • Size: 19.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.1

File hashes

Hashes for pythondata_cpu_microwatt-0.0.post733-py3.7.egg
Algorithm Hash digest
SHA256 a64558dbcdb0ec635654b2748bf1d41e5748f9b20f29fd185b842ca7f56c8882
MD5 da703f67977275803f0e13b27262c261
BLAKE2b-256 75291519c89ac593b37794ab442e30523dbd73022117b71f2cb0fcbcd9bf8401

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post733-py3.6.egg
  • Upload date:
  • Size: 19.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.7

File hashes

Hashes for pythondata_cpu_microwatt-0.0.post733-py3.6.egg
Algorithm Hash digest
SHA256 9f56a057af6a5c35adf024f7554784c7ba0000be1db2bf7d8c7b0252d1d0a0ba
MD5 bbbd395d570ad4b8f48788db752f1cbd
BLAKE2b-256 fd23ad193432894e20fc66f347c9d6de821e6b9ca127efe84c610d53ebbeb67f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post733-py3.5.egg
  • Upload date:
  • Size: 19.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.5.6

File hashes

Hashes for pythondata_cpu_microwatt-0.0.post733-py3.5.egg
Algorithm Hash digest
SHA256 79d3a3d6ad42f4c5430637c9830a4bae9ee238933ac696ff5c8b40698b0afffd
MD5 e59dcc311b7205f75560f08d218a5f92
BLAKE2b-256 afd36b8a3c75f59034d989b384dacdc7cc8e371447f885c9350da80c7467b1db

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post733-py3-none-any.whl
  • Upload date:
  • Size: 19.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.7

File hashes

Hashes for pythondata_cpu_microwatt-0.0.post733-py3-none-any.whl
Algorithm Hash digest
SHA256 fdfc2aef31399e092fd08d73a413abda7cd7e630167cb8a6d610220c3a9feebc
MD5 61fd1592d987bc94cb9002a59a17e2c7
BLAKE2b-256 326a6fe3a8ad4412996aec64baa9e164019f1f4d51e727b463b91af48a221529

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