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

Uploaded Source

Built Distributions

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

pythondata_cpu_lm32-0.0.post115-py3.5.egg (136.5 kB view details)

Uploaded Source

pythondata_cpu_lm32-0.0.post115-py3-none-any.whl (139.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pythondata-cpu-lm32-0.0.post115.tar.gz
  • Upload date:
  • Size: 95.5 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-lm32-0.0.post115.tar.gz
Algorithm Hash digest
SHA256 14bb84c87c3a50b527c2a59787e9ee58db70f8ef7ebf414f6c01575b8c58b5a9
MD5 9e4f68ebd0d83a2a5ab6adfc003303a9
BLAKE2b-256 0cc926dd23540d00747e6b22e708c76bc3df038327b67dc1936fca81f87b4188

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_lm32-0.0.post115-py3.8.egg
  • Upload date:
  • Size: 136.4 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_lm32-0.0.post115-py3.8.egg
Algorithm Hash digest
SHA256 f4c7d60035ab266a79412947b32776ab73fc872c3c770fdb7c704e72fea4d27c
MD5 39baa39c68ad7532bad280a95a06740d
BLAKE2b-256 5ad9195adab6848a360c418ff86031fdafbda6f721eebf3f3f3bedb1aac3398f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_lm32-0.0.post115-py3.7.egg
  • Upload date:
  • Size: 136.4 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_lm32-0.0.post115-py3.7.egg
Algorithm Hash digest
SHA256 a3aec141b62cb2567bad8ce5efcfa8f922b904c887047a498fb17756a3b9e9bc
MD5 b7263439118809290a0a9352e552609b
BLAKE2b-256 73309fd4a3d3c725648f305c3be6d43665110d8561aca2329d9326b3fd1b24ff

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_lm32-0.0.post115-py3.6.egg
  • Upload date:
  • Size: 136.4 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_lm32-0.0.post115-py3.6.egg
Algorithm Hash digest
SHA256 6a74401d7193875c88656a63e81b1905a48ded05afc942f130cf5ac501f83fb6
MD5 aa87d3fd129d25abf87a9b5979cea0d4
BLAKE2b-256 c4c83ab3d1a75fd15cbe3841988f999846574b5d565ce3dac52a2d60048fb0af

See more details on using hashes here.

File details

Details for the file pythondata_cpu_lm32-0.0.post115-py3.5.egg.

File metadata

  • Download URL: pythondata_cpu_lm32-0.0.post115-py3.5.egg
  • Upload date:
  • Size: 136.5 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_lm32-0.0.post115-py3.5.egg
Algorithm Hash digest
SHA256 0fde842ea76539ec4c321a311dde6de50cdd738a4420122efc05a54021f0d76c
MD5 a0996e123b4c773ad84ea97d3f0d6b46
BLAKE2b-256 c5a4640229d0836c2c0e92d4f2367da001ae7d2a96e15e6c1894ff76ba72a996

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_lm32-0.0.post115-py3-none-any.whl
  • Upload date:
  • Size: 139.6 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.7.1

File hashes

Hashes for pythondata_cpu_lm32-0.0.post115-py3-none-any.whl
Algorithm Hash digest
SHA256 827f99aae3ca11d9ef265a17090e7128023d823b3ee10e2ff016acc3175ccabf
MD5 78a270a29c0a1bf82f7d9099254c576b
BLAKE2b-256 932361df5ef2bb7c51cdd7b314a7ec997c17499f7c00db1f66bf22c2496110eb

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