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

Uploaded Source

Built Distributions

pythondata_cpu_rocket-0.0.post7064-py3.10.egg (15.6 MB view details)

Uploaded Source

pythondata_cpu_rocket-0.0.post7064-py3.8.egg (13.3 MB view details)

Uploaded Source

pythondata_cpu_rocket-0.0.post7064-py3.7.egg (13.3 MB view details)

Uploaded Source

pythondata_cpu_rocket-0.0.post7064-py3.6.egg (13.3 MB view details)

Uploaded Source

pythondata_cpu_rocket-0.0.post7064-py3.5.egg (13.3 MB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: pythondata-cpu-rocket-0.0.post7064.tar.gz
  • Upload date:
  • Size: 12.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.5.6

File hashes

Hashes for pythondata-cpu-rocket-0.0.post7064.tar.gz
Algorithm Hash digest
SHA256 5ba54d09e1f9b53dd34eb809e52ae586c436a4c053ad6225e6cfe944ec7a0eb8
MD5 65a15b2f73fa00138c00ecaad7a15bcb
BLAKE2b-256 c72be8dfeeb9f3b8673934c26ba979531fcd70f6dafc14f3eaf2ad2e72587b0f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7064-py3.10.egg
  • Upload date:
  • Size: 15.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.10.0a0

File hashes

Hashes for pythondata_cpu_rocket-0.0.post7064-py3.10.egg
Algorithm Hash digest
SHA256 6d0a155ef84ea68f8b85330d4f603242d7ef75a1cc2f3ec8d11bf81af4f17256
MD5 5860661f659294ac22e1d58dfbd9a3e1
BLAKE2b-256 27ad1344f2b80f1c47da6f9b6084f08bdae35c9bd91e29094d4d6ae3bcf2896d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7064-py3.8.egg
  • Upload date:
  • Size: 13.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.0

File hashes

Hashes for pythondata_cpu_rocket-0.0.post7064-py3.8.egg
Algorithm Hash digest
SHA256 7f25835fd2430b36adffbc03246014cc4821ba4fedb4080634c7bb14689679be
MD5 836e3695a73daae6d80dac4841d02c3d
BLAKE2b-256 1adb90c290cc114649e5609fbca78db54fe8c8593d0b9f7a9eb9f5c7475455eb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7064-py3.7.egg
  • Upload date:
  • Size: 13.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.1

File hashes

Hashes for pythondata_cpu_rocket-0.0.post7064-py3.7.egg
Algorithm Hash digest
SHA256 f382711ac493828fcd3ad83aec947cdc703d9b542e14a83237c028199dd224e1
MD5 0b8db039a50ff382b0ce3c6fa316727e
BLAKE2b-256 621909a9e9f88a519bf6f2c5bd24d9346f384ab39ec27060d0bd057592863f12

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7064-py3.6.egg
  • Upload date:
  • Size: 13.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.7

File hashes

Hashes for pythondata_cpu_rocket-0.0.post7064-py3.6.egg
Algorithm Hash digest
SHA256 5b91d91cd9041859a3eb16f10459e1c667cb7766ede798bb3effd5196c59d34e
MD5 b0efe428c76aa63325c9043dba5b4821
BLAKE2b-256 ab1519a4d9187c1416c34b8542e7b7e8955df50ba0b3a8962d1b5fcff7dcf82f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7064-py3.5.egg
  • Upload date:
  • Size: 13.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.5.6

File hashes

Hashes for pythondata_cpu_rocket-0.0.post7064-py3.5.egg
Algorithm Hash digest
SHA256 48a29a5e93b20cbd0a02878099cbbcbb4a6884e2e0604388f3a2ba26aefeea0d
MD5 c70077f94c723077a278ae29bc31258b
BLAKE2b-256 484ae0c33c77905e9655cf1d558bb5f451008a076e5e1e6541a4d1a59209f37f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_rocket-0.0.post7064-py3-none-any.whl
  • Upload date:
  • Size: 13.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.7

File hashes

Hashes for pythondata_cpu_rocket-0.0.post7064-py3-none-any.whl
Algorithm Hash digest
SHA256 c7f5878ba19c47c9f525ba20cb8bb2e3747bff2a6ce9c8aed03188059a9b65ad
MD5 21c89badae0000b8c3b803619c39653f
BLAKE2b-256 8e1ddd307070653e3b13b205e28c29538fb6767af7b74e7367820eb96eb1b63c

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