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

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Egg

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

Uploaded Egg

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

Uploaded Egg

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

Uploaded Egg

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pythondata-cpu-serv-1.0.post86.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.post86.tar.gz
Algorithm Hash digest
SHA256 3b58f02f6564f078ac246b70062331a40a9167f65b210a0345d53bf9a5008ebe
MD5 394e8fd807141f564ea6697140163130
BLAKE2b-256 b1caf3dd0e3c07b124becb2b02b42dd2ca34a7f690eb8bd7ca9c84be321857a0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post86-py3.8.egg
  • Upload date:
  • Size: 89.1 kB
  • Tags: Egg
  • 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.post86-py3.8.egg
Algorithm Hash digest
SHA256 2928bdc3a4645b4e61ab68cad9e512a5f65371cd5575716bd8274ae1e4ae2b55
MD5 43c5fc8ce52b3dd356d99178b9f0e13b
BLAKE2b-256 1eaa6211e039f79121b8777163b32f5014b254a91ae28ddf03e2b1b63b5cf1f8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post86-py3.7.egg
  • Upload date:
  • Size: 89.1 kB
  • Tags: Egg
  • 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.post86-py3.7.egg
Algorithm Hash digest
SHA256 a93c9826d918ee9dc229385bc7d93ce301360aca101569abd02e70ab17a8b3d4
MD5 138f02a5d02a186d5eccd0e779c06bdd
BLAKE2b-256 12f4e7daa4e6f41dfa1225f78ef5dfdc6de7005478fdf0b7fc37e49c17ac7b9b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post86-py3.6.egg
  • Upload date:
  • Size: 89.1 kB
  • Tags: Egg
  • 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.post86-py3.6.egg
Algorithm Hash digest
SHA256 e3c85145e052e7feabd2c615a966140bdef444cc2316297188ccb1e7069e16e5
MD5 c116154c518e35f7c92c631135576777
BLAKE2b-256 6d4b42706c2e620d2af008693d5b98b463ed74a64f29112e4d5f56b536a57b56

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post86-py3.5.egg
  • Upload date:
  • Size: 89.2 kB
  • Tags: Egg
  • 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.post86-py3.5.egg
Algorithm Hash digest
SHA256 92f84329304be19d876300359c4d482ea58c15a64291d288fb9e996df98af49c
MD5 a2b08be576898047abfa0d94f3ca3574
BLAKE2b-256 a216cf5ce35cf2b61f7e5090034688de603d24cd2dba60322ff98bd866f50e39

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythondata_cpu_serv-1.0.post86-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.post86-py3-none-any.whl
Algorithm Hash digest
SHA256 b20f46df72d21bf8611639fda479b2f259c70b7411abeb734722de8cc133b3c3
MD5 23305d30f408b4d957569c373dfc5376
BLAKE2b-256 9c97b6a0ebf2e2f10de09808131e8c5951ef36db270c4c4d6ebcde3faa63dbd9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page