Skip to main content

Python module containing system_verilog files for BlackParrot cpu.

Project description

pythondata-cpu-blackparrot

Non-Python files needed for the cpu blackparrot 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_blackparrot. The pythondata_cpu_blackparrot.data_location value can be used to find the files on the file system.

Example of getting the data file directly;

import pythondata_cpu_blackparrot

my_data_file = "abc.txt"

with open(os.path.join(pythondata_cpu_blackparrot.data_location, my_data_file)) as f:
    print(f.read())

Example of getting the data file using litex.data.find API;

from pythondata_cpu_blackparrot 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/enjoy-digital/black-parrot.git and are imported using git subtrees to the directory pythondata_cpu_blackparrot/system_verilog.

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-blackparrot.git
cd pythondata-cpu-blackparrot
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-blackparrot.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-blackparrot.git

You can install a specific revision of the repository using;

pip install --user git+https://github.com/litex-hub/pythondata-cpu-blackparrot.git@<tag>
pip install --user git+https://github.com/litex-hub/pythondata-cpu-blackparrot.git@<branch>
pip install --user git+https://github.com/litex-hub/pythondata-cpu-blackparrot.git@<hash>

With requirements.txt file

Add to your Python requirements.txt file using;

-e git+https://github.com/litex-hub/pythondata-cpu-blackparrot.git

To use a specific revision of the repository, use the following;

-e https://github.com/litex-hub/pythondata-cpu-blackparrot.git@<hash>

Installing from PyPi

Using pip

pip install --user pythondata-cpu-blackparrot

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distributions

File details

Details for the file pythondata-cpu-blackparrot-0.0.post1811.tar.gz.

File metadata

  • Download URL: pythondata-cpu-blackparrot-0.0.post1811.tar.gz
  • Upload date:
  • Size: 3.9 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-blackparrot-0.0.post1811.tar.gz
Algorithm Hash digest
SHA256 76fecd6a8c45512583019e18248df68a98a84466a0db50a11642209f98520a84
MD5 0ec4d15c153730c6511837ad5c0fc976
BLAKE2b-256 76cd17175a8a17ca8e348bbe344824a254900bdbd4b20f84e40f5f770c2106df

See more details on using hashes here.

File details

Details for the file pythondata_cpu_blackparrot-0.0.post1811-py3.8.egg.

File metadata

  • Download URL: pythondata_cpu_blackparrot-0.0.post1811-py3.8.egg
  • Upload date:
  • Size: 4.6 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_blackparrot-0.0.post1811-py3.8.egg
Algorithm Hash digest
SHA256 7214d39cea865892c5b7de5b87813ae247d7f8958a300550b269636758c3433a
MD5 6a2d23db6f3f35c88e328e728ba1ecfb
BLAKE2b-256 2381c62ebe66afc590e22859e5ec41f4f6994a89574b2cabb70eb23ad76bc422

See more details on using hashes here.

File details

Details for the file pythondata_cpu_blackparrot-0.0.post1811-py3.7.egg.

File metadata

  • Download URL: pythondata_cpu_blackparrot-0.0.post1811-py3.7.egg
  • Upload date:
  • Size: 4.6 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_blackparrot-0.0.post1811-py3.7.egg
Algorithm Hash digest
SHA256 bb29717ad8ece3023ee66488fb8435ad2da7b389ef51b608a8fab6f4b0ab406e
MD5 c8dcfa55765ff8b477837e4402ed15a9
BLAKE2b-256 658495a3616b32985e7aaa8f248a8a9b431a1063f0978897073fa1a8eb2182c4

See more details on using hashes here.

File details

Details for the file pythondata_cpu_blackparrot-0.0.post1811-py3.6.egg.

File metadata

  • Download URL: pythondata_cpu_blackparrot-0.0.post1811-py3.6.egg
  • Upload date:
  • Size: 4.6 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_blackparrot-0.0.post1811-py3.6.egg
Algorithm Hash digest
SHA256 67494f06ef826e2ae681b1c877d2c5a565a65d1cc981f8b22ffa1559f7dcadcd
MD5 fcf6c6e1a03ebb70db7c929eb8cece8e
BLAKE2b-256 3666ac760272082acd99c85f788ee3dce6d9a2cf7df89528504158f274d5752f

See more details on using hashes here.

File details

Details for the file pythondata_cpu_blackparrot-0.0.post1811-py3.5.egg.

File metadata

  • Download URL: pythondata_cpu_blackparrot-0.0.post1811-py3.5.egg
  • Upload date:
  • Size: 4.6 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_blackparrot-0.0.post1811-py3.5.egg
Algorithm Hash digest
SHA256 516288e94831040e7bfce6561cab82245550990599cab1f0d98c4d224c2e33f4
MD5 1d3504abe8b4e2fa004c340b5472c8e3
BLAKE2b-256 48ec4a80a5f2937f1f7531c71d8a5cfbef93dd62f80595497d69928a0ae9058a

See more details on using hashes here.

File details

Details for the file pythondata_cpu_blackparrot-0.0.post1811-py3-none-any.whl.

File metadata

  • Download URL: pythondata_cpu_blackparrot-0.0.post1811-py3-none-any.whl
  • Upload date:
  • Size: 4.5 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_blackparrot-0.0.post1811-py3-none-any.whl
Algorithm Hash digest
SHA256 182ccf24492971c228428d4a2668b63f9e73db0f5c66cbb657503cf66b7e6c6c
MD5 b65f6affa806eadeb053b77fbe463c57
BLAKE2b-256 e054fd181e0b1e8be905b7ee60e2fb89f11aa00cdc5ced5a38fa503430840844

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