Skip to main content

Python module containing verilog files for VexRISCV cpu.

Project description

pythondata-cpu-vexriscv

Non-Python files needed for the cpu vexriscv 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_vexriscv. The pythondata_cpu_vexriscv.data_location value can be used to find the files on the file system.

Example of getting the data file directly;

import pythondata_cpu_vexriscv

my_data_file = "abc.txt"

with open(os.path.join(pythondata_cpu_vexriscv.data_location, my_data_file)) as f:
    print(f.read())

Example of getting the data file using litex.data.find API;

from pythondata_cpu_vexriscv import data_file

my_data_file = "abc.txt"

with open(data_file(my_data_file)) as f:
    print(f.read())

The data files are generated from https://github.com/SpinalHDL/VexRISCV.git and place in the directory pythondata_cpu_vexriscv/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-vexriscv.git
cd pythondata-cpu-vexriscv
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-vexriscv.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-vexriscv.git

You can install a specific revision of the repository using;

pip install --user git+https://github.com/litex-hub/pythondata-cpu-vexriscv.git@<tag>
pip install --user git+https://github.com/litex-hub/pythondata-cpu-vexriscv.git@<branch>
pip install --user git+https://github.com/litex-hub/pythondata-cpu-vexriscv.git@<hash>

With requirements.txt file

Add to your Python requirements.txt file using;

-e git+https://github.com/litex-hub/pythondata-cpu-vexriscv.git

To use a specific revision of the repository, use the following;

-e https://github.com/litex-hub/pythondata-cpu-vexriscv.git@<hash>

Installing from PyPi

Using pip

pip install --user pythondata-cpu-vexriscv

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

Built Distributions

File details

Details for the file pythondata-cpu-vexriscv-1.0.1.post357.tar.gz.

File metadata

  • Download URL: pythondata-cpu-vexriscv-1.0.1.post357.tar.gz
  • Upload date:
  • Size: 7.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2

File hashes

Hashes for pythondata-cpu-vexriscv-1.0.1.post357.tar.gz
Algorithm Hash digest
SHA256 838b82622938f9ec0d544cab8e797afd36ad53f8fdb6db6deb8453ffe258a3c1
MD5 36edd409cca6caff807a3f12063f1ba3
BLAKE2b-256 1e448f0de2df67d56712844cf71e6daeb6acaeda3bdff92313cbc7d776aa56cd

See more details on using hashes here.

File details

Details for the file pythondata_cpu_vexriscv-1.0.1.post357-py3.9.egg.

File metadata

  • Download URL: pythondata_cpu_vexriscv-1.0.1.post357-py3.9.egg
  • Upload date:
  • Size: 8.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2

File hashes

Hashes for pythondata_cpu_vexriscv-1.0.1.post357-py3.9.egg
Algorithm Hash digest
SHA256 7a8950bd820d75e6ff7e067d4b9dd546de572dea3f59c2d1eb8424ad4cf8c502
MD5 88a63f9f132b30e1f0a665e626d82776
BLAKE2b-256 08db0d19b31fff36262d3fcfdaa9ce1f5983bc54c594800d86ab13c0ec905778

See more details on using hashes here.

File details

Details for the file pythondata_cpu_vexriscv-1.0.1.post357-py3.7.egg.

File metadata

  • Download URL: pythondata_cpu_vexriscv-1.0.1.post357-py3.7.egg
  • Upload date:
  • Size: 8.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.7.10

File hashes

Hashes for pythondata_cpu_vexriscv-1.0.1.post357-py3.7.egg
Algorithm Hash digest
SHA256 29d1aec1ceba4a1afc0e0c61fa39fb6c25ba14dc6247776657a966f4706e9695
MD5 e53a8e1b7a9adbcfaa1e0d3108826089
BLAKE2b-256 eb08aafba3ed2ca0cc9b21eb3518306e598c655a713fb3dcc6b466274f8acec9

See more details on using hashes here.

File details

Details for the file pythondata_cpu_vexriscv-1.0.1.post357-py3.6.egg.

File metadata

  • Download URL: pythondata_cpu_vexriscv-1.0.1.post357-py3.6.egg
  • Upload date:
  • Size: 8.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 PyPy/7.3.3

File hashes

Hashes for pythondata_cpu_vexriscv-1.0.1.post357-py3.6.egg
Algorithm Hash digest
SHA256 d361eb659911b2ed725ab0c58cabad2fd1fea34920bb55768859a3b450f32ad2
MD5 3a5a8d25b4cafb679fecd964bd8b1ced
BLAKE2b-256 903ff8dad5e4903e3a59e4c457548147d54e9d2f2637eb980acc8f494d5a83bb

See more details on using hashes here.

File details

Details for the file pythondata_cpu_vexriscv-1.0.1.post357-py3-none-any.whl.

File metadata

  • Download URL: pythondata_cpu_vexriscv-1.0.1.post357-py3-none-any.whl
  • Upload date:
  • Size: 8.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2

File hashes

Hashes for pythondata_cpu_vexriscv-1.0.1.post357-py3-none-any.whl
Algorithm Hash digest
SHA256 d885ebee6bf339f661e74731e3896af96710c56ed4c072c3108b95d79547e354
MD5 08df3a2e57b40fb8a104158a5d443504
BLAKE2b-256 a07c0aab5fd861b91711fd1d45e283f836ed20ab0d4fd43cb51269f2619c8dee

See more details on using hashes here.

File details

Details for the file pythondata_cpu_vexriscv-1.0.1.post357-py2.7.egg.

File metadata

  • Download URL: pythondata_cpu_vexriscv-1.0.1.post357-py2.7.egg
  • Upload date:
  • Size: 8.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.58.0 CPython/2.7.18

File hashes

Hashes for pythondata_cpu_vexriscv-1.0.1.post357-py2.7.egg
Algorithm Hash digest
SHA256 0aaaad495314b5d39868726d7d7d206f629bf724c0b31ce361802c9b2c5a28f0
MD5 725e41c06b60d739a0382763bcbdd5a5
BLAKE2b-256 a0de8484d3b64e7e1a71736432886bf2ec8dd2944e86d70a2c66ecb4014562e3

See more details on using hashes here.

File details

Details for the file pythondata_cpu_vexriscv-1.0.1.post357-py2-none-any.whl.

File metadata

  • Download URL: pythondata_cpu_vexriscv-1.0.1.post357-py2-none-any.whl
  • Upload date:
  • Size: 8.2 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.58.0 CPython/2.7.18

File hashes

Hashes for pythondata_cpu_vexriscv-1.0.1.post357-py2-none-any.whl
Algorithm Hash digest
SHA256 2fe4f5579bfaaa8306f2ac0ea3386a41d79ceb70d9cf577d3a0532101378bcda
MD5 aae3cf899219e7d925797f5d47244744
BLAKE2b-256 c11dcc3526785bedd409c0160c25cefedb6a204a00f0c97cc9dc0077bedacabe

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