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.1.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.1-py3-none-any.whl (913.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: xibif_connection-5.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 99aad487b8d974e80d1556997494b2c7485b770c8540b225fc8567d6d7df57f0
MD5 32c93a09dda6ab9f0939526ad9ac4107
BLAKE2b-256 9cfd3da3b7a0f9fd4db73f4d953f7e76c7ede3a5075c7bec01436dccc21ac780

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for xibif_connection-5.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 98d7a95169e9fec193fc3766c7101348d378aec565ec99f807c3450cf52015e5
MD5 448ab8b13e1c87e6f2a08e9e86b3d97d
BLAKE2b-256 5bb4603d91e9d981efce55dc912be9eacbb46c6d652d00d55ac1d4cb8789eb87

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