Skip to main content

API library to interface with a XiBIF FPGA board.

Project description

XiBIF Connection

The XiBIF Connection package is an API that allows to interface with a XiBIF board.

Installation

The XiBIF Connection package is installed via pip:

pip install xibif-connection 

Features

The XiBIF Connection package offers a set of API functions to ease interfacing with the FPGA, such as:

  • read and write registers
  • read and write from/to the AXI-Stream
  • benchmarking functions
  • interactive shell

Usage

The main API object is XibifConnection.

from xibif_connection.api import XibifConnection

board = XibifConnection("192.168.1.10", 0xDEAD_CAFE)
board.connect()
print(board.read(0))
board.write(0, 10)

Alternatively, use a XibifSession

from xibif_connection.api import XibifSession

with XibifSession("192.168.1.10", 0xDEAD_CAFE) as board:
    print(board.read(0))
    board.write(0, 10)

For an interactive connection with your board, use the CLI tool xibif-connection:

> xibif-connection --ip 192.168.1.10 --uuid 0xDEAD_CAFE
xibif> read 0
0x1234_5678
xibif> write 4 10
xibif> read 4
10
xibif> quit
>

Project details


Download files

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

Source Distribution

xibif_connection-5.0.0.tar.gz (912.5 kB view details)

Uploaded Source

Built Distribution

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

xibif_connection-5.0.0-py3-none-any.whl (913.0 kB view details)

Uploaded Python 3

File details

Details for the file xibif_connection-5.0.0.tar.gz.

File metadata

  • Download URL: xibif_connection-5.0.0.tar.gz
  • Upload date:
  • Size: 912.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for xibif_connection-5.0.0.tar.gz
Algorithm Hash digest
SHA256 f1beb683e483abdfa6376873a97d3290979326329a05975e5f1d722fd78a33f8
MD5 38c74027b88def2fb38912704124c0e2
BLAKE2b-256 cbb544f62a376490997fbbeb5b7ec1cddb6c0b1faefd0538c6abe308d58c6c72

See more details on using hashes here.

File details

Details for the file xibif_connection-5.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for xibif_connection-5.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fb9ca76060b9da6486042d1818318e1ef08a897d98aedfbbd8bc5a7e7c74acb5
MD5 23605167d8db11b149510c2758b9f21c
BLAKE2b-256 6ce5c5f5bf796c82a40ed36a1bf7316cc6545d206c668077d109b71297371775

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