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

Uploaded Source

Built Distributions

pythondata_cpu_rocket-0.0.post7062-py3.8.egg (13.3 MB view details)

Uploaded Source

pythondata_cpu_rocket-0.0.post7062-py3.7.egg (13.3 MB view details)

Uploaded Source

pythondata_cpu_rocket-0.0.post7062-py3.6.egg (13.3 MB view details)

Uploaded Source

pythondata_cpu_rocket-0.0.post7062-py3.5.egg (13.3 MB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: pythondata-cpu-rocket-0.0.post7062.tar.gz
  • Upload date:
  • Size: 12.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-rocket-0.0.post7062.tar.gz
Algorithm Hash digest
SHA256 dffa39c61728949f08b9e58d9ec1db7f6d0b4d2fed548314df7d25d775bb0a23
MD5 68c52d0fcb2593b01a8eefa16012f765
BLAKE2b-256 7c1abdb2098d7c18659e0c0fa3d0517956d158193d3465d35d7267009d9c5d38

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7062-py3.8.egg
  • Upload date:
  • Size: 13.3 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_rocket-0.0.post7062-py3.8.egg
Algorithm Hash digest
SHA256 beac3718a4b364e1f7e62a1866a8daa27b7a6cc76e42029e2d3e7d89302300a3
MD5 411b314b91138cad1ef61d4d7fff2f0e
BLAKE2b-256 a56fabaf799fb2599f9dbae9ae66151d10831b6a9e445e4670913f4af28f7f0d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7062-py3.7.egg
  • Upload date:
  • Size: 13.3 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_rocket-0.0.post7062-py3.7.egg
Algorithm Hash digest
SHA256 13c0c34b91fe62f9d3964298f91b448947ae2d4b73becf5cdb1b791f8674ab74
MD5 ae90f614ca6926566055428d95cb5f25
BLAKE2b-256 d9a32b90ec72a69441bd4979a362809ee1acfeaacbfe41b24a324150274200be

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7062-py3.6.egg
  • Upload date:
  • Size: 13.3 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_rocket-0.0.post7062-py3.6.egg
Algorithm Hash digest
SHA256 4657228066e8bb3ef4e1aaae7f4a1e32bf47f25cba92104ae72cd7589c7121db
MD5 98f1d82044171d42403c2a871f64e8a3
BLAKE2b-256 3626b7fc9cca3c5b9af997e39a4716d295e1b333427bc92111e37b795e972975

See more details on using hashes here.

File details

Details for the file pythondata_cpu_rocket-0.0.post7062-py3.5.egg.

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7062-py3.5.egg
  • Upload date:
  • Size: 13.3 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_rocket-0.0.post7062-py3.5.egg
Algorithm Hash digest
SHA256 92988829e2237eb2d0be9eccb901639cbd8c5b3a86931831d3638fcefb5eb1c6
MD5 ae6632257bda6222f973bfe289495eb3
BLAKE2b-256 d58ef07e6bf9746fcdf710e536b131eda17b23bfacd3a063507a85a2384523d0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7062-py3-none-any.whl
  • Upload date:
  • Size: 13.3 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_rocket-0.0.post7062-py3-none-any.whl
Algorithm Hash digest
SHA256 67e7466159f18b13fe23c2eea7bab5f10d5ce73c02310552ea3b74593111ce5f
MD5 a581c1c579a7e48c44defea5853e3177
BLAKE2b-256 9daface9b6cc6b77b2003cd1762b836878cbf84e275b87f1c6fd4afd720c0dd7

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