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 is 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.post1817.tar.gz.

File metadata

  • Download URL: pythondata-cpu-blackparrot-0.0.post1817.tar.gz
  • Upload date:
  • Size: 3.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.7

File hashes

Hashes for pythondata-cpu-blackparrot-0.0.post1817.tar.gz
Algorithm Hash digest
SHA256 915a468c7425d67eceef96670f846db1f50024c7f53acff23b1b7be59e064efd
MD5 811a595bfd47f806a4b6e54a7b2ba6c9
BLAKE2b-256 3b2dd600795ef5054d38c563d410ad75c8b169f36faa350b65ffaa3120bdac1e

See more details on using hashes here.

File details

Details for the file pythondata_cpu_blackparrot-0.0.post1817-py3.10.egg.

File metadata

  • Download URL: pythondata_cpu_blackparrot-0.0.post1817-py3.10.egg
  • Upload date:
  • Size: 4.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.10.0a2+

File hashes

Hashes for pythondata_cpu_blackparrot-0.0.post1817-py3.10.egg
Algorithm Hash digest
SHA256 83920c1f3531a558d26be2aa75d29042dab5e9fe0d4ca3578772355bcb820c1a
MD5 8ca88a1949b89ddf1c9a79114708ae6b
BLAKE2b-256 68e1c06f13a7712a0cf7a94e1598dcc6d39302d2a0c7566d351e95eacfab0a64

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_blackparrot-0.0.post1817-py3.8.egg
  • Upload date:
  • Size: 4.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.0

File hashes

Hashes for pythondata_cpu_blackparrot-0.0.post1817-py3.8.egg
Algorithm Hash digest
SHA256 2607d091285c2d8394b122e58401dbc2d213aef950bb756474e7a4c3b0c329a0
MD5 82cf6211feee084cc78534f2c8bac664
BLAKE2b-256 c7d029c975fec10afb9800ecf9d33fed737030f2a1682ded043230ae0443e474

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_blackparrot-0.0.post1817-py3.7.egg
  • Upload date:
  • Size: 4.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.1

File hashes

Hashes for pythondata_cpu_blackparrot-0.0.post1817-py3.7.egg
Algorithm Hash digest
SHA256 8bb3254601204ca31f468240dd34fd43ac44ab086b30bd6d07d258ccfc738efe
MD5 c0debae035c3f658ac6c6cc3443343de
BLAKE2b-256 8ec2c05cf8bbf20ed8018fdf37f17dd2080f87714a9b8423d12d34d9705ceda6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_blackparrot-0.0.post1817-py3.6.egg
  • Upload date:
  • Size: 4.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.7

File hashes

Hashes for pythondata_cpu_blackparrot-0.0.post1817-py3.6.egg
Algorithm Hash digest
SHA256 5060714c0b775ecd48564a112e152923163d3a1548c376d5ac4dc38df3ba2ce3
MD5 737e962dfeae5ea3ad22fcda9dc8f623
BLAKE2b-256 ebe72ca8cba050ef6783eb8030a9500a9c895812591fc3f25647eaf97b9b2917

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_blackparrot-0.0.post1817-py3.5.egg
  • Upload date:
  • Size: 4.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.5.6

File hashes

Hashes for pythondata_cpu_blackparrot-0.0.post1817-py3.5.egg
Algorithm Hash digest
SHA256 6ba6c85181492a7f64ec951aaa0531ceaaaa0cdd8fb0b43c6b47c818a8126da9
MD5 939f0e4ca5109147db57cf2541ee9c4a
BLAKE2b-256 b39810b74e26db14580fac0b25552d96ffe451a379ec9c2c9a753ee65ba2bd16

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pythondata_cpu_blackparrot-0.0.post1817-py3-none-any.whl
Algorithm Hash digest
SHA256 a24614967e47caa8c94df298a12350b90436c639e38c00709a8ffa82a1afcec8
MD5 a92b3384f71935621d9c4a246e127119
BLAKE2b-256 5f8b709a0e42c5af8fdc0a6696692a261f9066f0d2ed960e011b2837015c46b2

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