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

Uploaded Source

Built Distributions

pythondata_cpu_picorv32-1.0.post105-py3.10.egg (296.1 kB view details)

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

File details

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

File metadata

  • Download URL: pythondata-cpu-picorv32-1.0.post105.tar.gz
  • Upload date:
  • Size: 201.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.1

File hashes

Hashes for pythondata-cpu-picorv32-1.0.post105.tar.gz
Algorithm Hash digest
SHA256 a19f397436902d159fd6a6d52ebca177d0d34e23c19715a9e50ce3693a9d86cf
MD5 2629a6e7330bb5d7190e1093e8705a81
BLAKE2b-256 aa52a27d546a40d632c3fdce44f49fa2b291dec50b48336ac7cdfe3c84ad05e0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_picorv32-1.0.post105-py3.10.egg
  • Upload date:
  • Size: 296.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.10.0a2+

File hashes

Hashes for pythondata_cpu_picorv32-1.0.post105-py3.10.egg
Algorithm Hash digest
SHA256 459414277e05c075de52381d3ed65ad0dd5ec1ca39cc9aa7def0601fbb9d1009
MD5 892e4a4f1336e007f061de5dda443ad0
BLAKE2b-256 cc745bb3eec0a7e6c33aca52b56c75f0c79df48d7aaa5f88526870f0f77b2d9c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_picorv32-1.0.post105-py3.8.egg
  • Upload date:
  • Size: 296.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.0

File hashes

Hashes for pythondata_cpu_picorv32-1.0.post105-py3.8.egg
Algorithm Hash digest
SHA256 9bad05a3934ac1694e4835fd87cf62d8d54e0b4dbdb552c3027e53eb62360740
MD5 f8de7751fb08051953372dc13c2981da
BLAKE2b-256 b7d0035d8f4d0e71868f3b02dc08de54891cd33ab35275e3c379534fc945b49d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_picorv32-1.0.post105-py3.7.egg
  • Upload date:
  • Size: 296.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.1

File hashes

Hashes for pythondata_cpu_picorv32-1.0.post105-py3.7.egg
Algorithm Hash digest
SHA256 6cfe99a3fc4e2431fcc04e60f738a4bb66993ad8d9957c3efd24067842491dc3
MD5 b4d0917f6fc11ea3d94fb3d4b802898a
BLAKE2b-256 d693f076eca4928c3edd65a109a87d269d4e8e50dbfed8ec9c417e2910a97b62

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_picorv32-1.0.post105-py3.6.egg
  • Upload date:
  • Size: 296.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.7

File hashes

Hashes for pythondata_cpu_picorv32-1.0.post105-py3.6.egg
Algorithm Hash digest
SHA256 d9f04bb985488fb3f0c349ef76ccf0c730c6d0fb59e0f632962674aeaeceaf41
MD5 28f8333f313af2e2ac0704a73a356059
BLAKE2b-256 c10e459007bb7207b07b906a4d8a0c13505c00ddc25c7efaf731a60cb761aa5f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_picorv32-1.0.post105-py3.5.egg
  • Upload date:
  • Size: 296.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.5.6

File hashes

Hashes for pythondata_cpu_picorv32-1.0.post105-py3.5.egg
Algorithm Hash digest
SHA256 257c5dc1a26ffaee8613e4490f98c5db7cf2ded265549cc26b97df7c223c4ab9
MD5 0220508441f63637beb7ca58cda89d6a
BLAKE2b-256 f922bc725b878a6463400b609ffc204d4ad6d68c9a74b3dd71515181b5bb508b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_picorv32-1.0.post105-py3-none-any.whl
  • Upload date:
  • Size: 296.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.1

File hashes

Hashes for pythondata_cpu_picorv32-1.0.post105-py3-none-any.whl
Algorithm Hash digest
SHA256 0ada5b74dae072529b3385aa98ede928146cb6d14fc8774673378c0a9a9590f4
MD5 93ac9b89d17cb8235a723148452400f7
BLAKE2b-256 87efb7fef1dfcd22599c4ed97672169ace6ee5b04556a966d052ccacf0954004

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