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

Uploaded Source

Built Distributions

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Python 3

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

Uploaded Source

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

Uploaded Python 2

File details

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

File metadata

  • Download URL: pythondata-cpu-serv-1.0.post180.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.post180.tar.gz
Algorithm Hash digest
SHA256 02293208d1947667a0438783a4a9318b214288f927e29209697cf246f0344b71
MD5 d8063246c7f50f5ed83466b867483ce1
BLAKE2b-256 deb789f25bd240ea126f015c320a624eb61b1aac1804103e0d12b90d3761f86c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post180-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.post180-py3.9.egg
Algorithm Hash digest
SHA256 e84cd57e3b98f6644acc366cec9cdef02511985efa41d66b3459ce3ee39aa4c2
MD5 7c63b665198a1157d369fb642e05472e
BLAKE2b-256 d8ebe5309b21817f25d7ed63286b81c059588aa323e17b9839cc3f7f15a23a64

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post180-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.post180-py3.8.egg
Algorithm Hash digest
SHA256 ef3830642e829f57d5964d0c5eeec511b5117c32c17d6643d7fec035f4d2ec22
MD5 5d2f4da2ea3f0a05b54ad7279f83ec44
BLAKE2b-256 e4b19afb517eceb7f02dfeaea30ccd9e145042a78fc2f5def667da376fa73bae

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post180-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.post180-py3.7.egg
Algorithm Hash digest
SHA256 e2853f4ef4eda56b6c5b8d894b2b4760b59445abc5c3c75532db8e5b19f2e8d3
MD5 83bb119c5d92312851d891e7dec49789
BLAKE2b-256 70c384029bd171335c0d70fb0e8409ba35cf6679cb9297b29a40c99a5972f738

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post180-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.post180-py3.6.egg
Algorithm Hash digest
SHA256 9b1ae5353b6522dee97a85a6c0ad89a71b27e3360f7011b7903b4f867795d46f
MD5 919cda1dd73cb948e60015396a54da99
BLAKE2b-256 6c042d1e61fb1da4daee0edc1d33c1c19c2b697e93d9a114e568923df735b857

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post180-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.post180-py3-none-any.whl
Algorithm Hash digest
SHA256 bef02dc1b27348ca9776b8eeffffcfa9ede47b344c78e5ddeb48a437e898dfa7
MD5 06e75c495532e2adb4f31f94f9824e9d
BLAKE2b-256 09ed75a17b51c07ab1e98fffd539444c56b2f5c57875aed9140c61c7cd940dd9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post180-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.post180-py2.7.egg
Algorithm Hash digest
SHA256 a133419c64b9070436eee4b52b0712a51be0e11bdc226e1c159109d5d4a233c3
MD5 b4445a7b010814c54e90b5277b2bc175
BLAKE2b-256 e28c97d5b03b2c683bacb5dc3cec1c37b2d9ddf4c524a6085561c4d773e0717d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post180-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.post180-py2-none-any.whl
Algorithm Hash digest
SHA256 f9ff1bb5469fa67a632c320d3f936c257c1164d757676d8aa7e960783429b34d
MD5 0e22c53dc3aa61e5072c03cf9dfe985e
BLAKE2b-256 c3f6321d6de8d1664de36ca32b09713e029906eae9fbf2b92eee31c2d7e256af

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