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-0.1.6.tar.gz (911.6 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-0.1.6-py3-none-any.whl (912.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for xibif_connection-0.1.6.tar.gz
Algorithm Hash digest
SHA256 b02709433fbd5d9ec72097b4e6792538654e9de820bcc3ee60a806a49beb95df
MD5 ccbf29ea93ef142ea8f973ab9dd89e1c
BLAKE2b-256 27c5f6774151a12ec0b2b6fe934f85126a46cc4ff4c6a21bd7b9307df8c43fde

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for xibif_connection-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 fb66c61f61a03b19f3c09ba0f2ad9bd9da174ded011735f2e0ac8e39e7a929e9
MD5 60c47b2e8db7be31d39caa0c1e05467d
BLAKE2b-256 84c8631b8b70428e08c83f6b4e7972f2f5fe6bc5aa4e9f6465373efa69ecd10e

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