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

Uploaded Source

Built Distributions

File details

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

File metadata

  • Download URL: pythondata-cpu-cv32e40p-0.0.post101.tar.gz
  • Upload date:
  • Size: 1.2 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.2 CPython/2.7.18

File hashes

Hashes for pythondata-cpu-cv32e40p-0.0.post101.tar.gz
Algorithm Hash digest
SHA256 81ceca710187e5b15058a29e41b891bccf25c4c8244c8748d9d92e68fa5d6107
MD5 09a21a2d12dcb9a623758456e5ac3884
BLAKE2b-256 9d8e039c9507fda70f7d8f50317af1cebad8a3595c2b82336861eb830383b367

See more details on using hashes here.

File details

Details for the file pythondata_cpu_cv32e40p-0.0.post101-py3.9.egg.

File metadata

  • Download URL: pythondata_cpu_cv32e40p-0.0.post101-py3.9.egg
  • Upload date:
  • Size: 1.5 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.2 CPython/3.9.1

File hashes

Hashes for pythondata_cpu_cv32e40p-0.0.post101-py3.9.egg
Algorithm Hash digest
SHA256 9b1ddebe1e64236ad1283311bf5ed3c169899f8f9250967b5e71d05bd19396e1
MD5 1a37d3eb1dcfec3a81133d620306e665
BLAKE2b-256 18485280e13ca882a7d441454eb839c1e20c4ecdcdf5d02cc1e899730f4b2791

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_cv32e40p-0.0.post101-py3.8.egg
  • Upload date:
  • Size: 1.5 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.2 CPython/3.8.7

File hashes

Hashes for pythondata_cpu_cv32e40p-0.0.post101-py3.8.egg
Algorithm Hash digest
SHA256 c7bf0efa4a72677fa4b17017f34aa5cd9c84878825de4d018acbfa683de94092
MD5 7063dcd993609b9569bf86728a049b9a
BLAKE2b-256 271ad5d8ae75ef1bb249ab217de78eb2189c4d6a5df7aa71214d313064a931af

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_cv32e40p-0.0.post101-py3.7.egg
  • Upload date:
  • Size: 1.5 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.2 CPython/3.7.9

File hashes

Hashes for pythondata_cpu_cv32e40p-0.0.post101-py3.7.egg
Algorithm Hash digest
SHA256 2f9fb6f40972741f15463b90bcaeacc8d1c0edb4f3873244de58fa8e454c6bc6
MD5 2a7a1208764acbf2ebb5e96f4dd37530
BLAKE2b-256 c662413675173f00b950f846dd4b440be9e76b17d6dfc17488ce696f1d705bb4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_cv32e40p-0.0.post101-py3.6.egg
  • Upload date:
  • Size: 1.5 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.2 CPython/3.6.12

File hashes

Hashes for pythondata_cpu_cv32e40p-0.0.post101-py3.6.egg
Algorithm Hash digest
SHA256 04682fd029bf3039cc8034db8947191d3cfff462013e49242fcbf1ad29f215a4
MD5 97d4c4e4dfb6a258f86c5548a7ea33dd
BLAKE2b-256 bbc1ad8c3c68c73faed956ef7f7ac5257f948d036c70fbce98c42511d41fe7af

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_cv32e40p-0.0.post101-py3-none-any.whl
  • Upload date:
  • Size: 1.5 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.2 CPython/3.6.12

File hashes

Hashes for pythondata_cpu_cv32e40p-0.0.post101-py3-none-any.whl
Algorithm Hash digest
SHA256 93430d86f411d0e7fe31db514931e21088fcc2530d487c744dc2343d74e4b50a
MD5 05ce649375daac5eced99e5d4a6f00f8
BLAKE2b-256 4a88e12a600635113f0d88e5b03236e47ef8b2d6534049f141ce1b2186306aea

See more details on using hashes here.

File details

Details for the file pythondata_cpu_cv32e40p-0.0.post101-py2.7.egg.

File metadata

  • Download URL: pythondata_cpu_cv32e40p-0.0.post101-py2.7.egg
  • Upload date:
  • Size: 1.5 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.2 CPython/2.7.18

File hashes

Hashes for pythondata_cpu_cv32e40p-0.0.post101-py2.7.egg
Algorithm Hash digest
SHA256 7aaa9005556789120fef407305e79a260622608eeecc818335bf17f16af0870a
MD5 53e8c319e92a4342404ea7cd9ca2f47d
BLAKE2b-256 5c78137064a2f3b62fac9044a0f4e4eb1f9c98a8e6096e6cef836616e79da871

See more details on using hashes here.

File details

Details for the file pythondata_cpu_cv32e40p-0.0.post101-py2-none-any.whl.

File metadata

  • Download URL: pythondata_cpu_cv32e40p-0.0.post101-py2-none-any.whl
  • Upload date:
  • Size: 1.5 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.2 CPython/2.7.18

File hashes

Hashes for pythondata_cpu_cv32e40p-0.0.post101-py2-none-any.whl
Algorithm Hash digest
SHA256 0ad8dd552003826f6451549f89c7a1c28b7ffc95b30c1ab083b675ffab6b0c53
MD5 dd1070cec792c0131c879607678c5627
BLAKE2b-256 06c9e5eaad8a09467205a92ad700bf669f9bee338a62668cc2e1626700163803

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