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

Uploaded Source

Built Distributions

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Python 3

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

Uploaded Source

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

Uploaded Python 2

File details

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

File metadata

  • Download URL: pythondata-cpu-serv-1.0.post188.tar.gz
  • Upload date:
  • Size: 596.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.6.13

File hashes

Hashes for pythondata-cpu-serv-1.0.post188.tar.gz
Algorithm Hash digest
SHA256 ec7dcd11f95b7d7456533a563b5982a906f31cfbb3664618e536382aeecf6e40
MD5 eb639fd684816c8183a9b7e866dee4ee
BLAKE2b-256 4e50203f6232b638651d918c09321f69041d41ad67e50863e2c0f603fc13ddba

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post188-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/54.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2

File hashes

Hashes for pythondata_cpu_serv-1.0.post188-py3.9.egg
Algorithm Hash digest
SHA256 e7ad7f0748db5e8aa82d8b0786b15716889c030c33dc490f4d8cab747817689e
MD5 266863cf90d60b2bedba5a5a247c25aa
BLAKE2b-256 5edee4095a936a68b88821ace1d8b217ff218774adcb348f9a626cbfa706ff62

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post188-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/54.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.8

File hashes

Hashes for pythondata_cpu_serv-1.0.post188-py3.8.egg
Algorithm Hash digest
SHA256 0a71567ae1f5c2591ea34986367640787c8944ea245a377c8411ce44fecf887b
MD5 f5ce13f4ee8a9bfbd28c15616867e643
BLAKE2b-256 0310c6488bd54189a01f3ac0e0954e513e677c19775dfe5e140b44b78b45ba7a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post188-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/54.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.7.10

File hashes

Hashes for pythondata_cpu_serv-1.0.post188-py3.7.egg
Algorithm Hash digest
SHA256 7b88eb5b6d3661c87f76481b0c9b93535be5fac90ca26e0b2a2bfdd787efa7d9
MD5 1ccae9fa16d213299c1d23213c2e8810
BLAKE2b-256 7f3fe3e031354f5ef6ac008a3433d35c9cfe90bad07d24277459335c583a7436

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post188-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/54.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.6.13

File hashes

Hashes for pythondata_cpu_serv-1.0.post188-py3.6.egg
Algorithm Hash digest
SHA256 e3e4dcbec46640bafecc83aec7e3241f691af38db134a80bdb1bbaf528afcc22
MD5 d384033b129336c6382d74949e0d684b
BLAKE2b-256 af0527d5b194b4ccadbd4647768492ba8b1cffdad3f0a238762c36dcd4d72cbe

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post188-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/54.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.6.13

File hashes

Hashes for pythondata_cpu_serv-1.0.post188-py3-none-any.whl
Algorithm Hash digest
SHA256 30ca05ff19aa0c7beee6f2e7d13d5425920a3c53196fd4b08bcb5298261a30b7
MD5 2e0e38cbc8ae03b9954d7b210ed5a9f3
BLAKE2b-256 fb78c57071647700ff8843b77f3aeaec73a714d8a7b7b971df5740c6889743df

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pythondata_cpu_serv-1.0.post188-py2.7.egg
Algorithm Hash digest
SHA256 b4eae191194d08bd1a1739b4adce9a2149a2766a935fdaed74853d9661c71890
MD5 5f7f4d056fd4ec5fec61e4641851185d
BLAKE2b-256 aea2f47c2fea2ca4a7c385668dd381c15299c588186e7b7becfb552bd91bc6a8

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pythondata_cpu_serv-1.0.post188-py2-none-any.whl
Algorithm Hash digest
SHA256 3d7b52d5826d521735b00aff483f26dedab7a431c7b45d3c29aa1dc5c4ff6b17
MD5 342cc08772c9c3e82a8254a732ce4580
BLAKE2b-256 67c0857e9f7151198671ed149d8939b7973ffa20d334297c8f33d1d6a1625d3c

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