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, 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

finn_plus_driver-1.5.0.tar.gz (30.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

finn_plus_driver-1.5.0-py3-none-any.whl (38.1 kB view details)

Uploaded Python 3

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

Hashes for finn_plus_driver-1.5.0.tar.gz
Algorithm Hash digest
SHA256 1ab5c3cc3c46c81f27c87d7c1ba42a3a71684be45e53be34fd291cb4cdf571df
MD5 c54ac79383d3f15570604c37961d4ad3
BLAKE2b-256 6b1f366820259607bb8d0b5513ce2a6173372349e241d300556485e27791351e

See more details on using hashes here.

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

Hashes for finn_plus_driver-1.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1f03a38356b3ae9328134af542049954b21ca526905267f82a0a39da55e2eab6
MD5 670b4da2956809ece753c284c9b2ba8a
BLAKE2b-256 99b291aeb4754ce6a7471e390dc06858c261fd4b668e94b6ce351437e5288f9c

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.5.0 This release

2 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