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

Uploaded Source

Built Distributions

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Python 3

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

Uploaded Source

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

Uploaded Python 2

File details

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

File metadata

  • Download URL: pythondata-cpu-serv-1.0.post187.tar.gz
  • Upload date:
  • Size: 594.8 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.2 CPython/2.7.18

File hashes

Hashes for pythondata-cpu-serv-1.0.post187.tar.gz
Algorithm Hash digest
SHA256 188fa7c5410c84d5cf6d3f935117ca75f6c506ab51cd1ee3b8b65d933f3c48d2
MD5 0be66608696b3f25cfe41ed32d35faad
BLAKE2b-256 ee7ad6d4066da9cf68ef885929ab74111a69f29b46079b6010781bd2d6ae0bf4

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pythondata_cpu_serv-1.0.post187-py3.9.egg
Algorithm Hash digest
SHA256 b05668dc6466e509a5da1437386dfb8a4f174fcf45f96caae3e5d8bf90f00a6d
MD5 bee227486b73a22674e1a6faa674cc54
BLAKE2b-256 fe79a86542f732b33b66beed36f53714d0626667e1b5a4383f71726a68bde88f

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pythondata_cpu_serv-1.0.post187-py3.8.egg
Algorithm Hash digest
SHA256 c83e8b4ab2acdfd27c18f2094a3991a86056ab189eefb63b0ee095a720128411
MD5 43b438d5adbb1ef884d90b10c96e2f59
BLAKE2b-256 3120ba4bda87c73618bbd1f6dc0edd1aa277f00674809eba1754ef6ec6140361

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pythondata_cpu_serv-1.0.post187-py3.7.egg
Algorithm Hash digest
SHA256 8b8c2b5043d602c32471d888241bfa5b488a39b0937304c914c468adfdccaa02
MD5 c9df70285931e961586c0775120a940f
BLAKE2b-256 398ce4c08eb6836aff36f7b9681864563b5da4b24607903a9f5982d74840bac6

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pythondata_cpu_serv-1.0.post187-py3.6.egg
Algorithm Hash digest
SHA256 08b215889304e356efea01a9f6532ecc2ebafafe7d011242ad3712793e42b609
MD5 e9e9d15432d7c9ebb6047a2cd1251da8
BLAKE2b-256 e64f8972ef37430089cf4567a971b39de93ace152a939114b9a1da9196cb86b3

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pythondata_cpu_serv-1.0.post187-py3-none-any.whl
Algorithm Hash digest
SHA256 78463c7991d0436c10d5377312770daf2e8382e1e8a9081f4039b436955bdf54
MD5 5672a77992f77512b07a29b43fe4faa1
BLAKE2b-256 28e7ada27f464bd1542e30ceb3643f034ea34c8bc69334e0955ea6c5b868ad70

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pythondata_cpu_serv-1.0.post187-py2.7.egg
Algorithm Hash digest
SHA256 9b2f2ab809d092899aad202fc7d0bd4fd0b194e6a3c9ed23353a0d97a6d2de23
MD5 756fcea628822acd2ed39b81b69d7bc3
BLAKE2b-256 fbcadd1173b46881652d2df609a9638312a08d6ce249ed0bcd917be3e0102c78

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pythondata_cpu_serv-1.0.post187-py2-none-any.whl
Algorithm Hash digest
SHA256 a6e117ad7cab997e9bf726b05e6f28a0a84740e0e0d40f27b0a3f68110af7fd4
MD5 e3b82f6e6191b4ec1c9464b4c2d5ec9b
BLAKE2b-256 908115dc3a987bfef3ee1abdab395de46613fba4b3528d4f6f9e0dbf746edb7b

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