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

Uploaded Source

Built Distributions

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

File details

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

File metadata

  • Download URL: pythondata-cpu-rocket-0.0.post7095.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 CPython/2.7.18

File hashes

Hashes for pythondata-cpu-rocket-0.0.post7095.tar.gz
Algorithm Hash digest
SHA256 b7cb33054e904cd95a39e5ea2183ae738f8fb7c713bf03fc882b4d69ba59d277
MD5 d3b916e6ccc723eae87f0412486fa41e
BLAKE2b-256 8f2599ac97bf70b07e2038675fc8bf8e7d9e67463e77542b427a081460f571e6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7095-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.post7095-py3.9.egg
Algorithm Hash digest
SHA256 a798f591918daa5a14afe6d4937006150671d5be616ec5bd0007f39cb3c37930
MD5 be803a74b8eca48ad40441d330b6e1e3
BLAKE2b-256 6552439949c44385a48539a97727336a9693d78d3c78a316bbdb7f294acfa85c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7095-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.post7095-py3.8.egg
Algorithm Hash digest
SHA256 1a8b799e02ed2c15c20ad183eb3e36c31d5b3b3c62263f691c557785788c11e5
MD5 7a26ab019d08920ea39b4f62f4557d49
BLAKE2b-256 453a463e5ce71826264ea42bffef4843c17968b2cf042e63d854b9e15a8fa3b9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7095-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.post7095-py3.7.egg
Algorithm Hash digest
SHA256 eab57f88b4ab45c40a27e03c1ffad7268708f2631871b07028a587d24615f25e
MD5 f8aad18c255108d8836fe1cec2289c7d
BLAKE2b-256 e8fe5a87597c59cea70c125b902ba460e0ed36ccb07da05f14c5014f31c6e26d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7095-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.post7095-py3.6.egg
Algorithm Hash digest
SHA256 5aa8b580fbfcf51c73ba4d7f8fbafb24aa4dc7799725fbb6d31c7c68dfc6c9ec
MD5 e516d0e1a5538c914a7b564e062fbefe
BLAKE2b-256 b27ee99a7cc6c70fc5589a9569de6d8a7adddec6795bc87bdba0dd5052fdbda7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7095-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.9.1

File hashes

Hashes for pythondata_cpu_rocket-0.0.post7095-py3-none-any.whl
Algorithm Hash digest
SHA256 2824ad05a5bc17cdbf9f916d3354fb051a6a700d6170b7391a0f2c55d2ecc103
MD5 6736ebc9f8b84cba1b184fabd1161c5d
BLAKE2b-256 a80ea05660c7e8b01e49ba2e6894ebd34869a0935265d1382c9f04835aef8b43

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pythondata_cpu_rocket-0.0.post7095-py2.7.egg
Algorithm Hash digest
SHA256 385391685b1001bf867fc5e35b7aa597b2c8a2679fc17195b8e35819408c8af3
MD5 9498f68e6aafea94ec348a73d33125eb
BLAKE2b-256 ced22bfe07f7f47b600758f57cf4f38cc65394bc723c1345a130df468be17f6f

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pythondata_cpu_rocket-0.0.post7095-py2-none-any.whl
Algorithm Hash digest
SHA256 29530af51d68bfbccfe749bdff6668ac0ec4c2ac96309759f214e65c2d9c1d0a
MD5 913d9cc0a080cd3ff2044b01b7e4fc05
BLAKE2b-256 c4e0efd70105bfff272f26136bc36961a175d294c1e80acd436aedfd9486ea6b

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