Skip to main content

Python module containing system_verilog files for CV32E40P cpu.

Project description

pythondata-cpu-cv32e40p

Non-Python files needed for the cpu cv32e40p 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_cv32e40p. The pythondata_cpu_cv32e40p.data_location value can be used to find the files on the file system.

Example of getting the data file directly;

import pythondata_cpu_cv32e40p

my_data_file = "abc.txt"

with open(os.path.join(pythondata_cpu_cv32e40p.data_location, my_data_file)) as f:
    print(f.read())

Example of getting the data file using litex.data.find API;

from pythondata_cpu_cv32e40p import data_file

my_data_file = "abc.txt"

with open(data_file(my_data_file)) as f:
    print(f.read())

The data files come from https://github.com/antmicro/cv32e40p and are imported using git subtrees to the directory pythondata_cpu_cv32e40p/system_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-cv32e40p.git
cd pythondata-cpu-cv32e40p
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-cv32e40p.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-cv32e40p.git

You can install a specific revision of the repository using;

pip install --user git+https://github.com/litex-hub/pythondata-cpu-cv32e40p.git@<tag>
pip install --user git+https://github.com/litex-hub/pythondata-cpu-cv32e40p.git@<branch>
pip install --user git+https://github.com/litex-hub/pythondata-cpu-cv32e40p.git@<hash>

With requirements.txt file

Add to your Python requirements.txt file using;

-e git+https://github.com/litex-hub/pythondata-cpu-cv32e40p.git

To use a specific revision of the repository, use the following;

-e https://github.com/litex-hub/pythondata-cpu-cv32e40p.git@<hash>

Installing from PyPi

Using pip

pip install --user pythondata-cpu-cv32e40p

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-cv32e40p-0.0.post68.tar.gz (8.1 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pythondata_cpu_cv32e40p-0.0.post68-py3.8.egg (8.7 MB view details)

Uploaded Egg

pythondata_cpu_cv32e40p-0.0.post68-py3.7.egg (8.7 MB view details)

Uploaded Egg

pythondata_cpu_cv32e40p-0.0.post68-py3.6.egg (8.7 MB view details)

Uploaded Egg

pythondata_cpu_cv32e40p-0.0.post68-py3.5.egg (8.7 MB view details)

Uploaded Egg

pythondata_cpu_cv32e40p-0.0.post68-py3-none-any.whl (8.7 MB view details)

Uploaded Python 3

File details

Details for the file pythondata-cpu-cv32e40p-0.0.post68.tar.gz.

File metadata

  • Download URL: pythondata-cpu-cv32e40p-0.0.post68.tar.gz
  • Upload date:
  • Size: 8.1 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-cv32e40p-0.0.post68.tar.gz
Algorithm Hash digest
SHA256 7328d69d12ba4c0a054f9bc1f2b13c6d2b05d9c73c688bce2afab86c9e159f33
MD5 3583d8159ad5bac5d749639a5f1a4253
BLAKE2b-256 a5debea20f7f55919f6e726e2a1cf3aaa54627113d3b1092879d1f4b9b0f8a99

See more details on using hashes here.

File details

Details for the file pythondata_cpu_cv32e40p-0.0.post68-py3.8.egg.

File metadata

  • Download URL: pythondata_cpu_cv32e40p-0.0.post68-py3.8.egg
  • Upload date:
  • Size: 8.7 MB
  • Tags: Egg
  • 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_cv32e40p-0.0.post68-py3.8.egg
Algorithm Hash digest
SHA256 9b3073e993a5af113bbc53f1f375f161f1283bbee6f2a6af7e2e361a569529fc
MD5 7f00aa3493bdcfad8d52f3f0dc4e616f
BLAKE2b-256 7e568dda81b997a1a4aa6835c08fad64f25472a3fd04760a8072197d3657cf93

See more details on using hashes here.

File details

Details for the file pythondata_cpu_cv32e40p-0.0.post68-py3.7.egg.

File metadata

  • Download URL: pythondata_cpu_cv32e40p-0.0.post68-py3.7.egg
  • Upload date:
  • Size: 8.7 MB
  • Tags: Egg
  • 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_cv32e40p-0.0.post68-py3.7.egg
Algorithm Hash digest
SHA256 af58540c8154be1fb2f2e9e6d8bbbbbcb0792fcfa21784da13698f1f2e317210
MD5 09793e2aeef7cb8ade2dd0ef835239be
BLAKE2b-256 bb7c04711e94e98614e6ce640761bbd8c505256d5539701167f1dbe657f0d704

See more details on using hashes here.

File details

Details for the file pythondata_cpu_cv32e40p-0.0.post68-py3.6.egg.

File metadata

  • Download URL: pythondata_cpu_cv32e40p-0.0.post68-py3.6.egg
  • Upload date:
  • Size: 8.7 MB
  • Tags: Egg
  • 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_cv32e40p-0.0.post68-py3.6.egg
Algorithm Hash digest
SHA256 e2996917172ce573ba6a8325ca583cf272220fa7b62fbfcb1149b2062ac41f2f
MD5 beb5b811fca22b7975439caf9b4fdc48
BLAKE2b-256 73d4421d391cfaa56ef68760fc842a080abbcddde84dcb5e30b2504d0bc7a02b

See more details on using hashes here.

File details

Details for the file pythondata_cpu_cv32e40p-0.0.post68-py3.5.egg.

File metadata

  • Download URL: pythondata_cpu_cv32e40p-0.0.post68-py3.5.egg
  • Upload date:
  • Size: 8.7 MB
  • Tags: Egg
  • 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_cv32e40p-0.0.post68-py3.5.egg
Algorithm Hash digest
SHA256 dc7214bdb7f183cc1a0209eea1d9ca462dad2b1495b0f057db8907c2c3816e14
MD5 72e026bc89335c98aa1b1f41332c9a44
BLAKE2b-256 826626800dcc9d563af31905e28953034740d44c91fa02e8d8a8249997ba3be4

See more details on using hashes here.

File details

Details for the file pythondata_cpu_cv32e40p-0.0.post68-py3-none-any.whl.

File metadata

  • Download URL: pythondata_cpu_cv32e40p-0.0.post68-py3-none-any.whl
  • Upload date:
  • Size: 8.7 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_cv32e40p-0.0.post68-py3-none-any.whl
Algorithm Hash digest
SHA256 65264afbf02ecb158b0f8ad36488e4713c95bc035a312da28e9abbcf07d7193f
MD5 29ca87acd444d02787c9421bdffffa64
BLAKE2b-256 3ccf5e8f88bc40b5a243dd84f80a2b524bbb08b15bf37274239999ba8af25833

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page