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

Uploaded Source

Built Distributions

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

File details

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

File metadata

  • Download URL: pythondata-cpu-rocket-0.0.post7094.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.2 PyPy/7.3.3

File hashes

Hashes for pythondata-cpu-rocket-0.0.post7094.tar.gz
Algorithm Hash digest
SHA256 8910eb0d92a3dcfece0930d4abace8f5d0707593f781c6ac5af2695d209948d8
MD5 d7050dbd9abb6cd9fd50a7015f9e8e31
BLAKE2b-256 dd0306cace45b81c60f069d5fec656188987b03672a0686bf8d007f79d565dfa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7094-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.2 CPython/3.9.1

File hashes

Hashes for pythondata_cpu_rocket-0.0.post7094-py3.9.egg
Algorithm Hash digest
SHA256 4f59c4d059c18e536eeb29ffc0981ebebcdbb4f629702daa2bd1a65689e86b51
MD5 a857c85ccae96cf9493075df159d54f1
BLAKE2b-256 bf6cc47b823eb5162695ebd59d502ff03a8c3d63b71775be0077d235940fc504

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7094-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.2 CPython/3.8.7

File hashes

Hashes for pythondata_cpu_rocket-0.0.post7094-py3.8.egg
Algorithm Hash digest
SHA256 21718152aba384f5beb5dc0140d2e327747f5ff0e98705439f3b16def46bf9bb
MD5 0b68053ad6d05fa5604ed4c0361bd1af
BLAKE2b-256 9b19280b184c62ff092f70c3a9d6323439c13f3e06f60aeb19266184e6b9ffdb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7094-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.2 CPython/3.7.9

File hashes

Hashes for pythondata_cpu_rocket-0.0.post7094-py3.7.egg
Algorithm Hash digest
SHA256 040c0719ebfeffee70188c5ab512fbbe0134abf807d05981b1d80c048ef2359e
MD5 b6f4c5e77a3343782bd88149134ed7bb
BLAKE2b-256 4f786b17e9dcaefc6838c098b38a15f49eb4121cae21e9d84ea82ce0dc65de7a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7094-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.2 CPython/3.6.12

File hashes

Hashes for pythondata_cpu_rocket-0.0.post7094-py3.6.egg
Algorithm Hash digest
SHA256 4cd7b92c0304504c4ca2c41ebfe28ca54fe768d0a9e038f6db2f97ccd84a80ee
MD5 07b9792c7bbb2dee4baf427c0a9917cf
BLAKE2b-256 1981be3d5987c89cda29e372723ecff067c86a261c48475b7d1ecc5856cd5346

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7094-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.2 CPython/3.7.9

File hashes

Hashes for pythondata_cpu_rocket-0.0.post7094-py3-none-any.whl
Algorithm Hash digest
SHA256 4fbb339294860017bae08895e369c976b4cb5daf98c5c65da1ede3085a46844b
MD5 e1b5c5693ddbbea692f77b4651f7d0eb
BLAKE2b-256 0fbdba1e51816e97203f009da3377debb4d999fa54c094d24bff8fb4e9baedb2

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pythondata_cpu_rocket-0.0.post7094-py2.7.egg
Algorithm Hash digest
SHA256 d3e74389da563fa7e2b1c7c1b579bf2cee742a9ca0003878b333bb6d9151afa0
MD5 091cdf98ece981aff867e26a7cb9d8cf
BLAKE2b-256 a77eea396f517e7fbdf67df7f643b886d7265a957ae7126399014f7458bd5ecf

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pythondata_cpu_rocket-0.0.post7094-py2-none-any.whl
Algorithm Hash digest
SHA256 cdd4d247dee369a4a80d36e665fe7868eb2e32d786545a0dc23c28c7946225c6
MD5 f92e7b98c2732c73b5c7d6dc25275dcd
BLAKE2b-256 0819f052faa2ab828083cfb87877953360eb8a43dce85efa74467b7eb89e3990

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