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

Uploaded Source

Built Distributions

File details

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

File metadata

  • Download URL: pythondata-cpu-cv32e40p-0.0.post83.tar.gz
  • Upload date:
  • Size: 8.0 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.post83.tar.gz
Algorithm Hash digest
SHA256 343bfcf67d8d40d6928b0da22caceedf8b7f343df22902cff37ce44ed0b2e9d1
MD5 ef379d1a3e3abb177b7d559d1d940843
BLAKE2b-256 9d7f2a06d14939bf7048eedf26458c15757bb00bbc900d4d84b03729aca5eb77

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_cv32e40p-0.0.post83-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.post83-py3.10.egg
Algorithm Hash digest
SHA256 249fa6a43c53ee6b408a03eba01cc0291f93e1f67764df90622d6930c4298cd6
MD5 ca0c132f6ee065fdd684d078010f41ba
BLAKE2b-256 c22b037418e5356b6b95debe694d517b4fc389f6d284de6e6d44a95a2cd822a6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_cv32e40p-0.0.post83-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.post83-py3.8.egg
Algorithm Hash digest
SHA256 a970d4436574ace225fc808f7d6b33fbf7e263b26f991655873c56185d39828c
MD5 1519c438e20a88cf1f4ae22f2c39805c
BLAKE2b-256 757ef896bc85e8fd0e7a575b975f89755113a99abd7ef81bb0e54a949721cfb7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_cv32e40p-0.0.post83-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.post83-py3.7.egg
Algorithm Hash digest
SHA256 f5fc7fa4d19515cb62000d11a4984eca2be567511a854049d8c84ec769ee779a
MD5 c7c98a8846389fc3fc74ebe71f78df2d
BLAKE2b-256 e006985e727358f3aea9ff734e56b802329c63e6a912e6478433220b30207c77

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_cv32e40p-0.0.post83-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.post83-py3.6.egg
Algorithm Hash digest
SHA256 af097dfdb0fbd2e3c995b04264aecb52a72a88be61b45f9507ed6b4553f1d52c
MD5 2bc3e01e6a8bfb7d85b970497232a5b5
BLAKE2b-256 5a94b93c687907860106c342c91309c2fe170c38b854733ee175465e42c6dad5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_cv32e40p-0.0.post83-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.7.1

File hashes

Hashes for pythondata_cpu_cv32e40p-0.0.post83-py3-none-any.whl
Algorithm Hash digest
SHA256 b6ad6b4f6e1c853bae08d5d6f57f58d30bca0e1f5e40cc0a0edb3bc2833d706b
MD5 da7e09b9dca4a73fa0aec885cf0388a1
BLAKE2b-256 904e029228895c573f851299114b4cbb75b45c92c9501b3c50eb40fb8a61d793

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