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

Uploaded Source

Built Distributions

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Python 3

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

Uploaded Source

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

Uploaded Python 2

File details

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

File metadata

  • Download URL: pythondata-cpu-serv-1.0.post184.tar.gz
  • Upload date:
  • Size: 597.9 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.post184.tar.gz
Algorithm Hash digest
SHA256 51d443175bc06af26514faf3906928fcb2dc74a8a7edc177bd5e3386b6909ca8
MD5 8da205b50844748354ee423e45056976
BLAKE2b-256 d646885ff870e792a853095ca6dfce9be053904ad53acfcf448c01a1a636cf08

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post184-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.0 CPython/3.9.1

File hashes

Hashes for pythondata_cpu_serv-1.0.post184-py3.9.egg
Algorithm Hash digest
SHA256 d8d1c42a1ee68a86b39b01b3837403b08be87807ee0b3070ed0d8e6b27495e06
MD5 e28979480a57b3180cfd547448c8e3ac
BLAKE2b-256 a196377ab7ed4490b6d2109b54a6425fdcb7f94bae67cd66f55ca01004932823

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post184-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.0 CPython/3.8.7

File hashes

Hashes for pythondata_cpu_serv-1.0.post184-py3.8.egg
Algorithm Hash digest
SHA256 36d2322a3fe306bafd0a19552f7325b928c82320725028dfcf76a0a23ecd7596
MD5 2995c1cd250d3ec74a27e2dc63facaab
BLAKE2b-256 571483538cd883c283f3e3dceb945c7c273c71784fadbd99bc40b2f76e615b9e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post184-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.0 CPython/3.7.9

File hashes

Hashes for pythondata_cpu_serv-1.0.post184-py3.7.egg
Algorithm Hash digest
SHA256 85b30bb1046a6efdab5cc8475292e6abb060095eb7d3896d21f8f20e51d7e923
MD5 3c823cebe3e59f9fd44f29e2456b7abc
BLAKE2b-256 faf8e2388e267284d8413832f4f5102592e1a7660ba447b141dc4aa1415ed068

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post184-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.0 CPython/3.6.12

File hashes

Hashes for pythondata_cpu_serv-1.0.post184-py3.6.egg
Algorithm Hash digest
SHA256 4166c91384f8ec3e98df6a45c4fc3198bb9e868a078fa9859079fbe09e5d23ba
MD5 a4befd1ba58e10c930646509768e1129
BLAKE2b-256 5fcdb94d516762dd7c7110734d378cd4f53fe2a8112f594bd89e8c2c187e4df6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post184-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.0 CPython/3.8.7

File hashes

Hashes for pythondata_cpu_serv-1.0.post184-py3-none-any.whl
Algorithm Hash digest
SHA256 e53dfe9a254c30d4a9c42520e4d17502707beaf9c72f315f2d35db9b10b2a0d1
MD5 f659dd985c44089fa8e7d8dcce52ca6b
BLAKE2b-256 019c137812274c97a64dabebcbd8e66f2f59e7d8acff25e4c975bd0035bdda2b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post184-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.0 CPython/2.7.18

File hashes

Hashes for pythondata_cpu_serv-1.0.post184-py2.7.egg
Algorithm Hash digest
SHA256 4941c9c941305a924d217474647c51c331c897158e5bb953e46f5cf5442c4adb
MD5 ac6a7bc52f8b35dd69fd95f8cde018f1
BLAKE2b-256 e499d3e73a2a87b201470e8a913d69c1d2531aa47b9921d7bb90c00534d1a3cf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post184-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.0 CPython/2.7.18

File hashes

Hashes for pythondata_cpu_serv-1.0.post184-py2-none-any.whl
Algorithm Hash digest
SHA256 51363c759ae93fff897a7774e3fb038a390b897b4dc72aea60fafe387bece2c1
MD5 413885e3cc1fc017fe3c428c2bd79397
BLAKE2b-256 facbdf9899679de3eed5a5547d6063ecf667464ea836b8b4fafabaf75b62c98f

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