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

Uploaded Source

Built Distributions

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

File details

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

File metadata

  • Download URL: pythondata-cpu-mor1kx-5.0.post169.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.post169.tar.gz
Algorithm Hash digest
SHA256 319df9318812f59d9643837644372cfc2b0fc75a9ed1d50f868ad4d408277c92
MD5 d681cf9884fda6d1cd2369d746bf7f59
BLAKE2b-256 4391344ac19e474186b62665c0569dca4a6866e8805227ebe4a27456d262e7f2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post169-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.post169-py3.9.egg
Algorithm Hash digest
SHA256 76475c0b3edece5037fd9147af4e49f571631b2b0bcb7acc0dfc84854c70208d
MD5 dcc30e1ea9da7df591de6b3bc11e79d9
BLAKE2b-256 25e6bb32fa407e79c944bff48adcb2d969bb5f6563a9ae0c89eb2bd2276268ea

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post169-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.post169-py3.8.egg
Algorithm Hash digest
SHA256 dbf1e583c7e8ecbd90c2ba67b14737d3e570fe57a5fa1b7b5a0e785f973294e0
MD5 38e2fbfe491f86638477ce7a0c716d9c
BLAKE2b-256 74b5a5c7bd5d43919daf09f9df63f43b7c4b703d38761213ee4884df8310afdb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post169-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.post169-py3.7.egg
Algorithm Hash digest
SHA256 98c3795c52fe574759ed138b7c5b9c5fae5993fdb19c4624dcf93caa57ac031c
MD5 57601e5a92bba5b75875ab60ec2ed256
BLAKE2b-256 ce047f098b3daf21329414fb664198d64cb37d766bedcc4a17b828e241007fdb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post169-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.post169-py3.6.egg
Algorithm Hash digest
SHA256 cdfd7ecd8d7b35fcb835b5a74157dcbe47751f6221447f9702b4483533263486
MD5 d535b4332edf32ba3ef4fd6d8f7950a4
BLAKE2b-256 def917b9d48cb665f5db7ffb5c38b181d5ed461b1f674c1ec189f36585450dfc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post169-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.9.1

File hashes

Hashes for pythondata_cpu_mor1kx-5.0.post169-py3-none-any.whl
Algorithm Hash digest
SHA256 68733bea84e32482af42a21f5e806d47677111a372a699181e3ad3e2c84a44bc
MD5 a8ca314e9834971bfd7db8e087e722a6
BLAKE2b-256 b7723b2b72680726ebe33328e1307926016055cc71a1c0061cdab2d3f84c1377

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post169-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.post169-py2.7.egg
Algorithm Hash digest
SHA256 3cf615db39836e8b4466e9207c1ddd939353c0c0aca59ad94a8462633c8ec898
MD5 a03a6a1bee98060ef56f53d55113e672
BLAKE2b-256 1ad0d9595662f448657cb641fd69a78b994c2ae5d4cc559b7cd582aeddaa35bc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post169-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.post169-py2-none-any.whl
Algorithm Hash digest
SHA256 d816166981c93e90c51e4ada8f18d7a5bd2010f8dbf63be8f49a7367ef4ac54f
MD5 cdd78d2a142c70376455ef4e61cc89a0
BLAKE2b-256 d0de4539c11b74e383a63a6e7ee234b85a2b34e0b1b0eb146fd159dcec2fb9cf

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