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

Uploaded Source

Built Distributions

pythondata_cpu_rocket-0.0.post7096-py3.9.egg (12.6 MB view details)

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

pythondata_cpu_rocket-0.0.post7096-py2.7.egg (12.6 MB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: pythondata-cpu-rocket-0.0.post7096.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/54.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.7.10

File hashes

Hashes for pythondata-cpu-rocket-0.0.post7096.tar.gz
Algorithm Hash digest
SHA256 6533864f61cf3cdbcccca910ce396922ef93434211915f707204c07c9a09bf40
MD5 ca5038c6269f6d65a172add046f0935e
BLAKE2b-256 7031bc5804c22a27d9584c980445212a2b7da09ce49772d96cbabdfd4abc9d4f

See more details on using hashes here.

File details

Details for the file pythondata_cpu_rocket-0.0.post7096-py3.9.egg.

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7096-py3.9.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/54.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2

File hashes

Hashes for pythondata_cpu_rocket-0.0.post7096-py3.9.egg
Algorithm Hash digest
SHA256 ee3c635146f9a643891a3ecafcb3ec43a6e45b73300f3afa7cb7e0054ebb4e3b
MD5 13a78f31441f33c4231c2cf53527a2c8
BLAKE2b-256 6f38bb1b021537e59474a2c1e91aca8b46d5d61bda3acb2b1dce6954603df71f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7096-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/54.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.8

File hashes

Hashes for pythondata_cpu_rocket-0.0.post7096-py3.8.egg
Algorithm Hash digest
SHA256 ce2b5793cb61662921a089b6b77180379ef8f06ab972c3268ff6db04e15385fb
MD5 886ae945b5d43379813eab6ac98735cd
BLAKE2b-256 b33a0040883ffcd624e058d62f6d022c7025dbd344e3c52bb1741fddf164e3d3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7096-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/54.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.7.10

File hashes

Hashes for pythondata_cpu_rocket-0.0.post7096-py3.7.egg
Algorithm Hash digest
SHA256 2c00a072b22a2642c250ac439babae005d15e3c2dcba0d9076ad8e59316c3243
MD5 9392d9aa21aa0609a54731a3a70fb441
BLAKE2b-256 fac7133e92e94e5bf4e6d6f38095a93317af8fe4269c63670f976583384a49cf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7096-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/54.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.6.13

File hashes

Hashes for pythondata_cpu_rocket-0.0.post7096-py3.6.egg
Algorithm Hash digest
SHA256 bed870493b0a25cca833d3e9fbf005e41484f324d4f2db2b6bdec0c7815a2ba7
MD5 e516171924531f7671c1f680f34c1ced
BLAKE2b-256 b7ebe525b71e5e4b10440c06ab0f64a5f0e261e142390247e3215949ff0962c2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7096-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/54.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.7.10

File hashes

Hashes for pythondata_cpu_rocket-0.0.post7096-py3-none-any.whl
Algorithm Hash digest
SHA256 9f126612c869ee5b966580b63e9f9ffd339bb60571d456bef991ba0c14ba4b4c
MD5 73611373218decd35aa8af14d5f10a55
BLAKE2b-256 938085fe93417561e11c16baf488e89b1c03e1c4e289e6bf79c370276cecfc59

See more details on using hashes here.

File details

Details for the file pythondata_cpu_rocket-0.0.post7096-py2.7.egg.

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7096-py2.7.egg
  • Upload date:
  • Size: 12.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.7.0 requests/2.25.1 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.58.0 PyPy/7.3.3

File hashes

Hashes for pythondata_cpu_rocket-0.0.post7096-py2.7.egg
Algorithm Hash digest
SHA256 a9721e5bc9c265334a152129d46da0acad6c959881c6a567e2fbf2fa0d6d8571
MD5 6b000bf9b6b89eed7e3068fef8fdbf1b
BLAKE2b-256 c77aec3ee93a02db24cb4741dd5ff90841962210be2ba859f1b724e76eba7912

See more details on using hashes here.

File details

Details for the file pythondata_cpu_rocket-0.0.post7096-py2-none-any.whl.

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7096-py2-none-any.whl
  • Upload date:
  • Size: 12.6 MB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.7.0 requests/2.25.1 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.58.0 PyPy/7.3.3

File hashes

Hashes for pythondata_cpu_rocket-0.0.post7096-py2-none-any.whl
Algorithm Hash digest
SHA256 b98f645d3e0df3608289b70b9fb60b1a55dda2c305410580f46567d8f5cca83c
MD5 e57473b3bf2152deaa5be1d8ec8ed78f
BLAKE2b-256 ae12b07e593a4d0e202cfc482da886a790b45520e8054d4cbb1c1998d655602a

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