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.post1809.tar.gz.

File metadata

  • Download URL: pythondata-cpu-blackparrot-0.0.post1809.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.post1809.tar.gz
Algorithm Hash digest
SHA256 74db510866bad86fb36f0e0904f9d8b13191829549db387fb04ab5c336b60a93
MD5 e394ff3c27dcea208b4177851548b324
BLAKE2b-256 adb8583e4a188562a129f553b38a1a7659e2e7ca726f7803ba9939739e7308ca

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_blackparrot-0.0.post1809-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.post1809-py3.8.egg
Algorithm Hash digest
SHA256 d15b94d3e6ff9cfd3bd17ca51390aa8e2347963279daabebbfe84ab3a6555e5b
MD5 67f1e7325a33ef8d66a64959750cd5a4
BLAKE2b-256 f4c9194debc05e40a2de935724ab5ca4a9742a9bd8538d3ebee5c6fcae636621

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_blackparrot-0.0.post1809-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.post1809-py3.7.egg
Algorithm Hash digest
SHA256 58b96da9d1c7cfc1d9df55245f03700f3e153d75fcf9d81f44a73ce33798d764
MD5 7d09776b8b765a47c53b5bc6ecdda9c0
BLAKE2b-256 195a198960ad0092296d28b2d59f84194c0f93f8320eaed618b1ebf7f32d448b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_blackparrot-0.0.post1809-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.post1809-py3.6.egg
Algorithm Hash digest
SHA256 ded9eab2b8cf67957a66a930ab6ec08485d8a8a51e93b59b9e6133174e6bd559
MD5 1c137722a1d8d5f546997221fa2df4f0
BLAKE2b-256 e78cc915f042a7e5545c26393dfb2358803d559bf24b06343a5c7b50e1f263c9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_blackparrot-0.0.post1809-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.post1809-py3.5.egg
Algorithm Hash digest
SHA256 9118c7bfc0b6d59d78de7b9d304720efcfa7be381101703c64e45b480149e54e
MD5 7752d692e4a99d49abf9aca7e750090a
BLAKE2b-256 37741f3f3b212e003049e68474c70db3be4619efbc419d2d65f2d25b0376fc6b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_blackparrot-0.0.post1809-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.6.7

File hashes

Hashes for pythondata_cpu_blackparrot-0.0.post1809-py3-none-any.whl
Algorithm Hash digest
SHA256 cc82169dad61ce60e9df466e7a05ed3cb36ab42e9aad933736b74b852faf17f9
MD5 a1684d49f489cd2db2939acf25771cd1
BLAKE2b-256 34686e3c555c7a63d46386d8155776b8f45569c75920632d2bd162c97bfd520f

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