Skip to main content

Python module containing verilog files for OpenRISC1000 cpu.

Project description

pythondata-cpu-mor1kx

Non-Python files needed for the cpu mor1kx 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_mor1kx. The pythondata_cpu_mor1kx.data_location value can be used to find the files on the file system.

Example of getting the data file directly;

import pythondata_cpu_mor1kx

my_data_file = "abc.txt"

with open(os.path.join(pythondata_cpu_mor1kx.data_location, my_data_file)) as f:
    print(f.read())

Example of getting the data file using litex.data.find API;

from pythondata_cpu_mor1kx 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/openrisc/mor1kx.git and are imported using git subtrees to the directory pythondata_cpu_mor1kx/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-mor1kx.git
cd pythondata-cpu-mor1kx
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-mor1kx.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-mor1kx.git

You can install a specific revision of the repository using;

pip install --user git+https://github.com/litex-hub/pythondata-cpu-mor1kx.git@<tag>
pip install --user git+https://github.com/litex-hub/pythondata-cpu-mor1kx.git@<branch>
pip install --user git+https://github.com/litex-hub/pythondata-cpu-mor1kx.git@<hash>

With requirements.txt file

Add to your Python requirements.txt file using;

-e git+https://github.com/litex-hub/pythondata-cpu-mor1kx.git

To use a specific revision of the repository, use the following;

-e https://github.com/litex-hub/pythondata-cpu-mor1kx.git@<hash>

Installing from PyPi

Using pip

pip install --user pythondata-cpu-mor1kx

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-mor1kx-5.0.post143.tar.gz (172.7 kB view details)

Uploaded Source

Built Distributions

pythondata_cpu_mor1kx-5.0.post143-py3.10.egg (214.4 kB view details)

Uploaded Source

pythondata_cpu_mor1kx-5.0.post143-py3.8.egg (214.4 kB view details)

Uploaded Source

pythondata_cpu_mor1kx-5.0.post143-py3.7.egg (214.4 kB view details)

Uploaded Source

pythondata_cpu_mor1kx-5.0.post143-py3.6.egg (214.4 kB view details)

Uploaded Source

pythondata_cpu_mor1kx-5.0.post143-py3.5.egg (214.4 kB view details)

Uploaded Source

File details

Details for the file pythondata-cpu-mor1kx-5.0.post143.tar.gz.

File metadata

  • Download URL: pythondata-cpu-mor1kx-5.0.post143.tar.gz
  • Upload date:
  • Size: 172.7 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-mor1kx-5.0.post143.tar.gz
Algorithm Hash digest
SHA256 6c6d90c5df83163943c0ce1bc316124e407b84bf76b280983d606caa2cdd7b3e
MD5 e72c9b07e97dacdc8e164798726edeb0
BLAKE2b-256 1c2b46ce7afcc20833f9a882dce4f3b5775774fd2ac70e22cbb876f9d7aa6290

See more details on using hashes here.

File details

Details for the file pythondata_cpu_mor1kx-5.0.post143-py3.10.egg.

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post143-py3.10.egg
  • Upload date:
  • Size: 214.4 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_mor1kx-5.0.post143-py3.10.egg
Algorithm Hash digest
SHA256 fd21502e3d4bcfc405e4f7267e778bf7fd1b69e921f2341c2747e55881f7690f
MD5 2095da701ec3675f8a6944c799d2cedd
BLAKE2b-256 35146111cbc4e759032f36fad9aff17598014a3068413cce85d6e8db2976978e

See more details on using hashes here.

File details

Details for the file pythondata_cpu_mor1kx-5.0.post143-py3.8.egg.

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post143-py3.8.egg
  • Upload date:
  • Size: 214.4 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_mor1kx-5.0.post143-py3.8.egg
Algorithm Hash digest
SHA256 ffb438290d5a91c4d79156f6e12d56c199156ff17a56b05e99e76a3704454c8f
MD5 a7e0db32f16d7baaba6e478106aec86e
BLAKE2b-256 3fc985046c9387460b562759a073cf783b9049b58fa654d19d6305d3ebfb3a80

See more details on using hashes here.

File details

Details for the file pythondata_cpu_mor1kx-5.0.post143-py3.7.egg.

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post143-py3.7.egg
  • Upload date:
  • Size: 214.4 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_mor1kx-5.0.post143-py3.7.egg
Algorithm Hash digest
SHA256 c5bc09f6acb8a8954ce9b75123c7360865d66d92a112d60e761f5ff97866beb1
MD5 0f712cc1c15014e6861de353d2127238
BLAKE2b-256 2601f308e11c01804dd075574951398aeb1cbee2cff8d4847e75c27b9553294e

See more details on using hashes here.

File details

Details for the file pythondata_cpu_mor1kx-5.0.post143-py3.6.egg.

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post143-py3.6.egg
  • Upload date:
  • Size: 214.4 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_mor1kx-5.0.post143-py3.6.egg
Algorithm Hash digest
SHA256 c8924d04ba5d70b14293ebbcf64e3efe7da231604e410f600c1abd00c4c32cae
MD5 fb892479c3bb5b3576fc3d3259ee5e3e
BLAKE2b-256 4636074949c48c437c853717de8f6acdffeb69ed5e74598c5f5f440bb93e32c8

See more details on using hashes here.

File details

Details for the file pythondata_cpu_mor1kx-5.0.post143-py3.5.egg.

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post143-py3.5.egg
  • Upload date:
  • Size: 214.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_mor1kx-5.0.post143-py3.5.egg
Algorithm Hash digest
SHA256 325037535d7c3987972a446bb7c27d3bcd4cdd54edd084bc090fb5e6815412a8
MD5 777a0793be8aa5417347a28f6525294c
BLAKE2b-256 0e0ba7902f72b3092be50086b7429c592b226e3079fbf2993287146b2df469a2

See more details on using hashes here.

File details

Details for the file pythondata_cpu_mor1kx-5.0.post143-py3-none-any.whl.

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post143-py3-none-any.whl
  • Upload date:
  • Size: 221.5 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_mor1kx-5.0.post143-py3-none-any.whl
Algorithm Hash digest
SHA256 6d4dc972880d9bd1c62a0250caf88d2d7fa2607814a849118d7fcd43d2601fcb
MD5 8441c68e678c3c4cea4b20d8c6be6b46
BLAKE2b-256 510782e9612fd70e41499d9cbdffb8edee36aeef7bb525bfee49414b70bedab2

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