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

Uploaded Source

Built Distributions

pythondata_cpu_serv-1.0.post182-py3.9.egg (643.7 kB view details)

Uploaded Source

pythondata_cpu_serv-1.0.post182-py3.8.egg (643.7 kB view details)

Uploaded Source

pythondata_cpu_serv-1.0.post182-py3.7.egg (643.7 kB view details)

Uploaded Source

pythondata_cpu_serv-1.0.post182-py3.6.egg (643.7 kB view details)

Uploaded Source

pythondata_cpu_serv-1.0.post182-py3-none-any.whl (647.4 kB view details)

Uploaded Python 3

pythondata_cpu_serv-1.0.post182-py2.7.egg (643.6 kB view details)

Uploaded Source

pythondata_cpu_serv-1.0.post182-py2-none-any.whl (647.4 kB view details)

Uploaded Python 2

File details

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

File metadata

  • Download URL: pythondata-cpu-serv-1.0.post182.tar.gz
  • Upload date:
  • Size: 593.2 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.post182.tar.gz
Algorithm Hash digest
SHA256 8a24edf80c09faf798d73b839754b0579765f39c6b895b9c0960b658399ce421
MD5 1748907e13760f3064a98a37d408982a
BLAKE2b-256 185a5860ade76e82daffe23485cec77650d627914fb04a3ac7e01cc93137b794

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post182-py3.9.egg
  • Upload date:
  • Size: 643.7 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.post182-py3.9.egg
Algorithm Hash digest
SHA256 589b57ad20dadd92040f9780414e05bc9234d5a3383c2db7fd7ceb88fc99abd3
MD5 015a765522bde202811298441bb8b95a
BLAKE2b-256 a5ae236b0231c60c843bc8e9f4478addb92f5f413aa920f7ce84b9cf77cef954

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post182-py3.8.egg
  • Upload date:
  • Size: 643.7 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.post182-py3.8.egg
Algorithm Hash digest
SHA256 b1736b349d4e34c02f4f31504ca05656dc9fc0c2cf321822613cb5e1905e18d0
MD5 fd37c4679156081ab709108dd3367bc7
BLAKE2b-256 a64228f00f27e215d92f4d6a488b742180684ad4147ba94bc6ca6a7c4dc7984e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post182-py3.7.egg
  • Upload date:
  • Size: 643.7 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.post182-py3.7.egg
Algorithm Hash digest
SHA256 b4b69e8c9e9763ddd0d3919aa56bb47904eca981bd96e7b3d8e81913b76cce4c
MD5 0072943fbae4a49d68699c6130e657c7
BLAKE2b-256 32fff5961a2c13458ced3ac8c79818b85a2d7c06b019924877cc7731cf7dfc45

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post182-py3.6.egg
  • Upload date:
  • Size: 643.7 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.post182-py3.6.egg
Algorithm Hash digest
SHA256 4a79d7ce1526c866c955af5d8ecf6c034251f858570f44ed3ed9e32ab6dee63a
MD5 26c8302da50d66f306de1e6547f61656
BLAKE2b-256 4e5bfdedf110315b243c04a126161906fcc699b3f8b6faf3586d48776ebe086a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post182-py3-none-any.whl
  • Upload date:
  • Size: 647.4 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.post182-py3-none-any.whl
Algorithm Hash digest
SHA256 dededa1c5475ec221133a44e1d58f1f25ccaedf6c2908def234472ed21c0f899
MD5 949c6f26ff00b4d424ef3d039f209e63
BLAKE2b-256 96d630d044db910904922190590a1bfaa62fe26faa3cccd0ce4973b547929e3c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post182-py2.7.egg
  • Upload date:
  • Size: 643.6 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.post182-py2.7.egg
Algorithm Hash digest
SHA256 1945de0e71443bb9ef0ccf1cc42f8cd84c1813fa3591113279da5d3292e576da
MD5 2a609d3210ab1715983cbab1f0d81a99
BLAKE2b-256 963117ab767294c7027f2257d1339898248110778c85fd550e4b3539bbc2bd18

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post182-py2-none-any.whl
  • Upload date:
  • Size: 647.4 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.post182-py2-none-any.whl
Algorithm Hash digest
SHA256 a493c40adef0148adf986b472cf15ae1e6209b0716db5bfe195f4c82c848fecb
MD5 763d3e0e338339f169b19a3f4f9611c1
BLAKE2b-256 0fbcc9775fdd5086f9691731143fc3350e09dbfcabc8eed234eedea3e9a60976

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