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

Uploaded Source

Built Distributions

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

File details

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

File metadata

  • Download URL: pythondata-cpu-microwatt-0.0.post676.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.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.1

File hashes

Hashes for pythondata-cpu-microwatt-0.0.post676.tar.gz
Algorithm Hash digest
SHA256 dc8fa713907a6548e53890bc7e927c8a310801c5700165d2c1b0a1eb061b2732
MD5 3f6c62ce6f5d2db87fc49364a7c64373
BLAKE2b-256 246687f12cbca15c68a8afd50bbff49fa9a371e0999e5f69ac63a1bcb41da7f6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post676-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.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.0

File hashes

Hashes for pythondata_cpu_microwatt-0.0.post676-py3.8.egg
Algorithm Hash digest
SHA256 b6adbeade4cf902592d4cca89ea3d394d6bd0c59bfcbbf1f8535a86c66d1811b
MD5 0aaf438d3e5e4a6d52bb7cfe09213cf2
BLAKE2b-256 87c95fa7cf463f45635b8fb79000ef1830a30ab01fecea705f6734082ecac938

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post676-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.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.1

File hashes

Hashes for pythondata_cpu_microwatt-0.0.post676-py3.7.egg
Algorithm Hash digest
SHA256 effdb7411db3247d783ec3660c613202f29fd1dd543ca799b8c861c869b7f121
MD5 cede7af6978382cca9e5566e77b1386f
BLAKE2b-256 aaf24df96ed205a93a2a023105713e1d965578a917604a00e5b805fb63505977

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post676-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.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.7

File hashes

Hashes for pythondata_cpu_microwatt-0.0.post676-py3.6.egg
Algorithm Hash digest
SHA256 defc5f049c61827bd387fa7832baf3bb664133a45499e7ac3bb022bc384fb992
MD5 f734c870107c57e859ec4719e47176d4
BLAKE2b-256 233aa2c04ccc184abe53f085b05e09667228af50a8452579375c4d342f88ff95

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post676-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.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.5.6

File hashes

Hashes for pythondata_cpu_microwatt-0.0.post676-py3.5.egg
Algorithm Hash digest
SHA256 356b3aa1aee4808fa22d695c9ef75a55efefabe74834718d42c3b5bd83edd95d
MD5 8894575a1e7a8adee03852c33425f442
BLAKE2b-256 3cdd8871a7a91db69167d34cf9f992af77fd2feea7cce3f2b56cd7f20f70b00c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post676-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.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.1

File hashes

Hashes for pythondata_cpu_microwatt-0.0.post676-py3-none-any.whl
Algorithm Hash digest
SHA256 b51115d94f0782a6bb65602370d70d0f5cce5a8cc568f5ffc83da519a1b3cce8
MD5 a8b7e2ed3fb402abbd9ad161c06b3623
BLAKE2b-256 e688dfb60279d27d275b8d1a1eafc8270ac6622351e49d8985247ca50277e29e

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