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

Uploaded Source

Built Distributions

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Python 3

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

Uploaded Source

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

Uploaded Python 2

File details

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

File metadata

  • Download URL: pythondata-cpu-lm32-0.0.post143.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.0 CPython/3.7.9

File hashes

Hashes for pythondata-cpu-lm32-0.0.post143.tar.gz
Algorithm Hash digest
SHA256 f2ab82300571eada2c77089ecb19774f5ddbad8f474c772e8eec27fd8bdd1dad
MD5 ffcfc68648263e0fd76d2ccbaef89d0c
BLAKE2b-256 eb5b7c202870446f965dae7fd8e6fc93d85d321b24e2d42790121df26f6f668e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_lm32-0.0.post143-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.post143-py3.9.egg
Algorithm Hash digest
SHA256 c91a1ed47d2d58d1077afb68d5a7388320e0d032e5c967a79ea8853b18da7428
MD5 aca47e89e0ff56c4daeef51016ba238e
BLAKE2b-256 be1468d1b92489854adf6264ab9f66661314786ee942c7530b69f8a415eef3d2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_lm32-0.0.post143-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.post143-py3.8.egg
Algorithm Hash digest
SHA256 aa94e8afe7d18ad0e535e212df62957409c4e1163ec4ad4b41aa31ef6a4ae5a6
MD5 7265a27e060bc6485eac40cf53b78812
BLAKE2b-256 b8ce407b20a2bd388eb1a5cc650c3d4c385c2235842fa669192d4cc8582073a6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_lm32-0.0.post143-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.post143-py3.7.egg
Algorithm Hash digest
SHA256 8417f38f3fe0a83f133eb0f83c22cbc6c8a3c849c85011b576fbed24d34224a2
MD5 07189ad3605409b33b7b212c7036fc7f
BLAKE2b-256 ab3119b6920b506a81e284bf9e8d6862f8b47a5fe536e62569434994ed156456

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_lm32-0.0.post143-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.post143-py3.6.egg
Algorithm Hash digest
SHA256 08a96ba414e73237ba2c502bd7d8ff0ac1b1cfb402eb155104835a06f8bb4a1f
MD5 79f73343af63d0ef85cd8386420723d5
BLAKE2b-256 109deadc944153c5332d30b7d6c322d2c3e89bd97523960e131c8fdc7b8f793f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_lm32-0.0.post143-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.7.9

File hashes

Hashes for pythondata_cpu_lm32-0.0.post143-py3-none-any.whl
Algorithm Hash digest
SHA256 ccdaaf5e0974195468080eba54ada0d7ac77299e98479abe69b0b6c452c11ff3
MD5 3bba50730307fa46c6bbedb9dd3c9de9
BLAKE2b-256 83de9546c2bbb97bb604a78f6499f38000832b98c3f3ff153427ee6575e06c37

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_lm32-0.0.post143-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.post143-py2.7.egg
Algorithm Hash digest
SHA256 0a02749257eabbccb76b5e1599b0b8256f146347f34b639acb924b30a18dc291
MD5 c1243828d2e3370dc95e0f67e5c0cbf2
BLAKE2b-256 c6629465c61cc4d125beda83e6e5684d06cb6ef8ee1c99974bc6b116e46e8505

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_lm32-0.0.post143-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.post143-py2-none-any.whl
Algorithm Hash digest
SHA256 0b9363f0cedebad15d5a953f04def255c78532c38589a984f9a214fb40634a67
MD5 60bfeb37e4828ac77f3ebc9b58147575
BLAKE2b-256 1b494cc2d9fbc93d3c1d502f34d8bd05c395459bcb1a787bf6ceab2090458c11

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