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

Uploaded Source

Built Distributions

pythondata_cpu_mor1kx-5.0.post136-py3.8.egg (215.1 kB view details)

Uploaded Source

pythondata_cpu_mor1kx-5.0.post136-py3.7.egg (215.1 kB view details)

Uploaded Source

pythondata_cpu_mor1kx-5.0.post136-py3.6.egg (215.1 kB view details)

Uploaded Source

pythondata_cpu_mor1kx-5.0.post136-py3.5.egg (215.1 kB view details)

Uploaded Source

pythondata_cpu_mor1kx-5.0.post136-py3-none-any.whl (216.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pythondata-cpu-mor1kx-5.0.post136.tar.gz
  • Upload date:
  • Size: 177.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.7

File hashes

Hashes for pythondata-cpu-mor1kx-5.0.post136.tar.gz
Algorithm Hash digest
SHA256 401442edcc9b9b9ec6eb3ec19d0f091e21e59fde29158a3eea6eaa68a9c8fece
MD5 f2c4879b416bc84ca5bfd59990ac82ca
BLAKE2b-256 eb31b493099588aebc0806eee43408ec414a55fa413a1e5c775e6f38adf6ea7f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post136-py3.8.egg
  • Upload date:
  • Size: 215.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.0

File hashes

Hashes for pythondata_cpu_mor1kx-5.0.post136-py3.8.egg
Algorithm Hash digest
SHA256 47a3e5d62ac137675d39efb2feea121d20edbe4f6baea42aed8d95471ab2346e
MD5 8a6ad088771216ca261466dfc1ec8eb4
BLAKE2b-256 0c150afce128893b77237f78735ba3b7514870ee5942effbc682e360390c7b6b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post136-py3.7.egg
  • Upload date:
  • Size: 215.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.1

File hashes

Hashes for pythondata_cpu_mor1kx-5.0.post136-py3.7.egg
Algorithm Hash digest
SHA256 a4d5179b7d95e3c637b0fd23e4204d06226e0ad98ed4a64728184e1d25c7b652
MD5 be3c4246099275df02a0a7aafb5a4326
BLAKE2b-256 c9543a1d50c0212ac6ec9bff92520feae2f3c134c6b34b2c6a43e866f6593325

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post136-py3.6.egg
  • Upload date:
  • Size: 215.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.7

File hashes

Hashes for pythondata_cpu_mor1kx-5.0.post136-py3.6.egg
Algorithm Hash digest
SHA256 9c1e8b27c3c679449de39fc948f27344c2a23ed57e4a2b39da10914cfb037246
MD5 6217afc7e6f29318f59e00cd0764814a
BLAKE2b-256 9205a31a1b15c059059ea9a0539fbcaaefc13ed6228e9529b325ffb40fcdfab1

See more details on using hashes here.

File details

Details for the file pythondata_cpu_mor1kx-5.0.post136-py3.5.egg.

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post136-py3.5.egg
  • Upload date:
  • Size: 215.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.5.6

File hashes

Hashes for pythondata_cpu_mor1kx-5.0.post136-py3.5.egg
Algorithm Hash digest
SHA256 471cca93b53c765bd6178d114551ff69b40f59fccb582a0371201c3c590c2d3d
MD5 2e303dec1604294e6868e52d1f8fe5c6
BLAKE2b-256 d6b882c34ac211f0a33a8d5107042da67e06adaf092a597b50b64c97685b1868

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post136-py3-none-any.whl
  • Upload date:
  • Size: 216.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.7

File hashes

Hashes for pythondata_cpu_mor1kx-5.0.post136-py3-none-any.whl
Algorithm Hash digest
SHA256 23fbc59734897a5cad1403a77fba8fc5097cfa26079a24afd4295aa7c57b65ce
MD5 1cf8b78b8c7cf709546c278b4b54d746
BLAKE2b-256 0c6818728568c968a4d626274575996b373412c708b34f078fab3ab7d75c3d84

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