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

Uploaded Source

Built Distributions

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

pythondata_cpu_mor1kx-5.0.post171-py3-none-any.whl (221.9 kB view details)

Uploaded Python 3

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

Uploaded Source

pythondata_cpu_mor1kx-5.0.post171-py2-none-any.whl (221.9 kB view details)

Uploaded Python 2

File details

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

File metadata

  • Download URL: pythondata-cpu-mor1kx-5.0.post171.tar.gz
  • Upload date:
  • Size: 176.8 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.2 CPython/2.7.18

File hashes

Hashes for pythondata-cpu-mor1kx-5.0.post171.tar.gz
Algorithm Hash digest
SHA256 aeaae05c9187df902ec95827a8ff5ef52df51604e138729b73004c092346e621
MD5 2dd29bb3a88a250ea396549c698c5574
BLAKE2b-256 0c8392ba6f80387326f80c9b0a79fd85e3285b97e3ca19cb2b423d25956a3d7f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post171-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.2 CPython/3.9.1

File hashes

Hashes for pythondata_cpu_mor1kx-5.0.post171-py3.9.egg
Algorithm Hash digest
SHA256 bcbcc28bf4ed77b8f0f22f2b70ae1a89326b394cf25bda0c7ed9a9cf484bed52
MD5 a324b5cd180f9e0df6110cf172dc074a
BLAKE2b-256 ebbc3ccff4277b9f9604658177107c087f6b349021167cbfe3c4b1f65c3213e2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post171-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.2 CPython/3.8.7

File hashes

Hashes for pythondata_cpu_mor1kx-5.0.post171-py3.8.egg
Algorithm Hash digest
SHA256 a0b3b34a2adf53ccfed1e728e66f54159994d7c1c81649db375e32516f18ce16
MD5 48487f9102d4aff1967e4659cebeb6e7
BLAKE2b-256 e19ee5daab82034975f52e2e80682a509a9f29e8679e27769fa53d7d390cc986

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post171-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.2 CPython/3.7.9

File hashes

Hashes for pythondata_cpu_mor1kx-5.0.post171-py3.7.egg
Algorithm Hash digest
SHA256 09c0d104a4630eb59f58e0a8cf8885cfa725e24cbc3f6bb7fc63d540aadfcefa
MD5 9ce19b0a776148257b5b966ac7d3c702
BLAKE2b-256 8eaf2f6fd80502515749047cbf99d686a63a4a4fe07f9effdd0138694fd2a74e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post171-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.2 CPython/3.6.12

File hashes

Hashes for pythondata_cpu_mor1kx-5.0.post171-py3.6.egg
Algorithm Hash digest
SHA256 edd5fea904f26c172a424d7e65379566d068f40778084403c62a03acf7f8d6c4
MD5 cde6130e6359b81b4d9185e2f3b10d0e
BLAKE2b-256 ee66b1231ae0409a280fb70b3e4d82d5f1b4c7fa020e1d43feb203e9a4d0204c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post171-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.2 CPython/3.6.12

File hashes

Hashes for pythondata_cpu_mor1kx-5.0.post171-py3-none-any.whl
Algorithm Hash digest
SHA256 1f62a52bb9a0cdcdb9f7c621c1bded772d2691aeeeb5e4a85792a70a437741d7
MD5 4ef45910c96e27865afcd3c6f3cc3ca5
BLAKE2b-256 0a95d255984a2fe0722e37efdef4f452621355cdca788a567037f4c3caaa6129

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post171-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.2 CPython/2.7.18

File hashes

Hashes for pythondata_cpu_mor1kx-5.0.post171-py2.7.egg
Algorithm Hash digest
SHA256 8c4e27434cbf2a13364b3b289938c986b7edfb5930e2960df18caecb46fcc8b6
MD5 01ecc5db21b6436344e9d6d502906906
BLAKE2b-256 4ef7990655f814568437293ce7b4b82196001412be868a77d3b0662626da8b35

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post171-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.2 CPython/2.7.18

File hashes

Hashes for pythondata_cpu_mor1kx-5.0.post171-py2-none-any.whl
Algorithm Hash digest
SHA256 34d6a42cbf4a5d759a05efee37e8138fab1d373492e2166c8a7ba4d25c299648
MD5 5c8f57fbb8edfc8a429c4c5a0429e815
BLAKE2b-256 7aeea0a843d622c16a0759ff10ae720d4a5d5f6d1eb2c9fcb58df6ad5074ecfd

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