Skip to main content

finn-plus-driver

Runtime driver for FPGA accelerators generated by finn-plus and deployed to ZYNQ/PYNQ boards.

This package contains everything needed to run a FINN-generated accelerator and nothing of the compiler itself. It is installed on the board, while the accelerator-specific artifacts (bitfile, settings.json, runtime weights) are produced by the finn-plus build flow and copied to the board separately.

Installation

On a PYNQ board, inside the PYNQ virtual environment:

sudo pip install finn-plus-driver

pynq itself is not declared as a dependency: it is part of the board image.

To install the version matching a repository checkout (e.g. in CI):

sudo pip install ./driver

Usage

The driver is usually invoked through its CLI, which instantiates the driver class named in settings.json and calls one of its member functions:

finn-plus-driver -b bitfile/finn-accel.bit -s driver/settings.json -f throughput_test

It can equally be used as a library:

from finn_plus_driver import FINNDMAOverlay

accel = FINNDMAOverlay("finn-accel.bit", io_shape_dict=io_shape_dict)
output = accel.execute(input_array)

Contents

Module Purpose
finn_plus_driver.overlays.dma FINNDMAOverlay, the standard DMA-based accelerator driver
finn_plus_driver.overlays.instrumentation FINNInstrumentationOverlay, DMA-less instrumentation runs
finn_plus_driver.overlays.live_fifo FINNLiveFIFOOverlay, live FIFO sizing experiments
finn_plus_driver.overlays.dma_instrumentation FINNDMAInstrumentationOverlay, combined DMA + instrumentation
finn_plus_driver.packing Data packing/unpacking between numpy and the accelerator's bit-level format
finn_plus_driver.validate Dataset-specific accuracy validation (MNIST, CIFAR-10/100, ImageNet, RadioML, UNSW-NB15)
finn_plus_driver.cli Command line interface

Metadata

Release files for finn-plus-driver 1.6.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for finn-plus-driver 1.6.1
File Size Uploaded
finn_plus_driver-1.6.1.tar.gz 39.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for finn-plus-driver 1.6.1
File Interpreter ABI Platform
finn_plus_driver-1.6.1-py3-none-any.whl Python 3 none any Details

Total release size: 86.6 kB

Release files / finn_plus_driver-1.6.1.tar.gz

Download URL finn_plus_driver-1.6.1.tar.gz
Size 39.6 kB
Tags Source
SHA-256 checksum
How to use checksums
6f7e7dfbc30685ec6ebc79621ec2476be678c5449fdbcd409ef91066d6f400ae
BLAKE2b-256 checksum
How to use checksums
f0da0042be3429bf1adf25d2abda3ee38eecf3aaebcd2aee37a7406fe0d296bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.5.1 CPython/3.14.7 Linux/6.17.0-1022-azure

Release files / finn_plus_driver-1.6.1-py3-none-any.whl

Download URL finn_plus_driver-1.6.1-py3-none-any.whl
Size 47.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
631bc2761f7f49c1c348683e426fb6a018e1a12244a27748e43e407409d98e16
BLAKE2b-256 checksum
How to use checksums
b30f3319d1a7f3c15e48af9963f85bf1f15911ce6d99d516c75b90b037c6e572
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.5.1 CPython/3.14.7 Linux/6.17.0-1022-azure

Release history Release notifications | RSS feed

This release

1.6.1 This release

2 release files

1.6.0

2 release files

1.5.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page