Skip to main content

Python module containing verilog files for serv cpu.

Project description

pythondata-cpu-serv

Non-Python files needed for the cpu serv 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_serv. The pythondata_cpu_serv.data_location value can be used to find the files on the file system.

Example of getting the data file directly;

import pythondata_cpu_serv

my_data_file = "abc.txt"

with open(os.path.join(pythondata_cpu_serv.data_location, my_data_file)) as f:
    print(f.read())

Example of getting the data file using litex.data.find API;

from pythondata_cpu_serv 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/olofk/serv and are imported using git subtrees to the directory pythondata_cpu_serv/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-serv.git
cd pythondata-cpu-serv
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-serv.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-serv.git

You can install a specific revision of the repository using;

pip install --user git+https://github.com/litex-hub/pythondata-cpu-serv.git@<tag>
pip install --user git+https://github.com/litex-hub/pythondata-cpu-serv.git@<branch>
pip install --user git+https://github.com/litex-hub/pythondata-cpu-serv.git@<hash>

With requirements.txt file

Add to your Python requirements.txt file using;

-e git+https://github.com/litex-hub/pythondata-cpu-serv.git

To use a specific revision of the repository, use the following;

-e https://github.com/litex-hub/pythondata-cpu-serv.git@<hash>

Installing from PyPi

Using pip

pip install --user pythondata-cpu-serv

Project details


Release history Release notifications | RSS feed

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-serv-1.0.post129.tar.gz (394.1 kB view details)

Uploaded Source

Built Distributions

pythondata_cpu_serv-1.0.post129-py3.10.egg (433.4 kB view details)

Uploaded Source

pythondata_cpu_serv-1.0.post129-py3.8.egg (433.4 kB view details)

Uploaded Source

pythondata_cpu_serv-1.0.post129-py3.7.egg (433.4 kB view details)

Uploaded Source

pythondata_cpu_serv-1.0.post129-py3.6.egg (433.4 kB view details)

Uploaded Source

pythondata_cpu_serv-1.0.post129-py3.5.egg (433.5 kB view details)

Uploaded Source

pythondata_cpu_serv-1.0.post129-py3-none-any.whl (435.7 kB view details)

Uploaded Python 3

File details

Details for the file pythondata-cpu-serv-1.0.post129.tar.gz.

File metadata

  • Download URL: pythondata-cpu-serv-1.0.post129.tar.gz
  • Upload date:
  • Size: 394.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.5.6

File hashes

Hashes for pythondata-cpu-serv-1.0.post129.tar.gz
Algorithm Hash digest
SHA256 933c036f9d17f36c512cd43a111e6b205abc69d161be9be7738286c05842578f
MD5 a6752cfe931c3aeb5ef4e22ce7ca40c2
BLAKE2b-256 1731e707780273a9b94271730b733b22980ff40f986a6be5240062b81e65ab21

See more details on using hashes here.

File details

Details for the file pythondata_cpu_serv-1.0.post129-py3.10.egg.

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post129-py3.10.egg
  • Upload date:
  • Size: 433.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.10.0a2+

File hashes

Hashes for pythondata_cpu_serv-1.0.post129-py3.10.egg
Algorithm Hash digest
SHA256 1f204e0795aede738f370126108bf77ca69ea7decb24a17690731a22bd003a25
MD5 cf37b12714abb5c9c82788c9666e0f8c
BLAKE2b-256 80fcc4a25671a3a9cda0721520ee9383e20d57f4bc5817fa437db75f2f4f7f07

See more details on using hashes here.

File details

Details for the file pythondata_cpu_serv-1.0.post129-py3.8.egg.

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post129-py3.8.egg
  • Upload date:
  • Size: 433.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.0

File hashes

Hashes for pythondata_cpu_serv-1.0.post129-py3.8.egg
Algorithm Hash digest
SHA256 5e60d62a2534321d3d37819ef5a662380a1598f6ff55a586ae4f5dd55f07a32d
MD5 5a3a0511114107abec8a539e4d9fe59c
BLAKE2b-256 25a00b29e32e8511b5944ddd984e7820f3b81bca4fd4903ad10f1ba42bdbfcb6

See more details on using hashes here.

File details

Details for the file pythondata_cpu_serv-1.0.post129-py3.7.egg.

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post129-py3.7.egg
  • Upload date:
  • Size: 433.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.7.1

File hashes

Hashes for pythondata_cpu_serv-1.0.post129-py3.7.egg
Algorithm Hash digest
SHA256 5dd5d7a2fc6050ecbc36b309d1ab62c4350f85dd534ba2238ab54572fcb995c9
MD5 8c153161d9aa260446823ae4ca542c2b
BLAKE2b-256 a28a960cb3337af9ecfc51cac855c9d7e1281aa6ff77127e56272028d34814d0

See more details on using hashes here.

File details

Details for the file pythondata_cpu_serv-1.0.post129-py3.6.egg.

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post129-py3.6.egg
  • Upload date:
  • Size: 433.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.6.7

File hashes

Hashes for pythondata_cpu_serv-1.0.post129-py3.6.egg
Algorithm Hash digest
SHA256 8aeee9a85303682ee96ae3a622589861677c25c3fe343a336bbd43782ecd0b8b
MD5 4bb0db3fe3dd6beac97aee19fa9de652
BLAKE2b-256 880146992a0181327ad5bbb028ac64d43ffe41ccee09180e6432dde0bcc3e787

See more details on using hashes here.

File details

Details for the file pythondata_cpu_serv-1.0.post129-py3.5.egg.

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post129-py3.5.egg
  • Upload date:
  • Size: 433.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.5.6

File hashes

Hashes for pythondata_cpu_serv-1.0.post129-py3.5.egg
Algorithm Hash digest
SHA256 8b6dfd6aaa8079166b82cf54e80b893e9c64d85e8d5a43d2e95956977c36b1aa
MD5 1647a0fde0a0edbcbff635e290e4b6ac
BLAKE2b-256 aac022b1fc0d6186b22f4ec8f6f474a76243da92f171c550262b4ba337827edf

See more details on using hashes here.

File details

Details for the file pythondata_cpu_serv-1.0.post129-py3-none-any.whl.

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post129-py3-none-any.whl
  • Upload date:
  • Size: 435.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.5.6

File hashes

Hashes for pythondata_cpu_serv-1.0.post129-py3-none-any.whl
Algorithm Hash digest
SHA256 2f6b613131f5f029b427501c3c5a8144cbd608ed51a778b35906115da0b94c00
MD5 b795efeb192f014bead835d801f3bc59
BLAKE2b-256 01808d59f9b388eeae3b50010b03e536605b91b86e03a60f166a81579a25cd40

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