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

Uploaded Source

Built Distributions

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

File details

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

File metadata

  • Download URL: pythondata-cpu-mor1kx-5.0.post168.tar.gz
  • Upload date:
  • Size: 172.8 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.post168.tar.gz
Algorithm Hash digest
SHA256 f125f37bb0698e2aafd2bccf1079b34e5da1da06df56b201afc3b57be5faf4d5
MD5 08f41a9f3cd5748e74404820dba0d681
BLAKE2b-256 73ba002b48e13f63e3e4259cfc42f0dcac852e9daec891ba13e64cf12bab3723

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post168-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.post168-py3.9.egg
Algorithm Hash digest
SHA256 6a20bd89da600061a82a96bbb8f105c3fc5714dad24ff11cef9f9d55c25f2485
MD5 44a83fc3605c71ca485767f6ae1cc762
BLAKE2b-256 573f36a61f77e4b9c395183902cf0701c2209b124fef9f532e0d8fe4424c3762

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post168-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.post168-py3.8.egg
Algorithm Hash digest
SHA256 d8ecfd6ea39dabaa99e0c7f7e7917e2fe9a4dc6b9ecb6e88c14d90ff3ab8de9b
MD5 d2461ab41b05b73447de3d6779a030fd
BLAKE2b-256 d9f5825727fb8f11db27bdbbd67cb39e7305ded71d7f996537768d6a7d230594

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post168-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.post168-py3.7.egg
Algorithm Hash digest
SHA256 31ca07a9fb57c86b1f556258f6a5f11863ceae81a9c430fe6b55b369826f2b9c
MD5 1e90454195d922c1e077b6d0c80dc31f
BLAKE2b-256 eb4062d1925b2e1c1e5e8068fbd1a2fa5cc2dff124ae7963c1f167b626d210bf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post168-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.post168-py3.6.egg
Algorithm Hash digest
SHA256 7b60279f75c5f3e33faa41ba84e57494c9e66ed9d2b8e4502166c34cf2bb9f8f
MD5 8b97474b89430de7fd87db18fae6fe69
BLAKE2b-256 c670f1924934b471f16c07c0f6750857443b5d9eccabac42633039ca39b6f2b2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post168-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.post168-py3-none-any.whl
Algorithm Hash digest
SHA256 dad1e00ef15490faa613b670402d6651726ac8b51835829dce39863b43ac5254
MD5 55d8804e286398e83c383bc60c585323
BLAKE2b-256 46e4aaa6028d9e22353c47ef2de2d2e38e55337365c3cede4d28d57082e71842

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post168-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.post168-py2.7.egg
Algorithm Hash digest
SHA256 1a2cfb96f51ae2f18b056f6e3c28e835589c1a70769e14a4022a9f0f5431a675
MD5 ec5c1a3cf638d69c9b6f1c3b8bf87822
BLAKE2b-256 64390b28b6fd83ec153c63982f94e99a79339b52138d317d1f8cd89fe5faa17f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post168-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.post168-py2-none-any.whl
Algorithm Hash digest
SHA256 78edf47c7b086f19430d709c4d9e332b3b930c66582b4e4f5c5300e67a89fe95
MD5 b6bc0639ef4d69165587ebd0bc2f6391
BLAKE2b-256 45f651e63ec957e542a2b7a1e7144ae6f994c194e00866af0db3374eef843c2a

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