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.post129.tar.gz (209.7 kB view details)

Uploaded Source

Built Distributions

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

File details

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

File metadata

  • Download URL: pythondata-cpu-picorv32-1.0.post129.tar.gz
  • Upload date:
  • Size: 209.7 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.2 CPython/2.7.18

File hashes

Hashes for pythondata-cpu-picorv32-1.0.post129.tar.gz
Algorithm Hash digest
SHA256 19979273db64453a899122cbbe3651046b1f640e799464ab2224f60c9b1ff571
MD5 8dde4ca31b4c022ccfc9021e404dea35
BLAKE2b-256 d591f3879b469c2974bbdcc66daf101af253140739615831a7d5bead73b2413d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_picorv32-1.0.post129-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.2 CPython/3.9.1

File hashes

Hashes for pythondata_cpu_picorv32-1.0.post129-py3.9.egg
Algorithm Hash digest
SHA256 e6113deb3df49c5f3a257e9e986e488f79527c701ce30680f60df2a8453e8dd2
MD5 882658e0d40c429e4fe770ced31eec2f
BLAKE2b-256 0ecc5c7824616935f9109dbc77264bcfab2316d78df4cb8dcdd1c76da2bd5576

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_picorv32-1.0.post129-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.2 CPython/3.8.7

File hashes

Hashes for pythondata_cpu_picorv32-1.0.post129-py3.8.egg
Algorithm Hash digest
SHA256 8558c7c339f66faaf3cceecd1b26116a7afe9c98eab88dbed34bcc35f0e400f7
MD5 e7766be7f7256a3c3526af0b476fe0f3
BLAKE2b-256 3fee7ca98b13142c81fe65c4f0a305fc42e3010cd9bc8c942ee8b1c5bb6bbf02

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_picorv32-1.0.post129-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.2 CPython/3.7.9

File hashes

Hashes for pythondata_cpu_picorv32-1.0.post129-py3.7.egg
Algorithm Hash digest
SHA256 72cbd34ca5ecadb9a31905bf39b2a56b18bf45b45c9695334296a921ce50431a
MD5 5b0bf134c30dd87171d5331993ea329a
BLAKE2b-256 78c850c87d432b97ab8af60a68ce115ccddec417a0099f227034033ed7c981f0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_picorv32-1.0.post129-py3.6.egg
  • Upload date:
  • Size: 296.2 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.2 CPython/3.6.12

File hashes

Hashes for pythondata_cpu_picorv32-1.0.post129-py3.6.egg
Algorithm Hash digest
SHA256 4920cb04036fa912f2b85428a91ff2dd687f28da6ca9d59d6d855aa7c94346bb
MD5 9b87eeaffb6c03f1124c3bd121eb9a16
BLAKE2b-256 077c78fd21fc5e21335968023e810bf2cee661d7de4bb47914c752243fe4f7f6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_picorv32-1.0.post129-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.2 CPython/3.7.9

File hashes

Hashes for pythondata_cpu_picorv32-1.0.post129-py3-none-any.whl
Algorithm Hash digest
SHA256 e2d91918d125e13b23bf52137dcca5c302c759670a2cc78b9cff8254a40ffc1d
MD5 767b70c30ffca1f996c89ba5dde25e84
BLAKE2b-256 0f35044c0b1c2a874cd181b220d62f882c4ecd2f1dbbdc7d32d88111c304373f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_picorv32-1.0.post129-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.2 CPython/2.7.18

File hashes

Hashes for pythondata_cpu_picorv32-1.0.post129-py2.7.egg
Algorithm Hash digest
SHA256 14e8938c66f70314d36497c43f7560b258581be78629ba42c1eb123f5238b3b5
MD5 7e5827460e31e98addaf5e925279b978
BLAKE2b-256 b63f3f29073ccfda208dcc091753279baf4014e792905a49813d405c4948f9a0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_picorv32-1.0.post129-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.2 CPython/2.7.18

File hashes

Hashes for pythondata_cpu_picorv32-1.0.post129-py2-none-any.whl
Algorithm Hash digest
SHA256 284f3985c0194bc3f278458fb28d80c931c4d520146198091ab6f1cabb169bfa
MD5 f7bc640650c5d3dba7a2cd3491a0d5fb
BLAKE2b-256 1afd7e14f774ca130674bd055728aad82a1524d57c5a794c219157cae0ee2625

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