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.2.tar.gz (912.9 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.2-py3-none-any.whl (913.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: xibif_connection-5.0.2.tar.gz
  • Upload date:
  • Size: 912.9 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.2.tar.gz
Algorithm Hash digest
SHA256 f398a0f926fa685a5ac390c8cc00ee94b87bf96aaa6a6392a0d13ff91c9910a7
MD5 2370afaff631f023b6d938725785dc49
BLAKE2b-256 72a42f0b8e1d1a0931c0069dca177c3782aa6c9874ea7652f2be66f12c05a75e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for xibif_connection-5.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 73f11281e28c956cd679ef23c0d298d47eb3c2cb5b3964dc09f340618fc9e4a5
MD5 7a2005bc4c7063462e3f52e1a3fea119
BLAKE2b-256 858cde9a3d1654f0f07a1c15640fccb0def8008b2707d1485d703905daa8f568

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