Skip to main content

Python module containing verilog files for LatticeMico32 cpu.

Project description

pythondata-cpu-lm32

Non-Python files needed for the cpu lm32 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_lm32. The pythondata_cpu_lm32.data_location value can be used to find the files on the file system.

Example of getting the data file directly;

import pythondata_cpu_lm32

my_data_file = "abc.txt"

with open(os.path.join(pythondata_cpu_lm32.data_location, my_data_file)) as f:
    print(f.read())

Example of getting the data file using litex.data.find API;

from pythondata_cpu_lm32 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/m-labs/lm32.git and are imported using git subtrees to the directory pythondata_cpu_lm32/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-lm32.git
cd pythondata-cpu-lm32
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-lm32.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-lm32.git

You can install a specific revision of the repository using;

pip install --user git+https://github.com/litex-hub/pythondata-cpu-lm32.git@<tag>
pip install --user git+https://github.com/litex-hub/pythondata-cpu-lm32.git@<branch>
pip install --user git+https://github.com/litex-hub/pythondata-cpu-lm32.git@<hash>

With requirements.txt file

Add to your Python requirements.txt file using;

-e git+https://github.com/litex-hub/pythondata-cpu-lm32.git

To use a specific revision of the repository, use the following;

-e https://github.com/litex-hub/pythondata-cpu-lm32.git@<hash>

Installing from PyPi

Using pip

pip install --user pythondata-cpu-lm32

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-lm32-0.0.post148.tar.gz (95.5 kB view details)

Uploaded Source

Built Distributions

pythondata_cpu_lm32-0.0.post148-py3.9.egg (136.4 kB view details)

Uploaded Source

pythondata_cpu_lm32-0.0.post148-py3.8.egg (136.4 kB view details)

Uploaded Source

pythondata_cpu_lm32-0.0.post148-py3.7.egg (136.4 kB view details)

Uploaded Source

pythondata_cpu_lm32-0.0.post148-py3.6.egg (136.4 kB view details)

Uploaded Source

pythondata_cpu_lm32-0.0.post148-py3-none-any.whl (144.0 kB view details)

Uploaded Python 3

pythondata_cpu_lm32-0.0.post148-py2.7.egg (136.4 kB view details)

Uploaded Source

pythondata_cpu_lm32-0.0.post148-py2-none-any.whl (144.0 kB view details)

Uploaded Python 2

File details

Details for the file pythondata-cpu-lm32-0.0.post148.tar.gz.

File metadata

  • Download URL: pythondata-cpu-lm32-0.0.post148.tar.gz
  • Upload date:
  • Size: 95.5 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.2 CPython/3.7.9

File hashes

Hashes for pythondata-cpu-lm32-0.0.post148.tar.gz
Algorithm Hash digest
SHA256 2e35a866493e9aa9a057214423b97670dbf8cd2c16d5e528723635d90697148c
MD5 580bccb4911e8cedd5997fa649271629
BLAKE2b-256 468934ea4a58e19f4f16f8d6c26826c35e48d65cafbd95f37b5a642ac207c7b3

See more details on using hashes here.

File details

Details for the file pythondata_cpu_lm32-0.0.post148-py3.9.egg.

File metadata

  • Download URL: pythondata_cpu_lm32-0.0.post148-py3.9.egg
  • Upload date:
  • Size: 136.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.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1

File hashes

Hashes for pythondata_cpu_lm32-0.0.post148-py3.9.egg
Algorithm Hash digest
SHA256 f1541c8af074fbed6e0d30eb3a464ab58772104b5d4be4a7a819b3adb9a3f124
MD5 ef93f271e594442b4a4f77fb0784ba90
BLAKE2b-256 9d62921feed15077ed12939ce043646362c7a04a5d40508f1e5c686b8507ee58

See more details on using hashes here.

File details

Details for the file pythondata_cpu_lm32-0.0.post148-py3.8.egg.

File metadata

  • Download URL: pythondata_cpu_lm32-0.0.post148-py3.8.egg
  • Upload date:
  • Size: 136.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.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.8.7

File hashes

