Skip to main content

Python module containing verilog files for Rocket cpu.

Project description

pythondata-cpu-rocket

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

Example of getting the data file directly;

import pythondata_cpu_rocket

my_data_file = "abc.txt"

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

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

from pythondata_cpu_rocket import data_file

my_data_file = "abc.txt"

with open(data_file(my_data_file)) as f:
    print(f.read())

The data files are generated from https://github.com/chipsalliance/rocket-chip.git and place in the directory pythondata_cpu_rocket/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-rocket.git
cd pythondata-cpu-rocket
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-rocket.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-rocket.git

You can install a specific revision of the repository using;

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

With requirements.txt file

Add to your Python requirements.txt file using;

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

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

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

Installing from PyPi

Using pip

pip install --user pythondata-cpu-rocket

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

pythondata-cpu-rocket-0.0.post7076.tar.gz (12.0 MB view details)

Uploaded Source

Built Distributions

pythondata_cpu_rocket-0.0.post7076-py3.8.egg (12.6 MB view details)

Uploaded Source

pythondata_cpu_rocket-0.0.post7076-py3.7.egg (12.6 MB view details)

Uploaded Source

pythondata_cpu_rocket-0.0.post7076-py3.6.egg (12.6 MB view details)

Uploaded Source

File details

Details for the file pythondata-cpu-rocket-0.0.post7076.tar.gz.

File metadata

  • Download URL: pythondata-cpu-rocket-0.0.post7076.tar.gz
  • Upload date:
  • Size: 12.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.0 CPython/3.6.7

File hashes

Hashes for pythondata-cpu-rocket-0.0.post7076.tar.gz
Algorithm Hash digest
SHA256 75594b55be3926c5f533641af7b7c5a179ef87b47ebfaed92c5ede102f1abb64
MD5 f31f1a1a881806734196612cfb6dfd57
BLAKE2b-256 d18f65d14289f82759bbd592bf633c78542151c385a99bb968fc489adf0dc6b7

See more details on using hashes here.

File details

Details for the file pythondata_cpu_rocket-0.0.post7076-py3.10.egg.

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7076-py3.10.egg
  • Upload date:
  • Size: 12.6 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.0 CPython/3.10.0a5+

File hashes

Hashes for pythondata_cpu_rocket-0.0.post7076-py3.10.egg
Algorithm Hash digest
SHA256 25f208cc971424bba4a637ab3ad924e691abe2c15df0a904597bc1e49f73114c
MD5 8612a25a98087a9d81e44884290fbabd
BLAKE2b-256 901a6a2a3ffeb1da28a4850608ee745fa6397d8efecd42518340817e2935be19

See more details on using hashes here.

File details

Details for the file pythondata_cpu_rocket-0.0.post7076-py3.8.egg.

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7076-py3.8.egg
  • Upload date:
  • Size: 12.6 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.0 CPython/3.8.7

File hashes

Hashes for pythondata_cpu_rocket-0.0.post7076-py3.8.egg
Algorithm Hash digest
SHA256 4e83baf234e68f3b6144779ccc0bf6bd12b6b35086c91ca2fc9ef7b5a5041b54
MD5 176f014965596331a0d2c2883ef8d985
BLAKE2b-256 f573c4472ddab9d060395e24c99841d87bcc505e46505a22d99e6e2bf739c610

See more details on using hashes here.

File details

Details for the file pythondata_cpu_rocket-0.0.post7076-py3.7.egg.

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7076-py3.7.egg
  • Upload date:
  • Size: 12.6 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.0 CPython/3.7.1

File hashes

Hashes for pythondata_cpu_rocket-0.0.post7076-py3.7.egg
Algorithm Hash digest
SHA256 325ccdbfde487560ce3156fb8549efa3ec3bfecf97d09886beeab929cb76f7a6
MD5 d60e092b05b6079648b6547305d517c8
BLAKE2b-256 e5e5fb28611e18c61b7cf30e224679866b3cc3809ab51dca5a70871151fe6a90

See more details on using hashes here.

File details

Details for the file pythondata_cpu_rocket-0.0.post7076-py3.6.egg.

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7076-py3.6.egg
  • Upload date:
  • Size: 12.6 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.0 CPython/3.6.7

File hashes

Hashes for pythondata_cpu_rocket-0.0.post7076-py3.6.egg
Algorithm Hash digest
SHA256 6cebf4d2ed86cff1707485ccaef2cdc967a7d866c3ea31d5981d9077df400491
MD5 ed82e47495b51bacc2e2a4a548b4ce09
BLAKE2b-256 0b340746b5158bdff1621b1d7f81c16922a3b2657d626d34f39e4b7b51ec83ac

See more details on using hashes here.

File details

Details for the file pythondata_cpu_rocket-0.0.post7076-py3-none-any.whl.

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7076-py3-none-any.whl
  • Upload date:
  • Size: 12.6 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.0 CPython/3.6.7

File hashes

Hashes for pythondata_cpu_rocket-0.0.post7076-py3-none-any.whl
Algorithm Hash digest
SHA256 db873cb5f8ac3549599a8b7b14987c52f450d378319fbe66c38c41ea02e853d2
MD5 3610cb945b529ef4397e96c9b334fa25
BLAKE2b-256 6d3001d7030264593834fe2fd50ef132f0b942807ca7985e20420fd1970402cf

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