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.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| finn_plus_driver-1.6.0.tar.gz | 39.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| finn_plus_driver-1.6.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 86.6 kB
Release files / finn_plus_driver-1.6.0.tar.gz
| Download URL | finn_plus_driver-1.6.0.tar.gz |
|---|---|
| Size | 39.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
043ff0444382b83a0d42833ad6630d1bf4657f039017e881d799b923047e7032
|
|
BLAKE2b-256 checksum How to use checksums |
47a298085430b05afea6ffe2d66514227d51e6d522fabbeac37af3763fad2e89
|
| 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.0-py3-none-any.whl
| Download URL | finn_plus_driver-1.6.0-py3-none-any.whl |
|---|---|
| Size | 47.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
40146f260be8fd7f3beff622ad9e2ebb73504971ef62747f2fa2016622bd7f86
|
|
BLAKE2b-256 checksum How to use checksums |
6d77733b6f76b62b22a4f830c3233b9362cfc220c1001f5be42950c92062a5b0
|
| 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
|