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

Uploaded Source

Built Distributions

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

File details

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

File metadata

  • Download URL: pythondata-cpu-microwatt-0.0.post731.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.7.1

File hashes

Hashes for pythondata-cpu-microwatt-0.0.post731.tar.gz
Algorithm Hash digest
SHA256 166b9fa20451d8f533f4617103761404601e1f146404eae3af975ede0a5df03c
MD5 8cfbce9822dbedbd8c0a39c346a43d9a
BLAKE2b-256 620051e02467da14f9f9e1883cf5a36061500db0b60aaa63788e5c57b27aecc7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post731-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.post731-py3.8.egg
Algorithm Hash digest
SHA256 c56d3a04e76e047f6ad837f582ddf5840c94a5e211f87b13d759155340d535b4
MD5 8d6c17d74fd166936d2049bbe2f2f791
BLAKE2b-256 55b3edf8e5fbc73a260698de5d7f07bc4077eaca1879084684debb60d8526cd4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post731-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.post731-py3.7.egg
Algorithm Hash digest
SHA256 280e2a0e45ae60ae7c853e754e487f5bea22a0a6163d8be7ebfc1b078c1c6476
MD5 98921b7899023a91f5c38ae8e7f2390c
BLAKE2b-256 cfdef84aa047d260877cd8984c246f0803ad15406d3f31037fa7e09e4ae7c5c3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post731-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.post731-py3.6.egg
Algorithm Hash digest
SHA256 a58eff8d1ae26b53baa28f221abcbefedaafea954c606ec51f0d33527b6b1ccf
MD5 56b47a651d76508692244b3b381d58a4
BLAKE2b-256 2c2039a8284377f22f21a9b8ee5010d7be11ffc46c134e4e37ea432698fd2aac

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post731-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.post731-py3.5.egg
Algorithm Hash digest
SHA256 30bbc67e1d323bf2fe39a816535c9820d95958a7b3cf65650f53f8b9f1c74eac
MD5 d51ca88ba79e7b73abec6da824ee2d13
BLAKE2b-256 ce59c6c264363dedbe00cbd1d16f5b6adc89fc7a40c6b0e26ee1d5f2d907b23f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_microwatt-0.0.post731-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.post731-py3-none-any.whl
Algorithm Hash digest
SHA256 8d0edd9637b90e8e94b782846bf4c8b59bc067e90002e9981322c9538b9502e4
MD5 3ab54ec95ede566040ac803565850188
BLAKE2b-256 cc1a7d8f76dc7eb0a1d67927e6da14bd606f6b22302c603f370d4675ed5ecd01

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