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

Uploaded Source

Built Distributions

pythondata_cpu_serv-1.0.post84-py3.8.egg (89.1 kB view details)

Uploaded Source

pythondata_cpu_serv-1.0.post84-py3.7.egg (89.1 kB view details)

Uploaded Source

pythondata_cpu_serv-1.0.post84-py3.6.egg (89.1 kB view details)

Uploaded Source

pythondata_cpu_serv-1.0.post84-py3.5.egg (89.2 kB view details)

Uploaded Source

pythondata_cpu_serv-1.0.post84-py3-none-any.whl (90.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pythondata-cpu-serv-1.0.post84.tar.gz
  • Upload date:
  • Size: 57.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.1

File hashes

Hashes for pythondata-cpu-serv-1.0.post84.tar.gz
Algorithm Hash digest
SHA256 d00bdacfa817013e06a528b664d1ea431ffe1425642d7501a698dd98d9cfce33
MD5 6ff9348f04f9b38515d9c2143b251544
BLAKE2b-256 7c484b6d2f7e312650740ddc07853416cb14a9e20d0f3c5b8f4b41f5326a289b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post84-py3.8.egg
  • Upload date:
  • Size: 89.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.0

File hashes

Hashes for pythondata_cpu_serv-1.0.post84-py3.8.egg
Algorithm Hash digest
SHA256 63c8e1638cbaf6735f5e172c0472cf6dbba34fbe1b27295a8b75fda13e0c7ca7
MD5 4d9ad5aa3c3902d386ac742a0ac6b6ec
BLAKE2b-256 1f45dab6d22ea1d0d1a6e408e98f73a0e7d2b570fe6f8dbc0488fe32044da5a1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post84-py3.7.egg
  • Upload date:
  • Size: 89.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.1

File hashes

Hashes for pythondata_cpu_serv-1.0.post84-py3.7.egg
Algorithm Hash digest
SHA256 daf36f9ba3871515850ab6677f674437dd4c2abccfb9ac6d9d1dc5203855fc91
MD5 7d50f763b88f89f9b232172127549fc2
BLAKE2b-256 53b2a5e303551fee3786801413ff06f5171e4e8b9d6e9a9d5a00b2a9fb208dc3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post84-py3.6.egg
  • Upload date:
  • Size: 89.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.7

File hashes

Hashes for pythondata_cpu_serv-1.0.post84-py3.6.egg
Algorithm Hash digest
SHA256 0613db6d3faa7e680c2e12f4ebd82563534a922ce774196dd4e787d55f3d8532
MD5 803bf342c77e82afd33fd839f0a87b13
BLAKE2b-256 3f31bbd42c305af253badbce21ed8a93f0683fbd7ce9087d7b219ed0d11e3687

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post84-py3.5.egg
  • Upload date:
  • Size: 89.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.5.6

File hashes

Hashes for pythondata_cpu_serv-1.0.post84-py3.5.egg
Algorithm Hash digest
SHA256 55e8278c73190dd78d595d292968d41dd8fd8a43a03c9485c34fee0383dd6ea8
MD5 435a970c860d02e79bf376fe44f40756
BLAKE2b-256 87693fe2e55210560b305eff897d05cc3a7834cc3ead423a4c5c3ac7d428eeee

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post84-py3-none-any.whl
  • Upload date:
  • Size: 90.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.1

File hashes

Hashes for pythondata_cpu_serv-1.0.post84-py3-none-any.whl
Algorithm Hash digest
SHA256 c939141efba908c6c068d34a3ad54b9c6259196f950eb62d0a3a01992ed51504
MD5 e008340188f10aa821359fb7bb459081
BLAKE2b-256 6d209a1364403924622ef59d8e06e0a4a1f057d2155513cab519cb1eac883ba9

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