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

Uploaded Source

Built Distributions

pythondata_cpu_serv-1.0.post117-py3.10.egg (440.4 kB view details)

Uploaded Source

pythondata_cpu_serv-1.0.post117-py3.8.egg (440.4 kB view details)

Uploaded Source

pythondata_cpu_serv-1.0.post117-py3.7.egg (440.4 kB view details)

Uploaded Source

pythondata_cpu_serv-1.0.post117-py3.6.egg (440.4 kB view details)

Uploaded Source

pythondata_cpu_serv-1.0.post117-py3.5.egg (440.5 kB view details)

Uploaded Source

pythondata_cpu_serv-1.0.post117-py3-none-any.whl (442.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pythondata-cpu-serv-1.0.post117.tar.gz
  • Upload date:
  • Size: 400.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.7

File hashes

Hashes for pythondata-cpu-serv-1.0.post117.tar.gz
Algorithm Hash digest
SHA256 e3b6cf3d5ecbdc8624c121690d32713dc62010ba5c01b4c88bd00f1506b0c9f1
MD5 892573f6a4fcfdafa90efd2616cea3f0
BLAKE2b-256 638eca5a5c0e53d972849c8c930954a92114adb86d7543e5a05fdb07b6c9bd41

See more details on using hashes here.

File details

Details for the file pythondata_cpu_serv-1.0.post117-py3.10.egg.

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post117-py3.10.egg
  • Upload date:
  • Size: 440.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.10.0a2+

File hashes

Hashes for pythondata_cpu_serv-1.0.post117-py3.10.egg
Algorithm Hash digest
SHA256 869fd3060f7d09c09432a70ab730907a168105ef5555d978893c687566381b80
MD5 fd7ef8347185ae6dca5b4344ce89cc6b
BLAKE2b-256 2b349738efebdad87e77d8118af75b37bc9540d3ee3754f80269ced6dbcb492c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post117-py3.8.egg
  • Upload date:
  • Size: 440.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.0

File hashes

Hashes for pythondata_cpu_serv-1.0.post117-py3.8.egg
Algorithm Hash digest
SHA256 24bbeb6586109fbef2f79a7356a5c6062ffe61a3763e470cdfb78a030f9bc17f
MD5 b8a8fb6e1352c9efb37b01895b63055e
BLAKE2b-256 9c49c8cddc197decaaa042cdc51c5ef6b031265618b87d9d6a3244b8fb163599

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post117-py3.7.egg
  • Upload date:
  • Size: 440.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.1

File hashes

Hashes for pythondata_cpu_serv-1.0.post117-py3.7.egg
Algorithm Hash digest
SHA256 629379245c093cc11a1c0a5a307a926fd18d4fed10fd8d3c8564106d2b9f242f
MD5 0d6d46377164d0a080658fcb0783052b
BLAKE2b-256 8bac3f77be40a709d8709aa2ec6a4e162788cca88fa9d11207fb6a2fa7dc1d91

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post117-py3.6.egg
  • Upload date:
  • Size: 440.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.7

File hashes

Hashes for pythondata_cpu_serv-1.0.post117-py3.6.egg
Algorithm Hash digest
SHA256 1a008f07d8105c356c33776fa38bd4530c81a4ec3d5d29269eb2a03b2ca427b0
MD5 2133cbd56ef70e693419a371ef268775
BLAKE2b-256 b0295b701fe960f9ff42f525cd68aeb6e70d1e237f8776fd1699b0475a956742

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post117-py3.5.egg
  • Upload date:
  • Size: 440.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.5.6

File hashes

Hashes for pythondata_cpu_serv-1.0.post117-py3.5.egg
Algorithm Hash digest
SHA256 3c7d49734c9c8c43d1d35eb70a40443aab14108f0b5d89f3b80894b802fe0fc1
MD5 52d3281da497f899209ab16ae82b8619
BLAKE2b-256 bfc5a55a5786c20d1ac1875087408e5ac5ae96c37feaafc9f014caa754a5309d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post117-py3-none-any.whl
  • Upload date:
  • Size: 442.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.7

File hashes

Hashes for pythondata_cpu_serv-1.0.post117-py3-none-any.whl
Algorithm Hash digest
SHA256 08b682d4fdfa833a00fea25bdb3ef1205680f6c0f851b3f620670d0f2f3571d7
MD5 e38849b5c4b1a16dd4356f7691c3f028
BLAKE2b-256 89220de0a9393d0ab61ede37e7c1185dc9905190dbcf548628b99414cf2702e5

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