Skip to main content

A simple Xillybus interface written in Python

Project description

XillyPy PyPi License

A simple Xillybus interface written in Python. It supports streaming as well as reading/writing bytes to an address/data interface.

Usage

import xillypy
# write 16 (0x10, 0b00010000) to address 2
xillypy.memory_write('/dev/xillybus_mem', 2, (16,))
# write some bytes (.encode()) to a streaming interface
xillypy.stream_write('/dev/xillybus_write', 'this is my data i want to write'.encode())

An example can be found in benchmark.py.

Compatibility

The code was tested with Python 3.5 and 3.6 on a Linux Host (Ubuntu 16.04).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

xillypy-0.1.1-py2.py3-none-any.whl (4.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file xillypy-0.1.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for xillypy-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6fb0a036d9e64651ad115ab0d75a935b64add3ad1f653672046baf4831bb3390
MD5 3bb19fe6643ef9dcf8b85194f7543ad5
BLAKE2b-256 56696a2e81fe06edba78b9b24e3a18da0ed4a7e2ba8711ae743818695f4cace6

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