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

Uploaded Source

Built Distributions

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

File details

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

File metadata

  • Download URL: pythondata-cpu-rocket-0.0.post7092.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.7.9

File hashes

Hashes for pythondata-cpu-rocket-0.0.post7092.tar.gz
Algorithm Hash digest
SHA256 91402a2e6f2829e53d246ef0c10b9147262fc29f0c71ed420d6c6a5b56944580
MD5 82d3b1e39038db3d6964968302e3da37
BLAKE2b-256 ae82cfed72a77aab10da15887820619c7298cccc122cee084ea2749090f3393e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7092-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.post7092-py3.9.egg
Algorithm Hash digest
SHA256 c7ff4e4ce976b3fe907bd369c334837dada1d1a30cfe3333601cb3d1ebb6a63b
MD5 0b60ecd51facb89bc37da6648cd2e56f
BLAKE2b-256 3d7e90803c2f3c6a9a16df5d37d6e1f4ad5e05dc774445e4264ff439e55ef62a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7092-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.post7092-py3.8.egg
Algorithm Hash digest
SHA256 14ea5d838307a914c26ba65755c385d135761602aaa7bcf983e09db02840e7d0
MD5 f528f08e79cab1521b32549b24ef09cd
BLAKE2b-256 26e7e6e342df2435d291af505e4661233a0fe630637726ce74d82e15c9556d81

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7092-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.9

File hashes

Hashes for pythondata_cpu_rocket-0.0.post7092-py3.7.egg
Algorithm Hash digest
SHA256 ca8178116a6fae3ebca5958a2b8830b87fa2333bc220880056fe0e4b82e2dd93
MD5 1fd8a2b13ec975be17c9130086601234
BLAKE2b-256 be8350d95a32c4b2e3a0d3725d7218e2ffe63a309e26cd3b5e445d8ced32b5c0

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pythondata_cpu_rocket-0.0.post7092-py3.6.egg
Algorithm Hash digest
SHA256 9a40f7b34d083efc2482af704c717c56afd478cf2302c8cd434118d5703586fa
MD5 a95284763b107c6ef87afec59b84f847
BLAKE2b-256 34882280e34d314fd89e340930b05b0f0d9aaba6baf4c73a61fdb6546e4fdcac

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7092-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.7.9

File hashes

Hashes for pythondata_cpu_rocket-0.0.post7092-py3-none-any.whl
Algorithm Hash digest
SHA256 eb6d3c83033f372ae03ed697ae4f113c4f694df167c499164f01904f7534aa14
MD5 1504f4754b539c04d69f46c3a90de5b6
BLAKE2b-256 321c1abe778343a6c72f9c9b2b635fc306aa3c6eaa640ce266e9d90ae57291ce

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7092-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.post7092-py2.7.egg
Algorithm Hash digest
SHA256 a76f6b96a52bfb30cf6e4a09047b33c0a89d6d115f76d09803a968eb09b6e465
MD5 83f5482ebccc6fd09e1e6c81b20a0545
BLAKE2b-256 ed9390986e74dc2ec2cd9988524e308feea84c634ceb12172f83ca8d4656d61f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7092-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.post7092-py2-none-any.whl
Algorithm Hash digest
SHA256 51786c19f11fa6d0a02bceb6cf0ea94626a62921714a1eed12c355c523d163a0
MD5 d10f78aea92ef86b7738a0981ad9faba
BLAKE2b-256 cd441126c51a828ae8992cb6c0b512c393d917599010cb1665cb386073a11fff

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