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

Uploaded Source

Built Distributions

pythondata_cpu_mor1kx-5.0.post165-py3.9.egg (214.7 kB view details)

Uploaded Source

pythondata_cpu_mor1kx-5.0.post165-py3.8.egg (214.7 kB view details)

Uploaded Source

pythondata_cpu_mor1kx-5.0.post165-py3.7.egg (214.7 kB view details)

Uploaded Source

pythondata_cpu_mor1kx-5.0.post165-py3.6.egg (214.7 kB view details)

Uploaded Source

pythondata_cpu_mor1kx-5.0.post165-py2.7.egg (214.7 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: pythondata-cpu-mor1kx-5.0.post165.tar.gz
  • Upload date:
  • Size: 174.6 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.9.1

File hashes

Hashes for pythondata-cpu-mor1kx-5.0.post165.tar.gz
Algorithm Hash digest
SHA256 eee4cb84cf01a30a09560c788d97e3473800acd2f61484327e469b1fb229f00b
MD5 2083a9b9259bd27e68d5e50ec3977025
BLAKE2b-256 18801ef733ea5fdd6d4f2517a3b50904f400fb5bc9a97c26cae79bc5341479bc

See more details on using hashes here.

File details

Details for the file pythondata_cpu_mor1kx-5.0.post165-py3.9.egg.

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post165-py3.9.egg
  • Upload date:
  • Size: 214.7 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.9.1

File hashes

Hashes for pythondata_cpu_mor1kx-5.0.post165-py3.9.egg
Algorithm Hash digest
SHA256 f5f2b20f4fe4b7c58e8f642a58d4ddb38d353e94fcdf4f6250273545e8bd22f5
MD5 b105506da968a9fe0f5be3d693a70de7
BLAKE2b-256 1f8564f9c32308a8451528bf6d2fd955af8b2c3515de711e451e236f45fbc5f5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post165-py3.8.egg
  • Upload date:
  • Size: 214.7 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_mor1kx-5.0.post165-py3.8.egg
Algorithm Hash digest
SHA256 5e76519e2b11a31b555a2375f4c42bce066a0eb211b28d1904bb30b7db0d1ffe
MD5 02b14d59d9cc86087a052dd9cf4fef75
BLAKE2b-256 0129a388d9e5175863aa40faf9fee06228959b96697c891aaae4254eac448308

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post165-py3.7.egg
  • Upload date:
  • Size: 214.7 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.9

File hashes

Hashes for pythondata_cpu_mor1kx-5.0.post165-py3.7.egg
Algorithm Hash digest
SHA256 b348ee2472827703e46953135d14ba5d17b560e026b045f846164bc7593d40f6
MD5 662dcbffb984ecb7414b311b3b1aa4ba
BLAKE2b-256 479bbe56e619b4f8d23ac9fc87e8c550a47914e3e7a7bd813b7aa9014f1ab511

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post165-py3.6.egg
  • Upload date:
  • Size: 214.7 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.12

File hashes

Hashes for pythondata_cpu_mor1kx-5.0.post165-py3.6.egg
Algorithm Hash digest
SHA256 a4d9ab66f7480873ec36a4925075d7be856420f8958f5f09c7e6994ca3ca2820
MD5 342a85348aed85c8d8ab6f8aae415ceb
BLAKE2b-256 523e23290bfdf0b94eadeff085cb3ba8af0760087bfc5700416f9c6ecbd816a3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post165-py3-none-any.whl
  • Upload date:
  • Size: 221.9 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.9.1

File hashes

Hashes for pythondata_cpu_mor1kx-5.0.post165-py3-none-any.whl
Algorithm Hash digest
SHA256 68b6333d87c859d6a81fff0c19258e716d9e063b7d8d740e9d39f1437b8ed8fc
MD5 a5642f914e427ef53f1c1c5d8de69b85
BLAKE2b-256 a7e8fe48ccdac2fdfe3b1aff2c91860c847f0a1d3f8e29aa3bd7a4a573906b51

See more details on using hashes here.

File details

Details for the file pythondata_cpu_mor1kx-5.0.post165-py2.7.egg.

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post165-py2.7.egg
  • Upload date:
  • Size: 214.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.7.0 requests/2.25.1 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/2.7.18

File hashes

Hashes for pythondata_cpu_mor1kx-5.0.post165-py2.7.egg
Algorithm Hash digest
SHA256 0e34d0e080b858a8afc05d5d5b0a045e38912f0b742787737d673e9a9a1bee86
MD5 945fa05479fa2de23816bcdef8940d2a
BLAKE2b-256 f2c565cab8af2012fadfd865194f2f8154dbcb7d0a475ed9f080cbdadd948329

See more details on using hashes here.

File details

Details for the file pythondata_cpu_mor1kx-5.0.post165-py2-none-any.whl.

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post165-py2-none-any.whl
  • Upload date:
  • Size: 221.9 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.7.0 requests/2.25.1 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/2.7.18

File hashes

Hashes for pythondata_cpu_mor1kx-5.0.post165-py2-none-any.whl
Algorithm Hash digest
SHA256 825f21aa9414f8727b129f826ab3c562b1a8dc21b8156ac2163b4b95bc8558e9
MD5 b322ea36675bad30952d1e8011177081
BLAKE2b-256 30df910aecf44b5498867e001edb0b4010450cc5a54374c9f3dcc36739f52c1f

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