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

Uploaded Source

Built Distributions

File details

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

File metadata

  • Download URL: pythondata-cpu-cv32e40p-0.0.post100.tar.gz
  • Upload date:
  • Size: 1.2 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.post100.tar.gz
Algorithm Hash digest
SHA256 723337c477c4aede522e936282610560b22c08de4303b2a50cd8d3e7137bff5d
MD5 b05dc6bd03acbab00e3d68991be3e114
BLAKE2b-256 8c3b19ad2c00261eacdfc72eb084e176c9c551cd13f4f53f1459d0a416a1f35c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_cv32e40p-0.0.post100-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.post100-py3.9.egg
Algorithm Hash digest
SHA256 5e76fd6b893c6dcd15749c94708e598ccafdd468fab2cace4346bea78a438eb5
MD5 4417c444de37fc6689de108e6f913805
BLAKE2b-256 34d64f3f4fd731b790fc64ede8d4394e32585c3ba88f21d66eea45729ea91b43

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_cv32e40p-0.0.post100-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.post100-py3.8.egg
Algorithm Hash digest
SHA256 830426e00ee1ea616d18622afff703e848911168228ca5cfaae149712f15dedc
MD5 d84aee9bf7a9d35eaa2065acb8cc6f1b
BLAKE2b-256 98a32f587243583003cd7c93362b8fd9c04715ea08b2a480706229c793a2e101

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_cv32e40p-0.0.post100-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.post100-py3.7.egg
Algorithm Hash digest
SHA256 cc6dc03665899d7ddd8c21ab2210c522620655bf91b45a7051d03850d649bd20
MD5 fd3630d7f715e8af30041809ce0ff5f2
BLAKE2b-256 9c6a25128e7685652e84a7e113672f0d2ccd4b7366e5b1a31f2f58413602b940

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_cv32e40p-0.0.post100-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.post100-py3.6.egg
Algorithm Hash digest
SHA256 8394b6c0adf7ac78997d2ca728a941c6b6ea65631bcfa383d091fc466498c5fe
MD5 c7dc7c470897f7fcb1912be68d7c61ed
BLAKE2b-256 462aeafc76f5f5dc21111fec24138fe4cb034069be19963cc377ff012ea1bb24

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_cv32e40p-0.0.post100-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.post100-py3-none-any.whl
Algorithm Hash digest
SHA256 a4d29d763f69e212f36f027efab137d9a3947f0284a537202412706d964fc1b1
MD5 e1202c2901e59f5bae15f0bd9761fc88
BLAKE2b-256 4034d8fcf4081a757e6b6f7c38cd7857817c9efd5912cdfafdd2907177f146d6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_cv32e40p-0.0.post100-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.post100-py2.7.egg
Algorithm Hash digest
SHA256 efcfccc26ef3a47cee0d26aa2b6942b69ad2154719455f9007b16e5ab7b5ec96
MD5 a5d08ecab269f8ec718bd892ab51ac91
BLAKE2b-256 f5dedfdbdf57fdc67985a8fd5743d9906aace5f0e43bcf1cace0c2f8dd5c08f1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_cv32e40p-0.0.post100-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.post100-py2-none-any.whl
Algorithm Hash digest
SHA256 73ce5145a8737a7ef952d0c08e085c185a4d34a3eec820c83989b88276c610db
MD5 817ce75e9ab41ecdbdbdecb834636eab
BLAKE2b-256 653ffe68bd8cbecc202f7057ac6467ffc18caf6d5f33a83224187808623e517d

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