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

Uploaded Source

Built Distributions

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

File details

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

File metadata

  • Download URL: pythondata-cpu-picorv32-1.0.post112.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.post112.tar.gz
Algorithm Hash digest
SHA256 17fda41aebe57513608447db6114a944f34f3a1b7bee214521707c422d0e88fa
MD5 7f768bca9e2e7c4f0a130d8dfa150957
BLAKE2b-256 43fab0330e36ed17835e32a5e1a9ee7988cc400fc1255685ba558a190ba6fc7f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_picorv32-1.0.post112-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.post112-py3.10.egg
Algorithm Hash digest
SHA256 f2f3e23b5b3d27acd6b4dc5bbcde43f08cbfc560c4c065476a75aef35a9200e0
MD5 ebf370a33c9183f8aae0254b5e20a05b
BLAKE2b-256 a183cc69e215548b219f07e5a600ab8f65d6074519bce926669a38701c4794b9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_picorv32-1.0.post112-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.post112-py3.8.egg
Algorithm Hash digest
SHA256 8065ac3f65b703fbfe49f1fd1938afa20a5d941c6ace6b56ac1e414053b9847a
MD5 40a2b596f4ed8a599796f207599f6599
BLAKE2b-256 d4eb9b429a9ed48db79e44af2493d49f4ba0e934ae2532d477826fd1a95f0bad

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_picorv32-1.0.post112-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.post112-py3.7.egg
Algorithm Hash digest
SHA256 7f9d1b2fd34c41466b41faa16ea2855e31c700b8e330f5aa9688ce74778b5ada
MD5 cc62f55a459276098ff53526d8d88be1
BLAKE2b-256 f2677c37b220fb47654ad317689766c085121040446bd57e724a8fbf227c237d

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pythondata_cpu_picorv32-1.0.post112-py3.6.egg
Algorithm Hash digest
SHA256 fc11bd0bfd756da5fa36f95b466fc3daa2163b51f8057ecb7bf61b6d96086036
MD5 b483acc50d0e3cdc0a48668290538139
BLAKE2b-256 8c4ebdee94e82f67c12a257f321a9cb557f689caf616a90bbfb4dcd8789f640f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_picorv32-1.0.post112-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.post112-py3-none-any.whl
Algorithm Hash digest
SHA256 ca77b4394d3370fbd8a7796638c6850cb121141cb21f578f02704d7fb8245fff
MD5 41ab29bc46155310053fbf23c75ca7d5
BLAKE2b-256 cad9e5fec91c2bf57195c62094fe4863f8ffa42b4996ff06ea626aac366704b1

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