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

Uploaded Source

Built Distributions

pythondata_cpu_rocket-0.0.post7070-py3.8.egg (15.6 MB view details)

Uploaded Source

pythondata_cpu_rocket-0.0.post7070-py3.7.egg (15.6 MB view details)

Uploaded Source

pythondata_cpu_rocket-0.0.post7070-py3.6.egg (15.6 MB view details)

Uploaded Source

pythondata_cpu_rocket-0.0.post7070-py3.5.egg (15.6 MB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: pythondata-cpu-rocket-0.0.post7070.tar.gz
  • Upload date:
  • Size: 14.8 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-rocket-0.0.post7070.tar.gz
Algorithm Hash digest
SHA256 f2bc6b6ddb3f4f6b96cbb1d19d4cb27be15e64dc9fae20da2632965f8db996a4
MD5 9af4c941ca85da2eb2aaa0ba46f3d2ee
BLAKE2b-256 fd959315391a3b9219a4b752c6a1a4a241a149258648790b2842b44c4f435515

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7070-py3.10.egg
  • Upload date:
  • Size: 15.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_rocket-0.0.post7070-py3.10.egg
Algorithm Hash digest
SHA256 d85ddfe9a3e24ae81b754bc17d4f4e12e5121ebbe1f150ed6b32a9e2f4efb92f
MD5 785e000896da1b0444cc562507550a5e
BLAKE2b-256 827ce2960eb950a53d7b3345369bf6aaa442e940ef4ccffb7c228b08a411f1d3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7070-py3.8.egg
  • Upload date:
  • Size: 15.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_rocket-0.0.post7070-py3.8.egg
Algorithm Hash digest
SHA256 ab842698100f2fd308b2bec5fd5c3e675ffb3d60e236b5d4f16a096dbd3c4877
MD5 373f400b88c632e3e9cbfdb09ef969b6
BLAKE2b-256 e3a812e3ecd007ed471f87b0f8eddb1226bc735f0ccfa78dfc106f7a21e67110

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7070-py3.7.egg
  • Upload date:
  • Size: 15.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_rocket-0.0.post7070-py3.7.egg
Algorithm Hash digest
SHA256 31cf05e1fb77e97d5216950244dce940135bba2ab465008db2e51d457c5698f0
MD5 52ad0cc34777654a75179f3a480874a2
BLAKE2b-256 42af0807636f342f6ffbb2e180bfa6338bfcc71e91f962b9aec691dbffabfb02

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7070-py3.6.egg
  • Upload date:
  • Size: 15.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_rocket-0.0.post7070-py3.6.egg
Algorithm Hash digest
SHA256 6d1f19aabfe9b566f11047977b7c9e3d0be27c2c158087080a0437826419c417
MD5 51f84a54be43fc3584f4013d6f2fba09
BLAKE2b-256 07ecb8da54d9d83cee62b133d227e1b77f3bf82258b02e43da0bf60d72019121

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7070-py3.5.egg
  • Upload date:
  • Size: 15.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_rocket-0.0.post7070-py3.5.egg
Algorithm Hash digest
SHA256 5968a583295f0caa191d3bbb1e179330a877663f57b5c84c50f691aa75527e69
MD5 a4da4994b777b6e7d1c0f3d99e56b68b
BLAKE2b-256 29f79d93d125a65450a97472342e4def451809f34ed5eaf60a13134ae6a2eaa2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7070-py3-none-any.whl
  • Upload date:
  • Size: 15.6 MB
  • Tags: Python 3
  • 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_rocket-0.0.post7070-py3-none-any.whl
Algorithm Hash digest
SHA256 56ec4c3de2912f9e5aa40a448bc36943644153cdf239e2c519fa6a22bd08cd79
MD5 87eaa851171bb7a9290c2384b4959639
BLAKE2b-256 70842d6f091643f56081b3a859cbb1224d590294f062162d9a769b7d6c4cf15b

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