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

Uploaded Source

Built Distributions

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Python 3

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

Uploaded Source

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

Uploaded Python 2

File details

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

File metadata

  • Download URL: pythondata-cpu-mor1kx-5.0.post170.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.2 CPython/3.8.7

File hashes

Hashes for pythondata-cpu-mor1kx-5.0.post170.tar.gz
Algorithm Hash digest
SHA256 eae34b46d51a20eb432adf656728b778ffeec240d8e0e90ee910fa5896283958
MD5 309c392ff087a8a07086492316d5e101
BLAKE2b-256 f91a2a8051f2769b5086c40ec87661a8b1869d004d041d3d0b90284a4936b4c8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post170-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.post170-py3.9.egg
Algorithm Hash digest
SHA256 dbf06d97c5477e7d17f6ad2a85649ff9fd4520122e2a056c4ebd6ce202e42635
MD5 2473348f85c5fde0bd83b68015f99ee3
BLAKE2b-256 ec1b9c959101fb4b8c698199cf0ae07733eb283cd65e3d9bcedfb1fedf2337a0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post170-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.post170-py3.8.egg
Algorithm Hash digest
SHA256 fa8a8846f186c37467d6ba97ea703d8bb5af95f19065bfa47d4d6a5ccea2cdb3
MD5 c02125da4b6db5c9a7b201c2ff7fb4ef
BLAKE2b-256 20343652ac7f73391e3cb37f984b1113580a79f882d41f6fcc6417a064b9f5f8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post170-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.post170-py3.7.egg
Algorithm Hash digest
SHA256 e89062efff4dc38029f3176f32395a74db1c84403fc6fa71028063ce8d903a41
MD5 4060538556fb310b12f1afda48e6cba5
BLAKE2b-256 e514dcf37e200c2f570f48d5ac7653689c46109142a15301363e3ea81c1d530f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post170-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.post170-py3.6.egg
Algorithm Hash digest
SHA256 bec02719482bedf1893065db7ce644cfd119175dd129bcd5a164e2f331dce899
MD5 d8e7bf90b8cf4c34bcef845a178682b2
BLAKE2b-256 aad02fa1e8ab6a2ab5232f5e19500678d238f254f8aa4dc60b52d48e57118b57

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pythondata_cpu_mor1kx-5.0.post170-py3-none-any.whl
Algorithm Hash digest
SHA256 b84ca25c7aef464a0e95e2f8579bb6799af2541da5f8a323d791fc8c4d93809a
MD5 8d55c965329d2c0a545c4a1081ff367e
BLAKE2b-256 98ac036b91f15102434ded364965d4b628a12a613c7a975f86364a55ea492429

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post170-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.post170-py2.7.egg
Algorithm Hash digest
SHA256 e1cb09a392f1254cdf459da0a241b7c61491084d00d4f04c7efc79b27be20f00
MD5 0aa9049c5a134b9e8620bef97cb61d81
BLAKE2b-256 2b3662415659e3267c9ad3e35457a2d9b555f4c56a538db8b4c823a77404e0e4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post170-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.post170-py2-none-any.whl
Algorithm Hash digest
SHA256 2ffd19d162f710ff1288631ebe47c983c218ba93b8fb5c39c72a59a32eeaf37c
MD5 19f4f9b315f761d95e8e1763d1cd0ceb
BLAKE2b-256 3fac71d73011d46cf80f099a05eef06a724cf838f12bcd13a707f0a252fcde3b

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