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

Uploaded Source

Built Distributions

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Python 3

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

Uploaded Source

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

Uploaded Python 2

File details

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

File metadata

  • Download URL: pythondata-cpu-lm32-0.0.post146.tar.gz
  • Upload date:
  • Size: 98.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.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7

File hashes

Hashes for pythondata-cpu-lm32-0.0.post146.tar.gz
Algorithm Hash digest
SHA256 ec57af6adb9ff7917ada6d153e3aa208bc972089c53a2eb008ce5352640d047d
MD5 1d7ab6022f72e7ba352a7aabce16aa68
BLAKE2b-256 4f5c015196be7bbe82e5121aaf3e9595e101319d316351993a655cd4797c9a2a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_lm32-0.0.post146-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.0 CPython/3.9.1

File hashes

Hashes for pythondata_cpu_lm32-0.0.post146-py3.9.egg
Algorithm Hash digest
SHA256 26d8f3259d1e929eedc876ff3a38c552ac5429be2b867a67dd3e1a97ba5bdeaf
MD5 deba4fac4dbcee6a55a1bdfe7d46b78f
BLAKE2b-256 a0141eca4bdcc24076592e9b4f53e16997b1ac64a5bd9ef8e352682c0280032d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_lm32-0.0.post146-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.0 CPython/3.8.7

File hashes

Hashes for pythondata_cpu_lm32-0.0.post146-py3.8.egg
Algorithm Hash digest
SHA256 5a9fd30237805ce8575e9b581ee044244fc98bb9c5793a60bcaea584be37d2ce
MD5 75a8dca4df6b2bc8be283849747cf207
BLAKE2b-256 4752c5016f0540b34409b2703c09345850fc58009fa4a2d3b497b4cdeb54d3f6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_lm32-0.0.post146-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.0 CPython/3.7.9

File hashes

Hashes for pythondata_cpu_lm32-0.0.post146-py3.7.egg
Algorithm Hash digest
SHA256 92f954549432215241c3316dfc4f72c86ed0d0309d5337be0c075dd616c209ed
MD5 34034d27c7322e185f5acd234b6a9e64
BLAKE2b-256 90f94dbcc7e696c2dbcdc9f747f4a2fe15bf8354778376c3d098168dbb184604

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_lm32-0.0.post146-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.0 CPython/3.6.12

File hashes

Hashes for pythondata_cpu_lm32-0.0.post146-py3.6.egg
Algorithm Hash digest
SHA256 8beb6f09434d491f8d38fce264e236f67d46a141e91d56284ad64d2667b688a6
MD5 2182c6132d0a04c36bb302dc44a3c485
BLAKE2b-256 187c2ff722a7c29a060e35c78cf6e6977a75b57bba53e7ee7ea064dc22b48eee

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_lm32-0.0.post146-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.0 CPython/3.8.7

File hashes

Hashes for pythondata_cpu_lm32-0.0.post146-py3-none-any.whl
Algorithm Hash digest
SHA256 2f0257005abe50d3a90ad2b638c286e42794c91d66acbf5626fc2243145db12a
MD5 3c216e37176dfc3fb790b272fec50de1
BLAKE2b-256 f67b4f2f16298f851ac529cba20a48d5cce44f0b346fd787e102e462a45dfaa2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_lm32-0.0.post146-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.0 CPython/2.7.18

File hashes

Hashes for pythondata_cpu_lm32-0.0.post146-py2.7.egg
Algorithm Hash digest
SHA256 2a97a42478e727856c2407abab48dcf4e291afcbc4fc3579211e29d072d23ddc
MD5 fbca960fef695d39d446f4cd6c6014c4
BLAKE2b-256 f62632317e343a415829e6b1636aeadbab68bfb7c4bd59f3506d08e5b9f31116

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_lm32-0.0.post146-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.0 CPython/2.7.18

File hashes

Hashes for pythondata_cpu_lm32-0.0.post146-py2-none-any.whl
Algorithm Hash digest
SHA256 92723459a0430c3fdf61b9aa083badad16ab36d599fe057565b8e3c0a42e4851
MD5 aa7bf5f6e534e45f15872f9683754307
BLAKE2b-256 0930a8984c76b8bfdfae216f4701633bf72368beae12db87cbab44129db14c62

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