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

Uploaded Source

Built Distributions

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Python 3

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

Uploaded Source

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

Uploaded Python 2

File details

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

File metadata

  • Download URL: pythondata-cpu-lm32-0.0.post147.tar.gz
  • Upload date:
  • Size: 94.3 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.post147.tar.gz
Algorithm Hash digest
SHA256 c99a575bc082630dc2b2a4ca734d6d270a090d08d03e86c485919d79b3328511
MD5 9cc9f0d02ad34d9c18eb0fe85027d648
BLAKE2b-256 6af0fc145d4407958281a881aaae40dbb52657ff3383f5fed405c8ca6ad82594

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_lm32-0.0.post147-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.post147-py3.9.egg
Algorithm Hash digest
SHA256 dda4aba05603a4d7f6947f1e8ddbee545aa55d1660364cb31dd7bd8cd2767e20
MD5 4b49cac8567092c0fed67148faa34cab
BLAKE2b-256 f0bc12a87caaeb739d9e4bcd08ea58d07c36c7f86359df0a398ba8cbc7627c6d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_lm32-0.0.post147-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.post147-py3.8.egg
Algorithm Hash digest
SHA256 9226ea35bb56f5e7d3d91f370d373ec98d9bcdd2f122b4dc96aea25928d205e8
MD5 06f441b144808d404a82b7f7f719d8d7
BLAKE2b-256 8ea0a24d47ddd853d25bdfdf7efc17c25001b49d0ec48058409a0148b414cd45

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_lm32-0.0.post147-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.post147-py3.7.egg
Algorithm Hash digest
SHA256 dc90a53374e7071995e9b04046030cc0e14d8424125f0fe3634f967fb77e5a2c
MD5 d00ee02a35f92cab3a881c1022e0cbf8
BLAKE2b-256 686ffe35a23cc8437fb46fd2cea013d430769ad3ff5ab0f51c15d44f85e97a3e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_lm32-0.0.post147-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.post147-py3.6.egg
Algorithm Hash digest
SHA256 ee52e011d85310989bb48632c9de513d897da1c747711abbd806a8413913a558
MD5 71b6c010abac9a6f61a5c146c19b3879
BLAKE2b-256 6a171317b7f861da8bbb47812abd5de2fa50e01f2e4709ebdefa83bc3ded9cce

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_lm32-0.0.post147-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.9.1

File hashes

Hashes for pythondata_cpu_lm32-0.0.post147-py3-none-any.whl
Algorithm Hash digest
SHA256 87db231a29b291b76639f865cdd6ec80da803886126df7f4c691e07603a9bb77
MD5 ae5472d19393b793e1a28b95247eb699
BLAKE2b-256 21ae83d7573bd088fee194868626cd729e97b7422c90d0fe4343c6635746a14b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_lm32-0.0.post147-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 PyPy/7.3.3

File hashes

Hashes for pythondata_cpu_lm32-0.0.post147-py2.7.egg
Algorithm Hash digest
SHA256 d008f26cbea35e09d5e64e38df852d3a86dd2424616792f2f551e27c44686c65
MD5 5aa49dc52ff875574fa41218663c2ac1
BLAKE2b-256 7b079579195a1f68c4a1252cc0a28a3a7904295e291ed9407279d17a3026134b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_lm32-0.0.post147-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 PyPy/7.3.3

File hashes

Hashes for pythondata_cpu_lm32-0.0.post147-py2-none-any.whl
Algorithm Hash digest
SHA256 378094b4721399012e8ab41b51dce8949fee276efbc843b73a3db351afeb448a
MD5 f60ff2249ab7eaa50b9bc1e8bf417e12
BLAKE2b-256 28813200ebb54f2c377a9ef40f9488fa51333087e15f43641d8216ed87884e25

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