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

Uploaded Source

Built Distributions

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

File details

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

File metadata

  • Download URL: pythondata-cpu-rocket-0.0.post7089.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.post7089.tar.gz
Algorithm Hash digest
SHA256 7f667d4f1c0757dbbfdc16ceeb1371e389296a46c925fa5108669cb7cdacd552
MD5 056dc49059e2812c126a80d1494f698e
BLAKE2b-256 d52432e58f8975972dc72e65ebc2b194739a0c4787284db7d3a87fa5d002cfac

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7089-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.post7089-py3.9.egg
Algorithm Hash digest
SHA256 e9dc65d5a7bbf43eef4a66118902057252cecbfd9be36d41009e4e2686c65c50
MD5 92e7ae0a8a4944b790560240d385bdf1
BLAKE2b-256 fe50c300d8407bdbf8d4f6862161ef4ba1b5a84850626f3e002fbb25ba78adc6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7089-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.post7089-py3.8.egg
Algorithm Hash digest
SHA256 89e81c53bee503809bdcbfae03d02d5c2b0b70f73405d89eca15e3be4f66e6d3
MD5 8d8d2e1b8350a4a0a94f04f67b82428d
BLAKE2b-256 d4a0d58ce22716cbce55bd6654df5c5583064802c9aae394093467a46f3c294e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7089-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.post7089-py3.7.egg
Algorithm Hash digest
SHA256 1cf4227891dc60e8f7ccc54eaf077933a5e60033f52ebb505d7d1acdbbbc00e2
MD5 2a12361016296ff24314fa7634f406d9
BLAKE2b-256 b4b854aaa7432b3a6cc7ba4e4dd32be1b44e6db1fc3e9b2ea3ba4c17b8c0fb46

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7089-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.post7089-py3.6.egg
Algorithm Hash digest
SHA256 e4436f293f2c413ec3359ddeed9180762f8198ae1f4e7ef8b65f8546944c64ac
MD5 f8bc3045ccc35e850e05a8855882d5e5
BLAKE2b-256 4b7f0f58ffbfafef9bd158e514c80058f0c9889c1065ce19fb4ce613cafcc19b

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pythondata_cpu_rocket-0.0.post7089-py3-none-any.whl
Algorithm Hash digest
SHA256 b3fde83a44a199250be26ac9d2bdbc988d0e3c3608a68b2733acef9908115498
MD5 5da8d3375f9d0cd772c6601f006c4ca4
BLAKE2b-256 6f6c5098f77841814f804020991689a2b3b15f4555e6a3a0a596f52889a7f1f1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7089-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.post7089-py2.7.egg
Algorithm Hash digest
SHA256 1a6123097ceaff07c4b060738fe55beff54598e57f3ea96c21ce5c7babd9ce1f
MD5 2eaa7a1f0058ee1a7a4da4a751c30398
BLAKE2b-256 1a71ee3319641e0a388ede14b4ba65b646d3579a704ed0ac379337af600aaaa7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7089-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.post7089-py2-none-any.whl
Algorithm Hash digest
SHA256 00e9f6a3f79206f0cab39b952fe158cb5d0d4b497bb4a01ca4e27b9633114664
MD5 935d74355cae40a221b74c689538403e
BLAKE2b-256 b8d656b70e75d09694514ee51b5d813ff0bf6cc9790720f1d05cd44c9bbec620

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