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

Uploaded Source

Built Distributions

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

File details

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

File metadata

  • Download URL: pythondata-cpu-mor1kx-5.0.post166.tar.gz
  • Upload date:
  • Size: 177.0 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.post166.tar.gz
Algorithm Hash digest
SHA256 b68069d2865d62c3497fe888a779aa3b14bacca1c7f6e99b565d8d91ac283ea7
MD5 a59377a2a4a1797a8572360d9e8e5b63
BLAKE2b-256 d71393a4c485cb0c717df5d44f3b85bb39dfa128e766cc291ce905916125d85c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post166-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.post166-py3.9.egg
Algorithm Hash digest
SHA256 3cb910031247aa41a0f66852fea26a5e39a761827a4fd5dda245d96f75b2e5b9
MD5 37b700249909c71f263b78366a7ad394
BLAKE2b-256 fedd6872e991379492a4fda66e61bce124e559f690b1b05b89a1e73574be9f21

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post166-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.post166-py3.8.egg
Algorithm Hash digest
SHA256 1c6c7b8edee68598c260e960b13e91b4d954aba0da54f7ede4083de9b96917f6
MD5 9109a60cfd83f993c2eb86960c2df5b5
BLAKE2b-256 27bba00cd306c55332a0c7703f2464ba8b479c7562c700941265c2a9a89ef451

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post166-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.post166-py3.7.egg
Algorithm Hash digest
SHA256 5ae47cbe970b4431a99153ad20486d8c88e52b094a24d462cd66d50347d67d73
MD5 d155313f5dee9bcd35b60aa770f53777
BLAKE2b-256 0e0b9556d401b6c23e3c11dd5e15a6a9e704654b85a70606daf1c59e00f16f36

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post166-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.post166-py3.6.egg
Algorithm Hash digest
SHA256 ea3d6f634e8caa7f0c7a3c3d657c277977c3eb3c2d6d0943026d93ef2a1f4ab3
MD5 bf175da00a55bf1d4ef9ce5459916363
BLAKE2b-256 212eb7deebd2e293b7072814ac78fee7f6f2e0dfe877a1e3d02b4d11e07033b8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post166-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.8.7

File hashes

Hashes for pythondata_cpu_mor1kx-5.0.post166-py3-none-any.whl
Algorithm Hash digest
SHA256 33f9fcaf566be6e38da07a6545f14a9f9a9cb9a0dfb14aa73901bcb756a01091
MD5 588dde83d6c8ddd2acd95a2161e5b752
BLAKE2b-256 ca6122ba8f7a1065bdb4639cd4333c6723bc9788576200fd1ee7bcd3dfe1cb78

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post166-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.post166-py2.7.egg
Algorithm Hash digest
SHA256 cba0c7ddbbaf7ac27c92746f2b1bc7bf85be3175094748538652be08aa9adb18
MD5 d6f5cd7e433d99fc4ec5dc4a2d4bc98f
BLAKE2b-256 f3982e061c8f0f8feaa9748f6cc22e5dd64a36872d2f8428de8881166e0acba1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post166-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.post166-py2-none-any.whl
Algorithm Hash digest
SHA256 017538cb3f13a9292494a5a856f2b873a544c5d77fa549d403ebd84e15e22546
MD5 6d527e46b8cb50dead9a49aca9049528
BLAKE2b-256 ad0a090a122a1a53f7f0fd76616d3dc856ce9a73e67a3f80a0af21c7f64362d2

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