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

Uploaded Source

Built Distributions

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Python 3

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

Uploaded Source

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

Uploaded Python 2

File details

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

File metadata

  • Download URL: pythondata-cpu-serv-1.0.post181.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.post181.tar.gz
Algorithm Hash digest
SHA256 7dd22d2118857f0216b611da35d0cfb8d41603e0389b52c29acd58f90f4b1ea2
MD5 777a5ce71a52f68540b1b9b710a3b2ad
BLAKE2b-256 9d98fce5d6f7b77222fbbec6b80407fd98098fd2a0c2035890d3c4db570a87df

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post181-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.post181-py3.9.egg
Algorithm Hash digest
SHA256 b97a8797260fb804dbbd50d3d750d329f2b4253a2307431183cfa00336829cad
MD5 0a28df955e0f2ee4e4d113bd6fe8428d
BLAKE2b-256 c83537e20e029111e30f5cdf3b5248612a2240fc57c4da038896085875a3360b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post181-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.post181-py3.8.egg
Algorithm Hash digest
SHA256 875a930896db6d17db1a328774a62e3db695b6ee4a0d7767bb36e9d142e572f3
MD5 f2a62c819e9a3881a5d8b564c7c2fd44
BLAKE2b-256 9c4a773835e5cd2052505b2039e3f0169c657740415e569bf90684063586617f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post181-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 PyPy/7.3.3beta

File hashes

Hashes for pythondata_cpu_serv-1.0.post181-py3.7.egg
Algorithm Hash digest
SHA256 8d22de2f49154e62a78f4092461c82d959d79309b027a1206d35279879f6ead0
MD5 623ca08410bd602906e8f8e30559d447
BLAKE2b-256 fa5c16eaa8539ab86f9e1f720de611d919042e949518d121b32e1a531bf998ed

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post181-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.post181-py3.6.egg
Algorithm Hash digest
SHA256 3d74379e6697c405197b37f03bfae5c28433e945079bf7c3c029e492338f2e22
MD5 fb49f0240031d8199ac238afc7756244
BLAKE2b-256 c84ff3d34b3551838042a8037cf091587844bb5077ad7c10ff624e18fbd20446

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post181-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.8.7

File hashes

Hashes for pythondata_cpu_serv-1.0.post181-py3-none-any.whl
Algorithm Hash digest
SHA256 0022f81c6e14f75a61eea40bd928b34f2bb46763018cd5a70fe33dd12d2b5d7c
MD5 3adcba10b2c82f87cc3d71e032afb96f
BLAKE2b-256 aac2ed1d5310e030e4c70c5d92e9f5760c833ee4b32eb42115becfe51b1c5099

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post181-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.post181-py2.7.egg
Algorithm Hash digest
SHA256 48b51ea1a0ee2b6aa9e5a399af3695dd231df3cca292e20295a278f72db87b5f
MD5 129ff94aed25e705dfcffcf0e78f7b4f
BLAKE2b-256 e2b0e618b4046f563276a3eff4a79b3208c1e796fd5f5f4372b9681037db9c27

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post181-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.post181-py2-none-any.whl
Algorithm Hash digest
SHA256 d329cbf5dcab44c484f9859362f541ad1486bd898ebdb6bd9fee4bd0fd3360c3
MD5 6ac81a99d6672ba961d88c7ab14e0758
BLAKE2b-256 15f92c2be92e72449aa1f3e4868120afcb7b85dfc23236f6149e46ee14171a20

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