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 is 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.post76.tar.gz (8.0 MB view details)

Uploaded Source

Built Distributions

File details

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

File metadata

  • Download URL: pythondata-cpu-cv32e40p-0.0.post76.tar.gz
  • Upload date:
  • Size: 8.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.1

File hashes

Hashes for pythondata-cpu-cv32e40p-0.0.post76.tar.gz
Algorithm Hash digest
SHA256 ecabdfa637e8da7b4c151831f6b6e76ff4221f98a3300970694493f11cd74430
MD5 6713cc9506425820407bd3fe9585e972
BLAKE2b-256 5b6b5c57b1d0980a71699bbcc5b3e97eb04c5eca0804a40daa674cd2ee29772f

See more details on using hashes here.

File details

Details for the file pythondata_cpu_cv32e40p-0.0.post76-py3.10.egg.

File metadata

  • Download URL: pythondata_cpu_cv32e40p-0.0.post76-py3.10.egg
  • Upload date:
  • Size: 8.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.10.0a2+

File hashes

Hashes for pythondata_cpu_cv32e40p-0.0.post76-py3.10.egg
Algorithm Hash digest
SHA256 a05ca3d1caf8029e6448b4e63f8a260694ceb8e476e4d3ca77db78b4df32dda3
MD5 d72ad71fd38583cfc13e4453efe972ee
BLAKE2b-256 6a797f8e84cd294aa7d834030be23ebd1f7f4da1b11d81c6732c5a099cb04037

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_cv32e40p-0.0.post76-py3.8.egg
  • Upload date:
  • Size: 8.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.0

File hashes

Hashes for pythondata_cpu_cv32e40p-0.0.post76-py3.8.egg
Algorithm Hash digest
SHA256 5eb3ed54764df0085adc2022cb24dc739b2f8594f27547c77d1a5e9c4c5f6f51
MD5 eeae070de7ccb6b9af0839f5ed8f1557
BLAKE2b-256 8bf4d82ece1ce0e6f1c4f950c15d772489669cd408e318a33635df15ecda56d9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_cv32e40p-0.0.post76-py3.7.egg
  • Upload date:
  • Size: 8.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.1

File hashes

Hashes for pythondata_cpu_cv32e40p-0.0.post76-py3.7.egg
Algorithm Hash digest
SHA256 d6f717637999794937cd498aa7b5689f0f5f3716f0bf35b0991f1f6c97e5fad7
MD5 bc386d1b9592aea766004b03c4154a8a
BLAKE2b-256 30beca2139b5c28e1876a1d3a2a21f5e651e82bfb60e5e54b5c6d6068a2f0b1f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_cv32e40p-0.0.post76-py3.6.egg
  • Upload date:
  • Size: 8.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.7

File hashes

Hashes for pythondata_cpu_cv32e40p-0.0.post76-py3.6.egg
Algorithm Hash digest
SHA256 1f1496144d071f52ea50f059d1a68e668a28b79f410e1249d22fb6341f4dd66b
MD5 17509e05843ea31a93e8696e2b080d08
BLAKE2b-256 97cf340276601d515fd2956198ca1749c256c23c09aca667f0e8f17b79746070

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_cv32e40p-0.0.post76-py3.5.egg
  • Upload date:
  • Size: 8.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.5.6

File hashes

Hashes for pythondata_cpu_cv32e40p-0.0.post76-py3.5.egg
Algorithm Hash digest
SHA256 b282821aba85dd0369b13aada5de111ae24434e2d13b2c680df4c731c6c231c6
MD5 55d9b0f20cb7e37cc1410f6df20cb302
BLAKE2b-256 70632d1ce065dc165d1f010a0a9690350b0caeb4b9ea2c6cf5786111535ab1b5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_cv32e40p-0.0.post76-py3-none-any.whl
  • Upload date:
  • Size: 8.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.1

File hashes

Hashes for pythondata_cpu_cv32e40p-0.0.post76-py3-none-any.whl
Algorithm Hash digest
SHA256 63743089b35463e18bd25b71e0f41494b317253a873ee8555fd74be5bdf919d7
MD5 82a2fe451d449514bf4a525e7413b72b
BLAKE2b-256 f39060e562d9297c63272bc77f42dda0a78c662fb1892756a5e7bfc2ad008613

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