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

Uploaded Source

Built Distributions

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Python 3

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

Uploaded Source

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

Uploaded Python 2

File details

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

File metadata

  • Download URL: pythondata-cpu-lm32-0.0.post149.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/54.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.8

File hashes

Hashes for pythondata-cpu-lm32-0.0.post149.tar.gz
Algorithm Hash digest
SHA256 0727698a3a1045493244c3007962e98dd158f76090ed3e138d5dbbece90f6184
MD5 37b2b10ff8416bb98f5c129d317da0c4
BLAKE2b-256 c1922afdd90e3af783562fcc3ac916286a378cbcef5e80577574b821080240ad

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_lm32-0.0.post149-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/54.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2

File hashes

Hashes for pythondata_cpu_lm32-0.0.post149-py3.9.egg
Algorithm Hash digest
SHA256 67957506993df45a3a6168d69711ae7cf9c174814649b8518c65fa2f8c76377f
MD5 f4927a69f65e2fc53c187c6fb60e37e5
BLAKE2b-256 92fcf6582245f98c425d5a7e47802cfd126e0af6d37fa6eeec0245f7db0a5dcd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_lm32-0.0.post149-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/54.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.8

File hashes

Hashes for pythondata_cpu_lm32-0.0.post149-py3.8.egg
Algorithm Hash digest
SHA256 e5f3e1d94ad9f00546807e03deb8cd7bac8234ab04d9178e7010f9fda312bad7
MD5 a3beb92955a4f1545f53d8b484d57a5b
BLAKE2b-256 9e7243c74f9f0da70a57883aca5390607512ab3233b8b10a6eb76b51523a6fdd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_lm32-0.0.post149-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/54.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.7.10

File hashes

Hashes for pythondata_cpu_lm32-0.0.post149-py3.7.egg
Algorithm Hash digest
SHA256 238c4fa695b6b2dc8cf72b5877b87700ac2ecf964d06f90743bcc888c124d9da
MD5 836827801c55ac4d614360a4d5377a23
BLAKE2b-256 59364ea917345c264440c4386690d66ca037e91cfee3c7481ccce61e1e6e18f2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_lm32-0.0.post149-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/54.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.6.13

File hashes

Hashes for pythondata_cpu_lm32-0.0.post149-py3.6.egg
Algorithm Hash digest
SHA256 84f0c76f77fa1d222d99cc8dd7149973f83b9f50406fa5a6dcd67702282ab99a
MD5 ee72b1bfb99a2b3d552c79db37aa2dea
BLAKE2b-256 635fffbf65fd456be4eace13af53afd706c352c29158c41356c16f1b4545b24a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_lm32-0.0.post149-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/54.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.6.13

File hashes

Hashes for pythondata_cpu_lm32-0.0.post149-py3-none-any.whl
Algorithm Hash digest
SHA256 f0d815e7dc3f035e19bc4c126ef1ce9e92f181434959dc203b4caa8d28c6e217
MD5 c6162877ca521de001c8ddbfb676906c
BLAKE2b-256 e071856d3ea619c820a64ac7c2e415f10600cbd3217ba2ef509e95b8c9d6b9a1

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pythondata_cpu_lm32-0.0.post149-py2.7.egg
Algorithm Hash digest
SHA256 c9d9e7fc869e57aaefafdc67dbe92f4d8ea107cb1c8eee788287697c7f01bbbd
MD5 6962762a77fb503ce3d2201e185c65ad
BLAKE2b-256 076f242ca0aa56f54dd77b8aa724b6133f328c58119d6b15d9ac8e07d23b933b

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pythondata_cpu_lm32-0.0.post149-py2-none-any.whl
Algorithm Hash digest
SHA256 612b4851563f49c887ed2cde32b2e212f766503ae03dc37530dcfef821f2d17d
MD5 ee4d6286f6144a5583e93e158444b80f
BLAKE2b-256 8d5e08b4b57f114a77555bde78ae977970eb4e86b708ea98bf366bb379e5a389

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