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

Uploaded Source

Built Distributions

pythondata_cpu_serv-1.0.post185-py3.9.egg (644.1 kB view details)

Uploaded Source

pythondata_cpu_serv-1.0.post185-py3.8.egg (644.1 kB view details)

Uploaded Source

pythondata_cpu_serv-1.0.post185-py3.7.egg (644.1 kB view details)

Uploaded Source

pythondata_cpu_serv-1.0.post185-py3.6.egg (644.1 kB view details)

Uploaded Source

pythondata_cpu_serv-1.0.post185-py3-none-any.whl (647.8 kB view details)

Uploaded Python 3

pythondata_cpu_serv-1.0.post185-py2.7.egg (644.0 kB view details)

Uploaded Source

pythondata_cpu_serv-1.0.post185-py2-none-any.whl (647.8 kB view details)

Uploaded Python 2

File details

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

File metadata

  • Download URL: pythondata-cpu-serv-1.0.post185.tar.gz
  • Upload date:
  • Size: 597.8 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-serv-1.0.post185.tar.gz
Algorithm Hash digest
SHA256 8cb84023b68b3615d5bb57ebd95fd5a6c515db35c76f22c418db01fdce5654db
MD5 bd4dae523997e6a42bef2c8993e575c5
BLAKE2b-256 a4fe87d914e4a7671ee0a9f9d3d92e050c17ffeb87ec6b2dea56ab6286efcc8c

See more details on using hashes here.

File details

Details for the file pythondata_cpu_serv-1.0.post185-py3.9.egg.

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post185-py3.9.egg
  • Upload date:
  • Size: 644.1 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_serv-1.0.post185-py3.9.egg
Algorithm Hash digest
SHA256 b0304404bcb49f390a1270b58ffb16c2c4055e9b718040c5d2c97852320342f5
MD5 2643485436ace3b5c76b379783cca39c
BLAKE2b-256 0f5ed383c496309981c484366322b6642fb366b726e3b36089a08c9baf4b145f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post185-py3.8.egg
  • Upload date:
  • Size: 644.1 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_serv-1.0.post185-py3.8.egg
Algorithm Hash digest
SHA256 b09c4d148fce96f1b94b4189610b9b5077093aa9ef4f172f368da1b068a3fad2
MD5 97e2c00fc8e8f780ea8f1e6da67e3073
BLAKE2b-256 56f77bb802499b969c7cba47e3ebf3ca22ba9dc7a20811c8dea1a749b4288980

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post185-py3.7.egg
  • Upload date:
  • Size: 644.1 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_serv-1.0.post185-py3.7.egg
Algorithm Hash digest
SHA256 d2e3a60a4b183a049f26f1596f4179e763e3814c2763a84400e4f6d17052d099
MD5 b49b643152a9caf6876c712ced0b4192
BLAKE2b-256 bef5dc94c0efef88bc819fce9b0f7015a2ea469c80e211f5ce91b09903897b27

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post185-py3.6.egg
  • Upload date:
  • Size: 644.1 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_serv-1.0.post185-py3.6.egg
Algorithm Hash digest
SHA256 02fa717cc0d108c704a2d08009d936250f22117281190e25817e04fc726675e7
MD5 21de1fcbc414122f5c5efdb13f6e02c0
BLAKE2b-256 c477d4dbd7d12137543f00ac09b8cdd2ff4e2ed6e30fe51463fa20bd74d1222a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post185-py3-none-any.whl
  • Upload date:
  • Size: 647.8 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.7.9

File hashes

Hashes for pythondata_cpu_serv-1.0.post185-py3-none-any.whl
Algorithm Hash digest
SHA256 bf1be097641975e54aad6aff9d902c8f42c40ea8a41646c3e740863136085f74
MD5 39d84a1299f3a4a5ea8ff0d1f238c54c
BLAKE2b-256 4e224a34d89a01edcd3bbd24664bcb105b724c8ab8d7f3d755f3fc3932131350

See more details on using hashes here.

File details

Details for the file pythondata_cpu_serv-1.0.post185-py2.7.egg.

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post185-py2.7.egg
  • Upload date:
  • Size: 644.0 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_serv-1.0.post185-py2.7.egg
Algorithm Hash digest
SHA256 aa4c0e03a9cd0743d8038b65af03f7e926e2afa3f7c2e2cbe513a74b98acef92
MD5 51d3dc67ca91a2cc40a82b0d45bc7af4
BLAKE2b-256 488d0558fbd6cae62085139b31d42b049f664d7d8a87a61070a2ff30bf819eee

See more details on using hashes here.

File details

Details for the file pythondata_cpu_serv-1.0.post185-py2-none-any.whl.

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post185-py2-none-any.whl
  • Upload date:
  • Size: 647.8 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 CPython/2.7.18

File hashes

Hashes for pythondata_cpu_serv-1.0.post185-py2-none-any.whl
Algorithm Hash digest
SHA256 6e2d7205016f8f05b55a29ac15ecec8b0494c0663fbcda1f237333e23b21cfdd
MD5 339d6cf0301306b7ee807020ae357b77
BLAKE2b-256 afc23271a8b32bde08629c8536e6eabe4d58c4852cc08da0e48614150e9ca732

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