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

Uploaded Source

Built Distributions

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

File details

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

File metadata

  • Download URL: pythondata-cpu-picorv32-1.0.post97.tar.gz
  • Upload date:
  • Size: 204.9 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.post97.tar.gz
Algorithm Hash digest
SHA256 2d48ff81b62dc62fa5243525dda21c2d6fc05c5c5224a0f38c917dd46c791286
MD5 db2a942be1e9e2aae403723757fcc340
BLAKE2b-256 64c5fa29254e60b633c12538123107e21c781c6a50b59b7b673d3752dacc46b0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_picorv32-1.0.post97-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.post97-py3.8.egg
Algorithm Hash digest
SHA256 bf9481854af6f016dc7b12fc11e4cf49aa03a954366168b7ad58a00fbe40d75b
MD5 36575077abc3821e1bb9725b67657bff
BLAKE2b-256 bddad27f10132f3ceb1bc20c1e1c80e7242e67e6cc41ac7701dc86a92b4f2998

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_picorv32-1.0.post97-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.post97-py3.7.egg
Algorithm Hash digest
SHA256 8c7f2de12166b9b3385986f5694e94652134d61e096bca136620a3c5f388d41e
MD5 481bd3535e34708a48e77770e683d31d
BLAKE2b-256 ef3df1fc8ad5debad4a928e280dadf5d51f349d8e7d589213b7b987fa4274461

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pythondata_cpu_picorv32-1.0.post97-py3.6.egg
Algorithm Hash digest
SHA256 ced9a0bc55148d2575275eb8d8b532481e02e9044213ca946f4c085a9df2f9dc
MD5 e88f8d413da611595d3458ff34dc4307
BLAKE2b-256 e303a3f1da3f9b42e6d2a222f37bd6c3de2c9ad86bf0a974743b5683822411c1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_picorv32-1.0.post97-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.post97-py3.5.egg
Algorithm Hash digest
SHA256 bb97436d76f2c2cd9c1742b0181ccdbc46d450d79745ccf1fd9ea8a5ed6a3ab7
MD5 d7d41a1ef891f07a3d13ce4f33e8c4c0
BLAKE2b-256 75ffcce2d1c50f983518919e8746a5f7e812f479e18624ed8d6f321601936a00

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pythondata_cpu_picorv32-1.0.post97-py3-none-any.whl
Algorithm Hash digest
SHA256 71747759df1cb721800e23595b0402409606be829f904e6234a418b63d77af98
MD5 a39fa265b14a9ebb597bb1b8c1f4c5b7
BLAKE2b-256 45601bcf4ac26729e5d0cccaafee27a9822776a1d2de49b3d17fb29bb48a797d

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