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

Uploaded Source

Built Distributions

File details

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

File metadata

  • Download URL: pythondata-cpu-cv32e40p-0.0.post82.tar.gz
  • Upload date:
  • Size: 8.1 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.7

File hashes

Hashes for pythondata-cpu-cv32e40p-0.0.post82.tar.gz
Algorithm Hash digest
SHA256 5274e7dc9dd378e08d879340c3c6a61adc24185b9c4d5614b7a4fa2c229fef1e
MD5 6675122244f28a93c1af57fa1f4c9016
BLAKE2b-256 bfb78c11f536d269e42ea1536e7149816731e21915db77af3350936c4b188e61

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_cv32e40p-0.0.post82-py3.10.egg
  • Upload date:
  • Size: 8.7 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.10.0a5+

File hashes

Hashes for pythondata_cpu_cv32e40p-0.0.post82-py3.10.egg
Algorithm Hash digest
SHA256 a4ac7565090b0595bb1914950fec7243ddfe6c3a5a87a931e6df1228a06a3ad9
MD5 c2621369f93876aededd4973cfe68ad5
BLAKE2b-256 5b68a404f230843644e35e50ad84ef659b4c942de4a01be94f2de6f9745f5ad6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_cv32e40p-0.0.post82-py3.8.egg
  • Upload date:
  • Size: 8.7 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_cv32e40p-0.0.post82-py3.8.egg
Algorithm Hash digest
SHA256 0e09f8f656da2d96a3b5fbc9297e8cd10e09a0bb333496c12ee35bfdcfabc300
MD5 f429a2e3fd4a7ec428108483633e47de
BLAKE2b-256 efa7b6a0f5ea03e3dd1c2021211ac9f81407aa980d2fcb9284320115aff97b2e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_cv32e40p-0.0.post82-py3.7.egg
  • Upload date:
  • Size: 8.7 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.1

File hashes

Hashes for pythondata_cpu_cv32e40p-0.0.post82-py3.7.egg
Algorithm Hash digest
SHA256 1e6e8709d533e9f00dc7e7e58bc7a1aadcd7f416316e4a4fd46adf3aea11f07d
MD5 1eb604318d6f4e30d0514b92adb20abf
BLAKE2b-256 755f977ce08fa9bfc7c5c2f1959cfc7d0acc3b28d87a956347e3f0cf19bc8ef5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_cv32e40p-0.0.post82-py3.6.egg
  • Upload date:
  • Size: 8.7 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.7

File hashes

Hashes for pythondata_cpu_cv32e40p-0.0.post82-py3.6.egg
Algorithm Hash digest
SHA256 5ec2811d65f7721e22a3cf4a874bade46aa862c0b7227b80d465bccf5c2808a0
MD5 987e204afe3eec31c564568f1fa08ab3
BLAKE2b-256 0bb4a6b2755eb7ea877b57cc4a566eba1cc018a35bb8a28e1e6143f1f3ae4db8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_cv32e40p-0.0.post82-py3-none-any.whl
  • Upload date:
  • Size: 8.7 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.6.7

File hashes

Hashes for pythondata_cpu_cv32e40p-0.0.post82-py3-none-any.whl
Algorithm Hash digest
SHA256 bbe45ba7d2d52dd1d283d0e9a4c49d3def8d4438d862024eb3c5dc9adbd2b5fd
MD5 b9d600ded0ea4a1ce01137be9ce43460
BLAKE2b-256 a5eca1aee0d3007fefc39cbe9f2f21633d0676640b29297bb6778f985aa95b35

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