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

Uploaded Source

Built Distributions

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

pythondata_cpu_mor1kx-5.0.post178-py3-none-any.whl (221.4 kB view details)

Uploaded Python 3

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

Uploaded Source

pythondata_cpu_mor1kx-5.0.post178-py2-none-any.whl (221.4 kB view details)

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for pythondata-cpu-mor1kx-5.0.post178.tar.gz
Algorithm Hash digest
SHA256 56653bbae586167c4d3469d6d2ac544171b378163e8d26a40d3f4cc598de7b8f
MD5 7a0f257ae6633b1dc8dea83ac50ec50e
BLAKE2b-256 d1030102b60f92b1ce7f4670537802bc4d8c28ec221416e2cc456792cb9f736c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post178-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/53.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.1

File hashes

Hashes for pythondata_cpu_mor1kx-5.0.post178-py3.9.egg
Algorithm Hash digest
SHA256 78cca07ca942bf5eeb3ff7c334d14f61fabcb9557c01d74729e9f4fd314b1df6
MD5 1022a1a871aa683c910db773ed5dd1cb
BLAKE2b-256 b793cb9a35e2f161276e77d30de38334385415ee406f996b7888ad419fe2f1e6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post178-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/53.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.7

File hashes

Hashes for pythondata_cpu_mor1kx-5.0.post178-py3.8.egg
Algorithm Hash digest
SHA256 5a73c36cff451a2683deba44570eaedf743f0a594bb1127a8ab7f95c4328ae82
MD5 2113e3bde83865af7392827c3a715a36
BLAKE2b-256 4b7f3079f0b5f05196cde2da24991836b08312911b74ce0f6849e87c89764a88

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post178-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/53.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.7.10

File hashes

Hashes for pythondata_cpu_mor1kx-5.0.post178-py3.7.egg
Algorithm Hash digest
SHA256 4ced211a3bdab73bb7a79ab64371a93dc66868534f46f7dfa6b8fa49d8ab46a4
MD5 c8fbed0c75e474ff86a95a3a186b2dcd
BLAKE2b-256 b5a522498c20ab4a06d714053da7e635d2246147ae0308b7a340182a41c44d1f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post178-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/53.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 PyPy/7.3.3

File hashes

Hashes for pythondata_cpu_mor1kx-5.0.post178-py3.6.egg
Algorithm Hash digest
SHA256 04eb287e10fa707f02d8140f5fe0dcedf21482fd3fac2dd29e3139eadf34142d
MD5 7b2c28b19750578d86648fa75e0289af
BLAKE2b-256 82865a3dec8c30d92c537f66c03cc432902066d41834e9d3480cde5ba6dc9cbf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post178-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/53.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.7.10

File hashes

Hashes for pythondata_cpu_mor1kx-5.0.post178-py3-none-any.whl
Algorithm Hash digest
SHA256 b5a9f46833edef9b5f1a6cb4ca3896319c4a49b46c8b1d6b8df6f1400511ab1c
MD5 b9209bc224b973077616659d1e52908f
BLAKE2b-256 0d8e992054967a773c2e847a67192099737c810c6b64c4a5ba796d3d741fefbd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post178-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.post178-py2.7.egg
Algorithm Hash digest
SHA256 a2477578ae3978966fecdbc3ba016b51373bf3601b5943155ca365fd5809bce5
MD5 fe7548c7682e820aaf5a0c1f41fcbcc7
BLAKE2b-256 81bec800d4682912bebc558fd14eb42acb3d5406f279d6b54ff650bc686953b0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post178-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.post178-py2-none-any.whl
Algorithm Hash digest
SHA256 46ea7a84bf4428f405671232d38fbba764d0aab219e14eae4f9dbc520dd0033f
MD5 d19d1864582801654b6e105531e20d28
BLAKE2b-256 0400f95ba8c84d813c8a79d92243d9930a145cf16031395c9e36cc9bc3475c52

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