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

Uploaded Source

Built Distributions

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pythondata-cpu-mor1kx-5.0.post134.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.post134.tar.gz
Algorithm Hash digest
SHA256 26be043546dfadcd6bce943584e81260031babc53f4813c3b7067b0857c47169
MD5 b23274031dacd0d089f335764ba241b8
BLAKE2b-256 646bccddf68ae3dd59c6370962014f52a93386c4b4934b26609db6aa78743960

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post134-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.post134-py3.8.egg
Algorithm Hash digest
SHA256 e906893a0343ce87f9882871f605e62286dc04fc6c2c627b53527f20daeb7ba6
MD5 646dfe49528f46d3165f0ea3d07eb79d
BLAKE2b-256 b8d8852a76e0494e7e01d7bb456f67d915ff957b070cb43b882b0096674cf97f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post134-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.post134-py3.7.egg
Algorithm Hash digest
SHA256 2a2a217c3904c82648ca353d76077b5f39b40c2bf8e660386f1b4bf60ed2638c
MD5 21ef7789de4c2bcdaff8eee567c0b372
BLAKE2b-256 627dc37268e584d30ca9da444bd88b3cadc9e758183ac24602b82717254a3e80

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post134-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.post134-py3.6.egg
Algorithm Hash digest
SHA256 9605cc6d31495f62030b43e086edc1836e693c94e92b6f8b70ff96a4df2f457d
MD5 faa812c1de5d7f273fc411451df7e3a6
BLAKE2b-256 39f7ec6671c703361ad0bd438663aecd1f448ff14f1fddabc17d28f4e32a2dc9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post134-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.post134-py3.5.egg
Algorithm Hash digest
SHA256 f5736a52ed749a406ac5eca87f2552eba20e889d08d88a910d28dd981fd00df6
MD5 e4258664f428c82320bfb9bdea164748
BLAKE2b-256 e13afec10b3b5d03810a40f20babbe458126d2983e8bb13a40fdf00552ee14ba

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_mor1kx-5.0.post134-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.post134-py3-none-any.whl
Algorithm Hash digest
SHA256 a83435f07795c116078aedca75d6dc4993f004aebdcdf456b59cf66d21090049
MD5 0789240c4aabba9ece1148be6907fed2
BLAKE2b-256 6661792a23b18d6934a3040362caa7fa3de3202a1ecdf646dfdd01cf9e1039b3

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