Skip to main content

Python module containing verilog files for PicoRV32 cpu.

Project description

pythondata-cpu-picorv32

Non-Python files needed for the cpu picorv32 packaged into a Python module so they can be used with Python libraries and tools.

This Useful for usage with tools like LiteX.

The data files can be found under the Python module pythondata_cpu_picorv32. The pythondata_cpu_picorv32.data_location value can be used to find the files on the file system.

Example of getting the data file directly;

import pythondata_cpu_picorv32

my_data_file = "abc.txt"

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

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

from pythondata_cpu_picorv32 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/cliffordwolf/picorv32 and are imported using git subtrees to the directory pythondata_cpu_picorv32/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-picorv32.git
cd pythondata-cpu-picorv32
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-picorv32.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-picorv32.git

You can install a specific revision of the repository using;

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

With requirements.txt file

Add to your Python requirements.txt file using;

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

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

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

Installing from PyPi

Using pip

pip install --user pythondata-cpu-picorv32

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-picorv32-1.0.post99.tar.gz (201.2 kB view details)

Uploaded Source

Built Distributions

pythondata_cpu_picorv32-1.0.post99-py3.8.egg (296.0 kB view details)

Uploaded Source

pythondata_cpu_picorv32-1.0.post99-py3.7.egg (296.1 kB view details)

Uploaded Source

pythondata_cpu_picorv32-1.0.post99-py3.6.egg (296.2 kB view details)

Uploaded Source

pythondata_cpu_picorv32-1.0.post99-py3.5.egg (296.4 kB view details)

Uploaded Source

File details

Details for the file pythondata-cpu-picorv32-1.0.post99.tar.gz.

File metadata

  • Download URL: pythondata-cpu-picorv32-1.0.post99.tar.gz
  • Upload date:
  • Size: 201.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.1

File hashes

Hashes for pythondata-cpu-picorv32-1.0.post99.tar.gz
Algorithm Hash digest
SHA256 0812f67dba2c43682d2c9ce596f8abee6511ce9ff8b5e99d2d063a451ca6a8cc
MD5 5c79b3a88a15f0cc9e5e0c894e838832
BLAKE2b-256 077b20225b013d5aa54fb06c35fc07e9a04c146f7c088413aa529d2c4d87a7e3

See more details on using hashes here.

File details

Details for the file pythondata_cpu_picorv32-1.0.post99-py3.8.egg.

File metadata

  • Download URL: pythondata_cpu_picorv32-1.0.post99-py3.8.egg
  • Upload date:
  • Size: 296.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.0

File hashes

Hashes for pythondata_cpu_picorv32-1.0.post99-py3.8.egg
Algorithm Hash digest
SHA256 f7631b7df842ed852171a3bb4d60f462042e61706794cf2b2c89d9e2fbb99169
MD5 aba9fabffe7502b5edd159a6e2f36d42
BLAKE2b-256 edb90773c0b00ec682ec6b703c380a8cee33ed6507bf8605b51222e9678d7da3

See more details on using hashes here.

File details

Details for the file pythondata_cpu_picorv32-1.0.post99-py3.7.egg.

File metadata

  • Download URL: pythondata_cpu_picorv32-1.0.post99-py3.7.egg
  • Upload date:
  • Size: 296.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.1

File hashes

Hashes for pythondata_cpu_picorv32-1.0.post99-py3.7.egg
Algorithm Hash digest
SHA256 5e6850b2d4183f58105beb7afb5e5b36c1d10de43d49454c373f5fd03f3b0959
MD5 ff1caa30c501f47ecf9f606aaaf2ae64
BLAKE2b-256 1e7a785f57ac25c47aebe80ec54e658ecf9fae2cdaaaf257720d955982f359f0

See more details on using hashes here.

File details

Details for the file pythondata_cpu_picorv32-1.0.post99-py3.6.egg.

File metadata

  • Download URL: pythondata_cpu_picorv32-1.0.post99-py3.6.egg
  • Upload date:
  • Size: 296.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.7

File hashes

Hashes for pythondata_cpu_picorv32-1.0.post99-py3.6.egg
Algorithm Hash digest
SHA256 431714051316aa9d2c8ba8f128d0e55063f9e08643ec5c89ad3b3c3726a63925
MD5 624f778971cbf9c64c2a50bb9f385766
BLAKE2b-256 b30efa213fdbc52a3731bafba6f50f56605cbaf0afacd1d6ed717d047c4038f1

See more details on using hashes here.

File details

Details for the file pythondata_cpu_picorv32-1.0.post99-py3.5.egg.

File metadata

  • Download URL: pythondata_cpu_picorv32-1.0.post99-py3.5.egg
  • Upload date:
  • Size: 296.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.5.6

File hashes

Hashes for pythondata_cpu_picorv32-1.0.post99-py3.5.egg
Algorithm Hash digest
SHA256 597ddc5237550e70278db99cec18f2f2d193c4b3335e5aa6337fd4182014df93
MD5 28d6c6e316e3b23fe6c28b0b73ac7cc1
BLAKE2b-256 d174918cbf121187ac2ffc007f4bd812a57198bce484eff521f48e799b89bf60

See more details on using hashes here.

File details

Details for the file pythondata_cpu_picorv32-1.0.post99-py3-none-any.whl.

File metadata

  • Download URL: pythondata_cpu_picorv32-1.0.post99-py3-none-any.whl
  • Upload date:
  • Size: 295.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.1

File hashes

Hashes for pythondata_cpu_picorv32-1.0.post99-py3-none-any.whl
Algorithm Hash digest
SHA256 22d7c0867ffc7c169e19e0ecddf439815a4dc884a633c1e26df7e7e5dc5950a7
MD5 03cf36493569818ecc6c387d84dbb4c3
BLAKE2b-256 635a5e6e021052283599075eefe667cf87e431144ae8feb7893b55bd822370d6

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