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

Uploaded Source

Built Distributions

pythondata_cpu_mor1kx-5.0.post179-py3.9.egg (214.4 kB view details)

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

pythondata_cpu_mor1kx-5.0.post179-py2.7.egg (214.4 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: pythondata-cpu-mor1kx-5.0.post179.tar.gz
  • Upload date:
  • Size: 174.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2

File hashes

Hashes for pythondata-cpu-mor1kx-5.0.post179.tar.gz
Algorithm Hash digest
SHA256 b1f9a5465c5b054fd002d6502a6a3d3ee7391f0b002c589af4061bedbcaaa983
MD5 0f483d083471a177f9162d87fab8b971
BLAKE2b-256 358355d0c40b8bb76c651564706b84c0a5fb663e27394f84bf43a11a305c6d14

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post179-py3.9.egg
  • Upload date:
  • Size: 214.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2

File hashes

Hashes for pythondata_cpu_mor1kx-5.0.post179-py3.9.egg
Algorithm Hash digest
SHA256 cdaa866e56b60cec8d537fb0b49536624f8254f55f2f86f0b8c831879472afe4
MD5 5d2ffd7ac8a771eb47516fa53a7352d1
BLAKE2b-256 dc05c257316b5b89b867f26abe263c397cd3fb1860da7f656689f9af55b1f543

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post179-py3.8.egg
  • Upload date:
  • Size: 214.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.8

File hashes

Hashes for pythondata_cpu_mor1kx-5.0.post179-py3.8.egg
Algorithm Hash digest
SHA256 4f79b656f0f6b2e720e95fb6f6dfe9b5c0afc9611ae072566bc6dc96ebc85ab7
MD5 4bec6f20159dec4d97982c9222056a86
BLAKE2b-256 b199558e43fa651ab9aa9f47135ed97028bf6b002edd0a2aeaa34ba3406ea488

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post179-py3.7.egg
  • Upload date:
  • Size: 214.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.7.10

File hashes

Hashes for pythondata_cpu_mor1kx-5.0.post179-py3.7.egg
Algorithm Hash digest
SHA256 2cd6f3cbca50b29b66eae39e570f1d7d1a1b59c2dc0c7094fe905bb3451cc1e2
MD5 ff6e21b1bddf18bbde47751e67f253e5
BLAKE2b-256 4c34e5b40f94590e9ed512da95ff84fcb6fb5cac6519a50209771633c5af9f74

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post179-py3.6.egg
  • Upload date:
  • Size: 214.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.6.13

File hashes

Hashes for pythondata_cpu_mor1kx-5.0.post179-py3.6.egg
Algorithm Hash digest
SHA256 4c3c216207daff4add8ddc6b501c5f5dd322578e98f28e00a1014a5cd8cbb4ed
MD5 eb333237c464970e015bd8f6bd7959e6
BLAKE2b-256 7d257c68e33c4df5355b1f2d8e76467c0e6474b573e22fb6f674c37afcccb2b7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post179-py3-none-any.whl
  • Upload date:
  • Size: 221.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2

File hashes

Hashes for pythondata_cpu_mor1kx-5.0.post179-py3-none-any.whl
Algorithm Hash digest
SHA256 f7ebf72f2c036cc655a854645c26ccd63cc12c478866e6ef2aa29ebd32369540
MD5 1c0b66f3ce69284f4a60c67e84d49ad3
BLAKE2b-256 3107ee399c80a78921a66e8b6be4136bda5dbb4697f60cfdc7a1a3b0a114e26b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post179-py2.7.egg
  • Upload date:
  • Size: 214.4 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.58.0 CPython/2.7.18

File hashes

Hashes for pythondata_cpu_mor1kx-5.0.post179-py2.7.egg
Algorithm Hash digest
SHA256 6f948354361826252f08d48e893b36ec58ebbc5dc43fc1367245877810e86862
MD5 6e5b99411fdd7551745230bdc29b97c8
BLAKE2b-256 8f3ec455606ed844a48a105def1bf320bedc39978cb28ddd26d729354f14382d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post179-py2-none-any.whl
  • Upload date:
  • Size: 221.4 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.58.0 CPython/2.7.18

File hashes

Hashes for pythondata_cpu_mor1kx-5.0.post179-py2-none-any.whl
Algorithm Hash digest
SHA256 ebf7426d0f9d2594cfd7489512d15f7889e12a0bff87d0e98ff5ce4a629b4da9
MD5 a3f685144a1acadbabde9edc2bd40895
BLAKE2b-256 988b72f25a06a382db11f01623372dd248239346bb08cc47d96687644246dda0

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