Spiking neural network inference on FPGAs with hls4ml
Barry Dillon
Key points
From the paper's conclusion- We demonstrate the workflow using a dense quantised SNN trained on the Heidelberg Spiking Digits dataset where it achieves inference latencies of approximately 34µs.
Abstract
Spiking Neural Networks (SNNs) provide a naturally temporal machinelearning framework. Their neurons maintain an internal state and propagate information through discrete spikes, enabling low-latency temporal inference. Although SNNs are often associated with asynchronous neuromorphic processors, many scientific real-time inference systems rely on conventional synchronous fieldprogrammable gate arrays (FPGAs) and high-level synthesis (HLS) workflows. In this paper we present an extension of hls4ml that enables clock-driven deployment of SNNs trained in PyTorch onto FPGA firmware. We demonstrate the workflow using a dense quantised SNN trained on the Heidelberg Spiking Digits dataset where it achieves inference latencies of approximately 34µs. We validate the generated design through software reference comparisons, HLS C simulation, HLS synthesis, export, and Vivado synthesis reports. This work opens up the hls4ml toolkit to neuromorphic computing, allowing streamlined optimisation, synthesis, and deployment of SNN models for realtime inference.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- ReSNNance: an HDL generation framework for spiking neural networks.Frontiers in neuroscience · 2026
- Efficient Spiking Neural Network Prototype on FPGA for Classifying GasesElectronics · 2026
- STISA: A 0.16 GOPS/W/PE Single-Shot Inference FPGA-based SNN Accelerator with Algorithm and Hardware Co-DesignarXiv · 2026
- Low-Power Spiking Neural Network Acceleration with Differential Time Representation: A Modular Hardware FrameworkarXiv · 2026
- Mixed-timestep spiking neural networks: a temporal alignment framework for high-efficiency neuromorphic computing.Frontiers in neuroscience · 2026
- SpikeX: Exploring Accelerator Architecture and Network-Hardware Co-Optimization for Sparse Spiking Neural NetworksIEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems · 2025