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

Uploaded Source

Built Distributions

pythondata_cpu_mor1kx-5.0.post152-py3.10.egg (214.8 kB view details)

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

File details

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

File metadata

  • Download URL: pythondata-cpu-mor1kx-5.0.post152.tar.gz
  • Upload date:
  • Size: 176.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.7

File hashes

Hashes for pythondata-cpu-mor1kx-5.0.post152.tar.gz
Algorithm Hash digest
SHA256 7bb19f7275d7a9fe61e577db7f6b4e113fd412766aad8fa003f3a4a9bc14d3fc
MD5 22fa93a187168e1b26d736ae4a2fe5d6
BLAKE2b-256 a8ea0c1ef7adb89af53403cc32c676ebbb63bbc1a00bb29b3046a2e1256e1a0d

See more details on using hashes here.

File details

Details for the file pythondata_cpu_mor1kx-5.0.post152-py3.10.egg.

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post152-py3.10.egg
  • Upload date:
  • Size: 214.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.10.0a5+

File hashes

Hashes for pythondata_cpu_mor1kx-5.0.post152-py3.10.egg
Algorithm Hash digest
SHA256 3920e08228a8b418f907be97f65f7e2a53a737f2fc0d4cba39eb50a499b7475c
MD5 ee5020183e1a8705de6cbb028c10c070
BLAKE2b-256 53769544751909967e571c43a4f8d9da8a640d672ad67b4eafc3162046ce2024

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post152-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.post152-py3.8.egg
Algorithm Hash digest
SHA256 3ccea538784c28eacbf68ef44682cbfdfbe36168f3a2d56f649ff1020e1ca248
MD5 c8f19616478ea8c04dd01f8c074d617e
BLAKE2b-256 9548fc54a1e312e2096aab381f7e2da85a2463b20d111aaf826941235cfc60c2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post152-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.1

File hashes

Hashes for pythondata_cpu_mor1kx-5.0.post152-py3.7.egg
Algorithm Hash digest
SHA256 32bbfd9515d9b75e5115badd04cd8a67c679f484c3118e577e02f72585b4c2dd
MD5 acc416193af7ab1de09d8070e6760436
BLAKE2b-256 3a0579d4bdee5350a43c212fbecd501fbbce784d5370fca87d8732af22929107

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pythondata_cpu_mor1kx-5.0.post152-py3.6.egg
Algorithm Hash digest
SHA256 2dafa9024ceaca1873f0ffa748bff684a110f40c5d7b5dc33a47d7a5579991b3
MD5 baf61e459797e23b64bf2f18f10d2b8d
BLAKE2b-256 76e0d9d3bfff4a5fa17935148f5201299e3d890a4dc539fd7525682d50708edd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post152-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.6.7

File hashes

Hashes for pythondata_cpu_mor1kx-5.0.post152-py3-none-any.whl
Algorithm Hash digest
SHA256 37677fb45f161c821ff067442f8059a19a8a263fc8eea6407ac8e012f6e856a5
MD5 9d76381d278972ad738afe98c3e08031
BLAKE2b-256 e880c61f106b37c27672f170fb87aa85e9584402169d20aa8e3a761c0175edd2

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