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, ImageNet, RadioML, UNSW-NB15) |
finn_plus_driver.cli |
Command line interface |
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file finn_plus_driver-1.5.0.tar.gz.
File metadata
- Download URL: finn_plus_driver-1.5.0.tar.gz
- Upload date:
- Size: 30.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
poetry/2.4.3 CPython/3.10.21 Linux/6.17.0-1022-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ab5c3cc3c46c81f27c87d7c1ba42a3a71684be45e53be34fd291cb4cdf571df
|
|
| MD5 |
c54ac79383d3f15570604c37961d4ad3
|
|
| BLAKE2b-256 |
6b1f366820259607bb8d0b5513ce2a6173372349e241d300556485e27791351e
|
File details
Details for the file finn_plus_driver-1.5.0-py3-none-any.whl.
File metadata
- Download URL: finn_plus_driver-1.5.0-py3-none-any.whl
- Upload date:
- Size: 38.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
poetry/2.4.3 CPython/3.10.21 Linux/6.17.0-1022-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1f03a38356b3ae9328134af542049954b21ca526905267f82a0a39da55e2eab6
|
|
| MD5 |
670b4da2956809ece753c284c9b2ba8a
|
|
| BLAKE2b-256 |
99b291aeb4754ce6a7471e390dc06858c261fd4b668e94b6ce351437e5288f9c
|