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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| finn_plus_driver-1.6.1.tar.gz | 39.6 kB | Without provenance | Details for finn_plus_driver-1.6.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| finn_plus_driver-1.6.1-py3-none-any.whl | Python 3 | none | any | Details for finn_plus_driver-1.6.1-py3-none-any.whl |
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
|
Security for finn-plus-driver 1.6.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.