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

Uploaded Source

Built Distributions

File details

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

File metadata

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

File hashes

Hashes for pythondata-cpu-cv32e40p-0.0.post98.tar.gz
Algorithm Hash digest
SHA256 7aa367ba0f7a4d4c8841d00d96d860ec93bfbb92afe0bf5d0b9e0b2f6c76ac17
MD5 5cae42946ac11c75e60ad00de806a0cc
BLAKE2b-256 29a353cf61d0c141d142c484e3119b8389e67fcba4fca05de9b9843bf20ffcd8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_cv32e40p-0.0.post98-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.0 CPython/3.9.1

File hashes

Hashes for pythondata_cpu_cv32e40p-0.0.post98-py3.9.egg
Algorithm Hash digest
SHA256 d8fb4271bd16e9ae0991a1c4d85b55550cd231c0072bb5e30ff1fd3f249bad25
MD5 673f6e2d00a9f00251b13a614f12636f
BLAKE2b-256 b852530c9bae98cd0c0a6b32b68872006639720412ee6b6afe00c0b2940745bc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_cv32e40p-0.0.post98-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.0 CPython/3.7.9

File hashes

Hashes for pythondata_cpu_cv32e40p-0.0.post98-py3.7.egg
Algorithm Hash digest
SHA256 3b61a9c0b8cd9a2700ecc1ae919cc1daf5a01b64219bcfbd5cbcd7bf285fd18d
MD5 6acc5e883cf732c2956f420ea8cc46df
BLAKE2b-256 039c48c44c9c5fdbb1ca3ca7640f622850f95ebf3f48949933c0a0c9cd737873

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_cv32e40p-0.0.post98-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.0 PyPy/7.3.3

File hashes

Hashes for pythondata_cpu_cv32e40p-0.0.post98-py3.6.egg
Algorithm Hash digest
SHA256 6223c8317d43a858fa1339302286d1f26fd6e767471550dce0c59f8cb0a4361c
MD5 8ad5ab6b2b0180f59307c82cd4b86c17
BLAKE2b-256 d316664a062bf373ff33db41a0cdc795a497acc1c787836655d865d4c11fbeb0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_cv32e40p-0.0.post98-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.0 CPython/3.9.1

File hashes

Hashes for pythondata_cpu_cv32e40p-0.0.post98-py3-none-any.whl
Algorithm Hash digest
SHA256 e62c2df6272f28cb52f3e8f2f2c02ac3db2000a0a0b85a4efeb15e3687bbae33
MD5 2816b30fcee653af3db3841ddb44d78e
BLAKE2b-256 37df2e9d22cb320139e8b8dd1dc9d6113015b3fffae2886ee9d10d674794b2b8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_cv32e40p-0.0.post98-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.0 PyPy/7.3.3

File hashes

Hashes for pythondata_cpu_cv32e40p-0.0.post98-py2.7.egg
Algorithm Hash digest
SHA256 e72b951284049e251b7dd9835dadd03071d89824c6c81cad10a56b024b0d1a35
MD5 b01809e305020ce247d5d0b7fe09437f
BLAKE2b-256 be28447e1946b0918f25536a9263937fe28de7bfc3905c4a4cebf299ca4758a1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_cv32e40p-0.0.post98-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.0 PyPy/7.3.3

File hashes

Hashes for pythondata_cpu_cv32e40p-0.0.post98-py2-none-any.whl
Algorithm Hash digest
SHA256 1446e3021c8a554838fce3827dbcc12794040ec7d9b1887c7894f16ab597f93e
MD5 37472ab33dd83171ce09fbeae8aaf1fa
BLAKE2b-256 f005a467da2d5cc443c0d89c51003f2e99e528247bf21c85e5a43f7b1aaa7d59

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