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

Uploaded Source

Built Distributions

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

File details

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

File metadata

  • Download URL: pythondata-cpu-rocket-0.0.post7093.tar.gz
  • Upload date:
  • Size: 12.0 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.56.0 CPython/2.7.18

File hashes

Hashes for pythondata-cpu-rocket-0.0.post7093.tar.gz
Algorithm Hash digest
SHA256 c3ab67ccb88f79105b1f239165a8efcb736fefffd8f25a05dc54d5fed627c254
MD5 8fadd18a6fea2b5b7f1820b21b7988ed
BLAKE2b-256 cb0b4082234e43199be9f63fe8f33c949c2f84bcb3b6ee063a7e31c3293aa35e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7093-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/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for pythondata_cpu_rocket-0.0.post7093-py3.9.egg
Algorithm Hash digest
SHA256 31e9a54729bd21a49957827d097c35630d2d217f03725e96945c752c77b09be4
MD5 06009c3cdd818ba8fafeb78cedf455dd
BLAKE2b-256 82bb437a4a736e37d2432705b080e50974855f3076627de16d05c237caf9f299

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7093-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.post7093-py3.8.egg
Algorithm Hash digest
SHA256 6ee9795974d9b8e1aebe939850c5303fc7ed0ea6f958d1a8618860f7c11904ae
MD5 6b4cc9b5564788e1184ace6670a48228
BLAKE2b-256 27c47353835bbd73cf1b6c90c6df6dffe21edf571f726993b84b21eee2fe9a86

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7093-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 PyPy/7.3.3beta

File hashes

Hashes for pythondata_cpu_rocket-0.0.post7093-py3.7.egg
Algorithm Hash digest
SHA256 0e2a682d62ab2be779ec3bccb16ea4112e27708bf69f197b1480a9c3ae96459a
MD5 5cb4c180552868cb21641636381ceb57
BLAKE2b-256 05aad7bf7aef64bb6d35a1004faedc81fe7b6a24062c12f528829236fcb18f1c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7093-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.12

File hashes

Hashes for pythondata_cpu_rocket-0.0.post7093-py3.6.egg
Algorithm Hash digest
SHA256 963bcda7cc99b8615235d0a873619299ecef3bcce4202ee744bf3e464d4f7ced
MD5 d51e8c550eab81156157d74c3e21c24d
BLAKE2b-256 6296e28fb7f888cf3bb69f995bf494782c8458fe3a6321413ae64805cb9f3468

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7093-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.12

File hashes

Hashes for pythondata_cpu_rocket-0.0.post7093-py3-none-any.whl
Algorithm Hash digest
SHA256 bb578647192e3da17baed4c8bdd37a367f77065c96d56fd4b883c59f8ae7985d
MD5 d45da40fc53860311ef878d5e09902af
BLAKE2b-256 a75a7a87a70d5b74681c1902667382ffa41ff480a014223d6897438f1d586f2d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7093-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.56.0 CPython/2.7.18

File hashes

Hashes for pythondata_cpu_rocket-0.0.post7093-py2.7.egg
Algorithm Hash digest
SHA256 6c943afbd6aa45e526b32ddd0a5a8313283d64f9c2abdec1c749bf040920d9c9
MD5 a380d3725569f829aec0c5272e80251c
BLAKE2b-256 f4a043d38ca9f2817f4505d60232f400a8157932c9563ae05d3f9c5db3d56492

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7093-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.56.0 CPython/2.7.18

File hashes

Hashes for pythondata_cpu_rocket-0.0.post7093-py2-none-any.whl
Algorithm Hash digest
SHA256 2cc3c4d57a4b3f111613bf13db535212b1d9da6dc5d86814cb7c3ee52f8b7c0a
MD5 761a44f7f68afc4f9479d5e0b506e5ce
BLAKE2b-256 d80ea853af641b63bf4fc48379d5f140c8b371eb764486294ddbc0e00dc27846

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