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 is 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.post128.tar.gz (204.3 kB view details)

Uploaded Source

Built Distributions

pythondata_cpu_picorv32-1.0.post128-py3.9.egg (296.1 kB view details)

Uploaded Source

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

Uploaded Source

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

Uploaded Source

pythondata_cpu_picorv32-1.0.post128-py3.6.egg (296.1 kB view details)

Uploaded Source

pythondata_cpu_picorv32-1.0.post128-py2.7.egg (294.9 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: pythondata-cpu-picorv32-1.0.post128.tar.gz
  • Upload date:
  • Size: 204.3 kB
  • 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.12

File hashes

Hashes for pythondata-cpu-picorv32-1.0.post128.tar.gz
Algorithm Hash digest
SHA256 95b3aa205b1af9ca15b00da1c7aba6afef781362c9fcd9ba8e856a189c180c1d
MD5 2fbf1dc23299aa2b257f83626ac1e40c
BLAKE2b-256 7a4c02896a5e73f2a15cf2c142df9acf6e5e3cffd3bae2a385bcf0923a20b8ce

See more details on using hashes here.

File details

Details for the file pythondata_cpu_picorv32-1.0.post128-py3.9.egg.

File metadata

  • Download URL: pythondata_cpu_picorv32-1.0.post128-py3.9.egg
  • Upload date:
  • Size: 296.1 kB
  • 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_picorv32-1.0.post128-py3.9.egg
Algorithm Hash digest
SHA256 6dd6b0b59b064cb94b49aa9805a420fce959e7ef6d512cea87f765d591faf7a0
MD5 b481a83b83dbfd1784715f0359c403cf
BLAKE2b-256 30ecad35bde75ffd5f8cd03a1c8f2848cd841a3a58330e1ded45f752e5249720

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_picorv32-1.0.post128-py3.8.egg
  • Upload date:
  • Size: 296.0 kB
  • 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_picorv32-1.0.post128-py3.8.egg
Algorithm Hash digest
SHA256 b756260c3e2e763f8697251de3734aa3add5c5980a528e1d5ccda6f8e5a1fcf4
MD5 c38adefbaf2985c62684f483a31297dc
BLAKE2b-256 9a9d8942704ceb8901150228a792071fb3745f9bc1e35edaeb4fa6a8f5818de1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_picorv32-1.0.post128-py3.7.egg
  • Upload date:
  • Size: 296.1 kB
  • 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_picorv32-1.0.post128-py3.7.egg
Algorithm Hash digest
SHA256 3266dd4dbebf18be5487bbc699a27faa79345427afd2d7cd30eb8870bc902b5c
MD5 1b160328cfc54650d282c6888622e607
BLAKE2b-256 948ec394707c4cdbf7fb2d7697d131b8b2f7c7241ba88ebb9120e5f494cd9c54

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_picorv32-1.0.post128-py3.6.egg
  • Upload date:
  • Size: 296.1 kB
  • 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.12

File hashes

Hashes for pythondata_cpu_picorv32-1.0.post128-py3.6.egg
Algorithm Hash digest
SHA256 33391ee40efc9673b10cca248fb42160645137871a1dc892b3fd72a49fab0bce
MD5 ee47c0686aab550ead64151d04d052ab
BLAKE2b-256 d74465ebe5ae9b762be363c6ecbaae8d695834dd8c8033f77001dd5d4753ecde

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_picorv32-1.0.post128-py3-none-any.whl
  • Upload date:
  • Size: 296.1 kB
  • 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.8.7

File hashes

Hashes for pythondata_cpu_picorv32-1.0.post128-py3-none-any.whl
Algorithm Hash digest
SHA256 4a6f998f1c9b9c4b3abd6ddc188d5bb1527ad26b595a09b647413769489fbbf8
MD5 acae30e8c902fd716ad18e5e5ca4e5e9
BLAKE2b-256 91cb329aae58f2a6614928d970fd484a0a61343075a4392190cd73788cd74907

See more details on using hashes here.

File details

Details for the file pythondata_cpu_picorv32-1.0.post128-py2.7.egg.

File metadata

  • Download URL: pythondata_cpu_picorv32-1.0.post128-py2.7.egg
  • Upload date:
  • Size: 294.9 kB
  • 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 CPython/2.7.18

File hashes

Hashes for pythondata_cpu_picorv32-1.0.post128-py2.7.egg
Algorithm Hash digest
SHA256 a1a494d71810fa6c5d5ac8832a3d90deedcaf0d6991e8be1120254ac7da444d3
MD5 e4827df12eb404ce1b057881ca1f6079
BLAKE2b-256 2b0c6b5d8e7e7376246381ef245c167958c996e940d11686f0bbe4df7db7b20c

See more details on using hashes here.

File details

Details for the file pythondata_cpu_picorv32-1.0.post128-py2-none-any.whl.

File metadata

  • Download URL: pythondata_cpu_picorv32-1.0.post128-py2-none-any.whl
  • Upload date:
  • Size: 296.1 kB
  • 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 CPython/2.7.18

File hashes

Hashes for pythondata_cpu_picorv32-1.0.post128-py2-none-any.whl
Algorithm Hash digest
SHA256 11f1254d0e7e625858ba5656c2c0c12d450a16ca74f63136e60b75bec42c1ce8
MD5 5577fb48087443e8c3e50abefe3ff7e2
BLAKE2b-256 4c3764e6f917ca24796ad6239fa9f667237893e4314bc2aa982f7607aae60f6d

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