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

Uploaded Source

Built Distributions

pythondata_cpu_serv-1.0.post177-py3.9.egg (652.3 kB view details)

Uploaded Source

pythondata_cpu_serv-1.0.post177-py3.8.egg (652.3 kB view details)

Uploaded Source

pythondata_cpu_serv-1.0.post177-py3.7.egg (652.3 kB view details)

Uploaded Source

pythondata_cpu_serv-1.0.post177-py3.6.egg (652.3 kB view details)

Uploaded Source

pythondata_cpu_serv-1.0.post177-py3-none-any.whl (656.0 kB view details)

Uploaded Python 3

pythondata_cpu_serv-1.0.post177-py2.7.egg (652.2 kB view details)

Uploaded Source

pythondata_cpu_serv-1.0.post177-py2-none-any.whl (656.0 kB view details)

Uploaded Python 2

File details

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

File metadata

  • Download URL: pythondata-cpu-serv-1.0.post177.tar.gz
  • Upload date:
  • Size: 606.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-serv-1.0.post177.tar.gz
Algorithm Hash digest
SHA256 80e558a821bdd5145fa76593d8e753e7c2477509e2513f6340096d73d0963d3c
MD5 8333829b0d00d12262b882c65b17055c
BLAKE2b-256 d2856795a140c55b6e113dbb49f558947a51f3ec012f1af68858b63a21a089c3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post177-py3.9.egg
  • Upload date:
  • Size: 652.3 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_serv-1.0.post177-py3.9.egg
Algorithm Hash digest
SHA256 8909d684e9ecc92682a69dedaf7a347927d717e7436e06a26c7cf9272e804f9c
MD5 6c92ac962e90bf12519eff6832e60f15
BLAKE2b-256 1f283bee04f5480c516d88fa965574f0c6caa00bfa4bd099b84c3f601bb9e31c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post177-py3.8.egg
  • Upload date:
  • Size: 652.3 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_serv-1.0.post177-py3.8.egg
Algorithm Hash digest
SHA256 1071f238ee5a47c44bb9e6bd146e22e2d20eb66c8a66754ea083e8aa1d331c1a
MD5 b57185bad26c4bc1346d33394d1342d8
BLAKE2b-256 8b9c49268e32ab5a3e645a6cc99822158b9cd5810cee3d1d574337912c4459bc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post177-py3.7.egg
  • Upload date:
  • Size: 652.3 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_serv-1.0.post177-py3.7.egg
Algorithm Hash digest
SHA256 a466c8bf853b0e191c2c0eaeaacb2e5cde021b403cdfdeb3b5840133920b2971
MD5 60318f448f6daea666168013678d3e75
BLAKE2b-256 4463581fcfacd5d188b31ea420063f189affc633367124f5835e5e770db87fb7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post177-py3.6.egg
  • Upload date:
  • Size: 652.3 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_serv-1.0.post177-py3.6.egg
Algorithm Hash digest
SHA256 802fd16ab1c315373461c8f0c2c9731675a61d43c91b59ffc15516fc669061a7
MD5 de850c340c5b0b718f44759c7068a51f
BLAKE2b-256 f238448cf3b77451e2128840029b05bb462a909636785e8b90fa0c92e931a092

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post177-py3-none-any.whl
  • Upload date:
  • Size: 656.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_serv-1.0.post177-py3-none-any.whl
Algorithm Hash digest
SHA256 4e20dfb6e3d487b92c645171d34f64a4bf34cbdf2be8ac0fc45f2f6f0c338c40
MD5 47d7a8a7b23fa7668d0dec2669033e2f
BLAKE2b-256 c7c0fb4f7963fcf3b01190d2bf26a219e14569e2a0fdc66d70237aa62665ce0e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post177-py2.7.egg
  • Upload date:
  • Size: 652.2 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_serv-1.0.post177-py2.7.egg
Algorithm Hash digest
SHA256 9a2a31223246dd01e9961172488dc260ca44b9c4957c24c2a61f4f1573ba72a5
MD5 c2f3505afb95b074eef84ce5dad4f482
BLAKE2b-256 9d9a491e9b545de905d17d3d296670890a9b0b32df6813fa438e296dd417f10e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post177-py2-none-any.whl
  • Upload date:
  • Size: 656.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_serv-1.0.post177-py2-none-any.whl
Algorithm Hash digest
SHA256 5950d207c67c1765750d0cc8d9d1f2921d64c289a41a1e161f14220cdc28b82c
MD5 c9fc560aa99bd909072fe95593d84300
BLAKE2b-256 0c8c007fd080013e70c14302dd6ff49be5bcb599b2f3e71885b7c7c6b1e2ae3a

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