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

Uploaded Source

Built Distributions

pythondata_cpu_microwatt-0.0.post984-py3.9.egg (20.0 MB view details)

Uploaded Source

pythondata_cpu_microwatt-0.0.post984-py3.8.egg (20.0 MB view details)

Uploaded Source

pythondata_cpu_microwatt-0.0.post984-py3.7.egg (20.0 MB view details)

Uploaded Source

pythondata_cpu_microwatt-0.0.post984-py3.6.egg (20.0 MB view details)

Uploaded Source

pythondata_cpu_microwatt-0.0.post984-py2.7.egg (20.0 MB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: pythondata-cpu-microwatt-0.0.post984.tar.gz
  • Upload date:
  • Size: 19.7 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.2 CPython/3.8.7

File hashes

Hashes for pythondata-cpu-microwatt-0.0.post984.tar.gz
Algorithm Hash digest
SHA256 e1c981a595c924c502b6cec5b59a2c47da1cca59fb1eaa25e87f1b933241ce72
MD5 1c7b128433acbfaf8c48701a080b7b76
BLAKE2b-256 50321cc1e58be4837adc4fbda3a2d66499617711aa9bf0e6ceff1f6e219cc5de

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post984-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.2 CPython/3.9.1

File hashes

Hashes for pythondata_cpu_microwatt-0.0.post984-py3.9.egg
Algorithm Hash digest
SHA256 e941bab7f146b6e4d729f707ec891bf8d49080b9a93756db58843096895e72cc
MD5 580df8eb861eee02a362fd0fd2791221
BLAKE2b-256 de4ea4b119a0a45bb27fd76dbe9f646c046aad347f9268be213162b4145dfe7e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post984-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.2 CPython/3.8.7

File hashes

Hashes for pythondata_cpu_microwatt-0.0.post984-py3.8.egg
Algorithm Hash digest
SHA256 35cf8d8dead9adec9efb7402fdfee9f5f9ed72343410c4cdf2d908c84a6e4ecf
MD5 2ded059b1aafa72ec002a22eeade661b
BLAKE2b-256 098f00eb1671242640635a32046033ec7e90122c40a54abce6e3ba1f23038278

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post984-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.2 CPython/3.7.9

File hashes

Hashes for pythondata_cpu_microwatt-0.0.post984-py3.7.egg
Algorithm Hash digest
SHA256 80be24e6af721d71495648ee82f471b28b61694488ac7a1d13433adc22788dc9
MD5 6049f8e0859cab11e2996b190ba5daeb
BLAKE2b-256 4627995d6b219867030670b7f510e0ee662400568b6d2c0ada0b7850975a649e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post984-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.2 CPython/3.6.12

File hashes

Hashes for pythondata_cpu_microwatt-0.0.post984-py3.6.egg
Algorithm Hash digest
SHA256 c62e82617abce5afcf195714913ae0ce2587fe6187d1eb19c3758dcacf256ba1
MD5 5124e9c70f4f2ab8b503e06494c032c3
BLAKE2b-256 d2db24276d932ac55d9f877223a4df5c52b1d874ff2b66f6af67a2f61dcd88a0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post984-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.2 CPython/3.8.7

File hashes

Hashes for pythondata_cpu_microwatt-0.0.post984-py3-none-any.whl
Algorithm Hash digest
SHA256 a4ccdba633877640ae2ce54fb1752fbe0bf8f54043e602ea5406cb2633552673
MD5 a8054d21e4ff238d4c645e517fcaa491
BLAKE2b-256 5de6d764cd98f5862605423cd1d09cabff6f1ff201c23aaeef290e2cbcf0a94a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post984-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.2 CPython/2.7.18

File hashes

Hashes for pythondata_cpu_microwatt-0.0.post984-py2.7.egg
Algorithm Hash digest
SHA256 c35d81c926f8900fe944ee82827b138ea4182afebf472e79f91af4012a512556
MD5 0cf9004b107d198cff1031424fec6488
BLAKE2b-256 5f982329d6f37fd66882bb8982a70ecf35014fe6261dfd7a34e0b0fb1fea5370

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post984-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.2 CPython/2.7.18

File hashes

Hashes for pythondata_cpu_microwatt-0.0.post984-py2-none-any.whl
Algorithm Hash digest
SHA256 122777da581d72e4b7e0ed7976695d1cdb4a1b78307149ea41abf03b17e3a78e
MD5 0246453b0da4b20a14a29344d5d568ac
BLAKE2b-256 2bda7bdf915290795eb22616012beb60dd20ece73a8ef59876002dbe338f99ba

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