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

Uploaded Source

Built Distributions

pythondata_cpu_picorv32-1.0.post111-py3.10.egg (296.3 kB view details)

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

File details

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

File metadata

  • Download URL: pythondata-cpu-picorv32-1.0.post111.tar.gz
  • Upload date:
  • Size: 205.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.6.7

File hashes

Hashes for pythondata-cpu-picorv32-1.0.post111.tar.gz
Algorithm Hash digest
SHA256 376c1094d7d52661196b5bb4bed119532c345963ce22ea811c7ba84b51cf0911
MD5 ab181444b44b55dc64478f99aef5aa48
BLAKE2b-256 81dc234311f023f633a7ae1cf0e4267fe7c666d9df25151ff75cea12bc105c28

See more details on using hashes here.

File details

Details for the file pythondata_cpu_picorv32-1.0.post111-py3.10.egg.

File metadata

  • Download URL: pythondata_cpu_picorv32-1.0.post111-py3.10.egg
  • Upload date:
  • Size: 296.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.10.0a5+

File hashes

Hashes for pythondata_cpu_picorv32-1.0.post111-py3.10.egg
Algorithm Hash digest
SHA256 63b9d6682ae207ab27202131c231d6909a53e418e8432770fd4a8022e069e165
MD5 b201969cf1aa8dc5cd573861029aa04c
BLAKE2b-256 f1f94c69f5b11eef8b36c48b5df598612bc19fd7d778ae746c40fc1ba4b4bae3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_picorv32-1.0.post111-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.post111-py3.8.egg
Algorithm Hash digest
SHA256 196024a83b369b8aab8e1eb8433cdda12591a22d8608272b0c2b2a7e35e5fe9f
MD5 b41e5795ee21450b9ecaf18327664e9a
BLAKE2b-256 d6f3abcee9ec686d1be701ceaabf0469fd62f79c31c5dc7c57d8cee1ae97a911

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_picorv32-1.0.post111-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.1

File hashes

Hashes for pythondata_cpu_picorv32-1.0.post111-py3.7.egg
Algorithm Hash digest
SHA256 93db4f36076c19022a155ed4515dd626c5141b2ca8b8706b68200ae19b943c62
MD5 1c7c96c52dc619e342d7f20c66ac0542
BLAKE2b-256 a2f950b716d83663bfe5f742d6d4d2b2ab32a35745cdedd3b5810a9bd8c7145a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_picorv32-1.0.post111-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.0 CPython/3.6.7

File hashes

Hashes for pythondata_cpu_picorv32-1.0.post111-py3.6.egg
Algorithm Hash digest
SHA256 e30ee872161a368bbd50ec153edc9860caebd5d9491fe24fe6f2d9e67aad06ce
MD5 c9add74a0dbd885963b0f440fc169531
BLAKE2b-256 399d0fb670854814cb2703fa978220cefe4cb2005ced9ad4c8e2a1b0bd57fe7f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_picorv32-1.0.post111-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.6.7

File hashes

Hashes for pythondata_cpu_picorv32-1.0.post111-py3-none-any.whl
Algorithm Hash digest
SHA256 79edfd30537b5598f2dd1500d4a478b6fbabb6a86797b96ccc55bd0cfef96a8a
MD5 8899abac7014202031e7257d44e44fcc
BLAKE2b-256 c42ea81d8380c9dcb8e831ebfb0ecdd04cb1e6c39ee552ac2ccb6543d4e960e3

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