Search arXiv⌕ Search

arXiv · 2612.04296

NIR2FPGA: Compiling Dataflow Accelerators from the Neuromorphic Intermediate Representation

Abstract

Neuromorphic computing algorithms and hardware exploit temporal sparsity of neural computation to reduce energy and latency relative to conventional neural networks. The co-design gap between neuromorphic hardware and software platforms remains a significant barrier to progress in the field. The Neuromorphic Intermediate Representation (NIR) addresses this by formalising computations as platform-independent graphs of dynamical systems, representing neuromorphic computations as a composition of ``primitives'' which build up complex models or spiking neural networks (SNNs). NIR has been used as a comparability layer across platforms, but its effectiveness in communicating semantics is untested. In this paper, we test this assumption by constructing a compiler that lowers a NIR graph into a digital circuit, executable by an FPGA. We (1) establish a theoretical framework to carry NIR primitives across various computational environments, (2) implement a toolchain, \NAME, to compile an input NIR graph into a streaming dataflow accelerator optimised for throughput, and (3) evaluate our claimed advantages using the output accelerator targeting a PYNQ-Z2 FPGA. To evaluate the effectiveness of primitive-level verification, we show the discretisation and quantisation effects of our accelerator, which outlines how an accelerator can be verified bottom up. We demonstrate general applicability by successfully compiling a spiking wavelet encoder for the MIT-BIH dataset and a dense network solving MNIST. The wavelet encoder is able to effectively encode a signal from the MIT-BIH dataset at 2,848 samples per second, and the MNIST network compares favourably in performance and utilisation metrics, processing 2.8x more images than Spiker+. This work demonstrates a novel FPGA dataflow compilation using NIR as the input representation, and lays for future NIR iterations.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Michail Rontionov, Francisco Ayala Le Brun, Nassim Beladel, David Thomas, Charlotte Frenkel, Jens Egholm Pedersen. 2026-12-02. NIR2FPGA: Compiling Dataflow Accelerators from the Neuromorphic Intermediate Representation. https://searcharxiv.org/abs/2612.04296

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

Pudding: A Retargetable Compiler for Processing-Using-DRAM Systems

Processing-Using-DRAM (PUD) architectures exploit the physics of DRAM arrays to perform Boolean operations directly in memory, eliminating the data movement bottleneck in memory-intensive workloads. Several PUD architectures have been recently proposed which differ in their primitive operation sets, row allocation models, and execution metrics. These architectural differences are today hard-coded in emerging PUD-aware compilers, making crossarchitecture reuse impossible. We present a retargetable, end-to-end compilation framework for PUD architectures. The central idea is to make the architecture description a first-class object in the compilation pipeline: retargeting to a new PUD architecture only requires supplying its description. Built upon the MLIR framework, our compiler operates at two coupled levels. At the tensor level, it lowers high-level programs through bit-slicing, mixed-precision assignment, and integer-linear-programming (ILP) based placement to reduce the number of PUD commands and inter-bank data movement. At the logic level, it employs equality saturation to explore Boolean network implementations, with rewrite rules and cost functions derived directly from the architecture description. Evaluated on representative workloads across multiple PUD targets with the same compiler passes, our framework matches (and in several cases surpasses) architecture-specific hand-optimized compilers, while delivering retargetability and extensibility.

cs.AR↗

Sattva: A Hardware-Algorithm Co-Designed SAT Solving Accelerator with Off-Chip Scalability

Boolean Satisfiability (SAT) solvers underpin verification, scheduling, and security, and hard problems can take years of CPU time. Yet solvers improve by only 4.6% per year on average, and their core algorithm, Conflict-Driven Clause Learning (CDCL), has remained unchanged for three decades, which makes it an ideal target for hardware specialization. Still, CDCL runs only on single-threaded CPUs in practice: its fine-grained data dependencies preclude effective parallelization, and industrial problems demand off-chip memory that no prior complete CDCL accelerator supports. Our insight is that these dependencies are structural, so custom hardware can parallelize CDCL safely with lightweight synchronization, while direct control over memory layout and prefetching hides the off-chip latency of CDCL's pointer chasing. The resulting parallelism further unlocks algorithmic improvements that do not pay off on sequential processors. We present Sattva, the first hardware-algorithm co-designed CDCL accelerator with off-chip scalability, and the first to run most of Kissat's search heuristics in hardware. It propagates literals in parallel across cores and threads, learns from several conflicts per round, decides through a SAT-tailored priority queue, and selects MiniSat's or most of Kissat's search heuristics. Built on an FPGA and measured at 206 MHz, Sattva is 5-793x faster than each prior SAT accelerator on that accelerator's own benchmarks, and 3-454x faster than CPU solvers on them. Per cycle, it does 6-8x as much search work as a CPU core. Projected to 3 GHz, it solves 49 of 100 randomly sampled SAT Competition 2026 instances, where MiniSat solves 22 and Kissat 36, and is 41x and 4x faster than them. In Samsung 8 nm, Sattva delivers 13x Kissat's performance per mm^2 of CPU.

cs.AR↗

PACER: Accelerating Mixture-of-Experts LLM Inference on High Bandwidth Flash Memory via Resource-Aware Expert Prefetching and Caching

The weights of frontier mixture-of-experts (MoE) large language models (LLMs) exceed the on-package memory capacity of modern accelerators. High bandwidth flash (HBF) addresses this capacity gap by stacking NAND flash dies in the form factor of high bandwidth memory (HBM). However, the sparse and dynamic expert selection of MoE models limits the performance of a demand-driven HBF controller. One possible solution is to prefetch experts ahead of time, as MoE offloading systems do. Our goal is to increase the decode throughput of MoE LLM inference on an HBF-equipped inference accelerator by efficiently prefetching experts from HBF into HBM. To this end, we propose PACER (Prefetching And Caching of Experts under Read disturb). The key idea of PACER is to make expert prefetching resource-aware, so that a prefetch uses only the HBM bandwidth that the inference accelerator leaves idle, the HBM capacity that the KV cache does not occupy, and the flash reads that storing experts in HBM saves. PACER leverages this key idea in software and in hardware. In software, the PACER runtime manages an HBM expert cache with a hint-protected replacement policy, which protects prefetched experts from eviction until the expert kernels of their layer finish. In hardware, the PACER controller comprises (i) a copy-preserving read unit, which serves demand reads from prefetched experts instead of reading these experts from HBF, (ii) an HBM write throttling engine, which throttles the HBM writes of prefetched experts, and (iii) a lifetime control engine, which limits the flash reads of useless prefetches to the flash reads that storing experts in HBM saves.

cs.AR↗