Hashes for pythondata_cpu_lm32-0.0.post148-py3.8.egg
Algorithm Hash digest
SHA256 2b2771c8420f774d3c40f60e200a51b4779fb1fb06e460d0ebc71493117a21cc
MD5 5ebf4b71218ebed933a9272cf1eba5ea
BLAKE2b-256 e3df48693e61570d4df7f0246123cfaa6bb508094807640c49e59ef568575b5d

See more details on using hashes here.

File details

Details for the file pythondata_cpu_lm32-0.0.post148-py3.7.egg.

File metadata

  • Download URL: pythondata_cpu_lm32-0.0.post148-py3.7.egg
  • Upload date:
  • Size: 136.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.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.7.9

File hashes

Hashes for pythondata_cpu_lm32-0.0.post148-py3.7.egg
Algorithm Hash digest
SHA256 db6e1ac61c8ed55522c21b97b7c1f6bb7002ed3846710dd9c23c2409955d392a
MD5 8b20443cd6da9f36b3882af237ef26c2
BLAKE2b-256 be91f3645257ba5d88f2c3b672592f0091d2b1c28934c7bb6e521b53ba9167af

See more details on using hashes here.

File details

Details for the file pythondata_cpu_lm32-0.0.post148-py3.6.egg.

File metadata

  • Download URL: pythondata_cpu_lm32-0.0.post148-py3.6.egg
  • Upload date:
  • Size: 136.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.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.6.12

File hashes

Hashes for pythondata_cpu_lm32-0.0.post148-py3.6.egg
Algorithm Hash digest
SHA256 c34a6acad8da8dc5ffff3051560fa44c8f7346dcc221f96eeb55440cd2e34ff3
MD5 4f86288fc8813fb652570f259bb863f8
BLAKE2b-256 5ee9ec3c4e46a0c1b08cb21555c7a8b169ca23003d06948469c3d79a60ca3df0

See more details on using hashes here.

File details

Details for the file pythondata_cpu_lm32-0.0.post148-py3-none-any.whl.

File metadata

  • Download URL: pythondata_cpu_lm32-0.0.post148-py3-none-any.whl
  • Upload date:
  • Size: 144.0 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.2 CPython/3.8.7

File hashes

Hashes for pythondata_cpu_lm32-0.0.post148-py3-none-any.whl
Algorithm Hash digest
SHA256 5a1f5d1a0cc37da427f34f0a3b7b50b0781fe54a8da76ea42665af45526c7d85
MD5 f809b1cefd58ae786b240930bbc0448e
BLAKE2b-256 0c848acd6de5300ac114f5ca7eca26fa4b86e6c62127b94678f881605c98e9b1

See more details on using hashes here.

File details

Details for the file pythondata_cpu_lm32-0.0.post148-py2.7.egg.

File metadata

  • Download URL: pythondata_cpu_lm32-0.0.post148-py2.7.egg
  • Upload date:
  • Size: 136.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.56.2 CPython/2.7.18

File hashes

Hashes for pythondata_cpu_lm32-0.0.post148-py2.7.egg
Algorithm Hash digest
SHA256 0cceed5a1b2b5997c2027ee92de363ecac7a17e7ee124e50fe0152ad70ce9a63
MD5 164438d34c862df82f34f08e3b4a2190
BLAKE2b-256 b72e0a9480764f83632d802cade9b1671eaaa145b20364bb6f3ff2773409f2d5

See more details on using hashes here.

File details

Details for the file pythondata_cpu_lm32-0.0.post148-py2-none-any.whl.

File metadata

  • Download URL: pythondata_cpu_lm32-0.0.post148-py2-none-any.whl
  • Upload date:
  • Size: 144.0 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.2 CPython/2.7.18

File hashes

Hashes for pythondata_cpu_lm32-0.0.post148-py2-none-any.whl
Algorithm Hash digest
SHA256 7d4218f1d74cbbd638d8fda381cd9b6f0d4720a6593c274a9db5d1f3b818e872
MD5 6f6bc714b3c9570edded9b2746b9ecc2
BLAKE2b-256 0db701f866d3fbe7959019fa7575da327e8ab4fc537cfd6432d9e256a1ba1078

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