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

Uploaded Source

Built Distributions

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

File details

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

File metadata

  • Download URL: pythondata-cpu-microwatt-0.0.post755.tar.gz
  • Upload date:
  • Size: 19.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.1

File hashes

Hashes for pythondata-cpu-microwatt-0.0.post755.tar.gz
Algorithm Hash digest
SHA256 57bbedcc6d6f0e5bc69a4945be5adb2b4d1dcc669716d364dc0b2c68c6199e0e
MD5 531e3bce92682dfe9c43ac259b8252d5
BLAKE2b-256 0c064654940d8c1a87aacf2ef7469dfbc4daf31ba4d9496dcae41eb34733f0b8

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pythondata_cpu_microwatt-0.0.post755-py3.8.egg
Algorithm Hash digest
SHA256 319285c855deaafb4ef54dc476ab5b3a7b17cd767641ae7700ace49875f6e8fa
MD5 e670176727a7f88306509234328976c4
BLAKE2b-256 6035239dac6b9ec7c5847beb99a03340cb85888142111bf5eefc169c10d01ec8

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pythondata_cpu_microwatt-0.0.post755-py3.7.egg
Algorithm Hash digest
SHA256 05b3da61b8ae2a534dc49192d8db4e9e8e8dcd6c66d4e6b51e11b281a3a90c6f
MD5 25d62b7f5911e02e3f5e53f9692965d3
BLAKE2b-256 d7ec65f87764bfd43ba9af26ee9695517fa886834250287571ca9a87ef49ef85

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pythondata_cpu_microwatt-0.0.post755-py3.6.egg
Algorithm Hash digest
SHA256 cae9731a5599ca50139195a742f948e85b9274885057b15220d10b03f85ec26e
MD5 bd15c257a83356d498b931d6176a6419
BLAKE2b-256 033cef886dbb8ace283d3575893e6b5fbd51d15109d67c3ed8c7fcd727f3c509

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post755-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.47.0 CPython/3.5.6

File hashes

Hashes for pythondata_cpu_microwatt-0.0.post755-py3.5.egg
Algorithm Hash digest
SHA256 e68688502cb7c139a9b99c82e0999a0d1a290b7922bad18a13db3c4db505ac82
MD5 9ed2895ac62453e3bc05e42c80b1f3d4
BLAKE2b-256 cbd2677cce424bd448785002c6b6abb132b51bce2c7e00cff93d8b06ae639746

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pythondata_cpu_microwatt-0.0.post755-py3-none-any.whl
Algorithm Hash digest
SHA256 b735f5560f15132ccc308725aa9c3a497851e2f23e3164a0278e27853583e7c4
MD5 61f02392429c8f1e640eea1aa28b0082
BLAKE2b-256 52f5e3f2bb5e2e8c4556abaa194b1c7a9266bf4265ec8171e13fb680d6685689

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