Manuscript Offprint

arXiv:2609.08446

FlexSpIM: An Event-Based Digital Compute-In-Memory Accelerator with Flexible Operand Resolution and Layer-Wise Hybrid Stationarity

Nicolas Chauvaux, Adrian Kneip, Charlotte Frenkel

Nicolas Chauvaux, Graduate Student Member, IEEE, Adrian Kneip, Member, IEEE, and Charlotte Frenkel, Senior Member, IEEE

Abstract—Compute-in-memory (CIM) accelerators for spiking neural networks (SNNs) offer a promising solution for achieving µs-level inference latency and ultra-low energy in edge vision applications. However, their limited flexibility at both circuit and system levels restricts their deployment across diverse workloads. This work introduces FlexSpIM, a digital CIM architecture supporting arbitrary operand resolution and shape within a unified storage for weights and neuron states (i.e., membrane potentials). These circuit-level capabilities enable a layer-level hybrid weight- and output-stationary dataflow, maximizing operand reuse and reducing costly on- and off-chip data movement during SNN execution. Measurement results from a fabricated FlexSpIM prototype in 40-nm CMOS demonstrate competitive 1-bit-normalized energy efficiency and higher throughput compared with prior fixed-precision digital CIM-based SNN accelerators, while providing bitwise resolution reconfiguration. Evaluated on the IBM DVS gesture dataset, FlexSpIM achieves 95.8% accuracy while enabling up to 45% energy and 52% latency reductions in large-scale systems compared with fixed stationarity approaches.

Index Terms—Digital compute-in-memory, spiking neural networks, flexible operand resolution, hybrid-stationary dataflow.

I. INTRODUCTION

ARTIFICIAL neural networks (ANNs) have become ubiquitous across a wide range of applications. Taking the example of image classification, their application can be categorized based on the criticality of their energy and latency requirements, as illustrated in Fig. 1(a). Compact models optimized for mobile CPUs, such as MobileNetV3, already require hundreds of millions of multiply-accumulate (MAC) operations and millions of parameters [1]. As transferring these parameters can account for up to 60% of the total power of modern workloads [2], recent works started exploiting sparsity to reduce energy consumption and latency [3], [4].

Exploiting sparsity is achieved by bypassing zero operations and/or using compression techniques to minimize memory requirements [5]. Several works exploit input [6], [7] or weight [8] unstructured sparsity, while others combine both [9]–[11], at the expense of increasing datapath and memory controller complexity. State-of-the-art sparsity exploitation techniques have demonstrated that sparsity levels of up to

Manuscript received Month xx, 2026; revised Month xx, 2026; accepted Month xx, 2026. This work was co-funded by Prophesee and by the Dutch government as an HTSM-TKI project, and supported by DelftBlue and Cloud4Research to get access to the computational resources required to obtain the system-level results. This article was recommended by Associate Editor [Surname Lastname]. (Corresponding author: Nicolas Chauvaux.)

Nicolas Chauvaux and Charlotte Frenkel are with the Department of Micro-electronics, Delft University of Technology, 2628 CD Delft, The Netherlands (e-mail: n.chauvaux@tudelft.nl).

Adrian Kneip is with the Department of Microelectronics, Delft University of Technology, 2628CD Delft, The Netherlands, and with the Department of Electrical Engineering, KU Leuven, 3001 Leuven, Belgium.

Figure

Fig. 1. (a) Application space of artificial neural networks, categorized according to latency and energy requirements. (b) Simplified edge vision system using an event-based camera as input and a spiking convolutional neural network (SCNN) backend for object tracking, highlighting the diversity of layer shapes encountered during execution. (c) Three key challenges addressed in this work for efficient execution of SCNNs on digital compute-in-memory (CIM) architectures.

70% for inputs and 80% for weights can be exploited without degrading accuracy on the ImageNet dataset [12], which is shown by Parashar et al. to translate to 2.3× energy and 2.7× latency improvements [9]. However, while sparsity levels above 90% outline additional order-of-magnitude energy and latency savings, exploiting them at iso-accuracy remains an open challenge [12].

In order to exploit such extreme sparsity regimes, recent approaches shift from frame- to event-based vision with dynamic-vision-sensor (DVS) cameras (Fig. 1(b)), in which individual pixels generate events only when their temporal contrast delta crosses a given threshold [13]. The active-pixel ratio, i.e., the fraction of pixels generating at least one event within a given time window, typically ranges from below 1% to around 10%, depending on scene dynamics, for a static and a moving camera respectively, in an autonomous driving scenario [14]. Combined with sub-100- μ\mus end-to-end event generation latency [15], this makes DVS cameras well suited for sparse and latency-critical vision applications, motivating for novel event-driven vision processing solutions.

Spiking convolutional neural networks (SCNNs) are gaining increasing interest for event-driven vision processing, and the efficient processing of spatiotemporal information, thanks to the use of a stateful neuron with a membrane potential [16]. However, this comes at the expense of additional memory footprint as, in an SCNN, the neurons' membrane potentials need to be preserved over time, as opposed to conventional frame-based CNNs whose partial sums can be discarded after they have been used to update the downstream neurons. Indeed, assuming 8-bit weights and 16-bit membrane potentials, the memory overhead of SCNNs can amount to 25 – 67% of the total memory footprint of the equivalent non-spiking CNN [17]–[19]. Since memory accesses are typically the main bottleneck in terms of energy and latency, the membrane potential memory overhead of SCNNs is currently hindering claims related to their energy/latency advantage [20]–[22]. As keeping all weights and membrane potentials on-chip is not a practical solution for large SCNNs, it is key to find hardware architectures that minimize data movement at the system level, taking into account external memory accesses (EMAs).

To that end, compute-in-memory (CIM) hardware for SCNNs has recently been proposed [23]–[32], but their limited reconfigurability makes them fundamentally unsuited to the large diversity of SCNN layer specifications (Fig. 1(b)). This either implies sub-optimal workload mapping to CIM hardware, leading to latency and energy penalties, or increased time-to-market due to the need for application-specific CIM hardware. In this work, we propose FlexSpIM, a digital CIM-based accelerator for SNN inference with high flexibility at the circuit and system levels. It solves three core challenges compared to prior CIM-based SNNs:

  1. while previous works only support a fixed resolution or a few pre-defined options, FlexSpIM supports a fully reconfigurable resolution for weights and membrane potentials, thereby expanding the exploration of the trade-off landscape between accuracy, energy efficiency, and memory footprint for SNN workloads (Fig. 1(c));

  2. while operand mapping is usually restricted to either fully bit-serial row-wise or fully bit-parallel column-wise, FlexSpIM allows for reconfigurable operand shapes to support different, non-proportional resolution values for weights and membrane potentials, which were otherwise constrained to fixed ratios [23] (Fig. 1(d));

  3. while maximizing operand stationarity is key to reduce EMAs, prior CIM-based SNNs only support weight stationarity, and thus are ill-suited to layers that are bottlenecked by membrane-potential data movement (e.g., first layers of ResNet [33]). FlexSpIM introduces a uni-

fied weight/membrane potential memory that allows for a hybrid dataflow, making the best out of both weight stationarity (WS) and output (i.e., membrane potential) stationarity (OS) on a per-layer basis. This minimizes operand replacement in the CIM macro for the selected workload, thereby directly alleviating the data movement efficiency bottleneck of previous work (Fig. 1(d)).

The remainder of this paper is organized as follows. Section II reviews the background of spiking neurons for SCNNs and CIM architectures. Section III presents the proposed FlexSpIM architecture and discusses how it addresses the key challenges identified above. Section IV evaluates the proposed approach at the system level and compares it with a conventional weight-stationary dataflow. Finally, Section VI concludes the paper.

References (60)

  • Searching for MobileNetV3
  • ZigZag: Enlarging Joint Architecture-Mapping Design Space Exploration for DNN Accelerators
  • DPM: A 2T1C eDRAM Transformer-in-Memory Chip With Sparsity-Aware Quantization and Heterogeneous Dense-Sparse Core
  • Onyx: A 12-nm Programmable Accelerator for Dense and Sparse Applications
  • Sparsity-Aware Hardware: From Overheads to Performance Benefits
  • Eyeriss: A Spatial Architecture for Energy-Efficient Dataflow for Convolutional Neural Networks
  • Cnvlutin: Ineffective-Neuron-Free Deep Neural Network Computing
  • Cambricon-X: An Accelerator for Sparse Neural Networks
  • SCNN: An Accelerator for Compressed-Sparse Convolutional Neural Networks
  • Eyeriss v2: A Flexible Accelerator for Emerging Deep Neural Networks on Mobile Devices
  • Cnvlutin2: Ineffectual-Activation-and-Weight-Free Deep Neural Network Computing (opens arXiv in a new tab)
  • Abstracting Sparse DNN Acceleration via Structured Sparse Tensor Decomposition (opens arXiv in a new tab)
  • A $128 \times 128$ 120 dB 15 $\mu$s Latency Asynchronous Temporal Contrast Vision Sensor
  • Event Guided Depth Sensing
  • Event Camera Evaluation Kit 4 HD IMX636 Prophesee-Sony
  • Bottom-Up and Top-Down Approaches for the Design of Neuromorphic Processing Systems: Tradeoffs and Synergies Between Natural and Artificial Intelligence
  • Very Deep Convolutional Networks for Large-Scale Image Recognition
  • ImageNet Classification With Deep Convolutional Neural Networks
  • MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications
  • SpQuant-SNN: Ultra-Low Precision Membrane Potential With Sparse Activations Unlock the Potential of On-Device Spiking Neural Networks Applications
  • Sharing Leaky-Integrate-and-Fire Neurons for Memory-Efficient Spiking Neural Networks
  • Are SNNs Really More Energy-Efficient Than ANNs? An In-Depth Hardware-Aware Study
  • IMPULSE: A 65-nm Digital Compute-in-Memory Macro With Fused Weights and Membrane Potential for Spike-Based Sequential Learning Tasks
  • A 22nm 0.26nW/Synapse Spike-Driven Spiking Neural Network Processing Unit Using Time-Step-First Dataflow and Sparsity-Adaptive In-Memory Computing
  • NeuroCIM: ADC-Less Neuromorphic Computing-In-Memory Processor With Operation Gating/Stopping and Digital-Analog Networks
  • SpikeSim: An End-to-End Compute-in-Memory Hardware Evaluation Tool for Benchmarking Spiking Neural Networks
  • Hardware/Software Co-Design With ADC-Less In-Memory Computing Hardware for Spiking Neural Networks
  • DS-CIM: A 40nm Asynchronous Dual-Spike Driven, MRAM Compute-In-Memory Macro for Spiking Neural Network
  • SNNIM: A 10T-SRAM Based Spiking-Neural-Network-In-Memory Architecture With Capacitance Computation
  • SRIF: Scalable and Reliable Integrate and Fire Circuit ADC for Memristor-Based CIM Architectures
  • SpiDR: A Reconfigurable Digital Compute-in-Memory Spiking Neural Network Accelerator for Event-Based Perception (opens arXiv in a new tab)
  • A Reconfigurable 1T1C eDRAM-Based Spiking Neural Network Computing-In-Memory Processor for High System-Level Efficiency
  • Deep Residual Learning for Image Recognition
  • Single Neurons, Populations, Plasticity
  • RMP-SNN: Residual Membrane Potential Neuron for Enabling Deeper High-Accuracy and Low-Latency Spiking Neural Network
  • ANP-I: A 28nm 1.5pJ/SOP Asynchronous Spiking Neural Network Processor Enabling Sub-0.1μJ/Sample On-Chip Learning for Edge-AI Applications
  • SNPU: An Energy-Efficient Spike Domain Deep-Neural-Network Processor With Two-Step Spike Encoding and Shift-and-Accumulation Unit
  • C-DNN: An Energy-Efficient Complementary Deep-Neural-Network Processor With Heterogeneous CNN/SNN Core Architecture
  • Temporal binary representation for event-based action recognition
  • IMPACT: A 1-to-4b 813-TOPS/W 22-nm FD-SOI Compute-in-Memory CNN Accelerator Featuring a 4.2-POPS/W 146-TOPS/mm² CIM-SRAM With Multi-Bit Analog Batch-Normalization
  • HierCIM: A 16-Kb SRAM-Based Digital CIM Macro With Hierarchical Adder-Tree Accumulation for Edge CNN Inference
  • D6CIM: 60.4-TOPS/W All-Digital 6T-SRAM-Based Compute-in-Memory Macro Supporting 1-to-8b Fixed-Point Arithmetic in a 28-nm CMOS
  • A 101 TOPS/W and 1.73 TOPS/mm² 6T SRAM-based Digital Compute-in-Memory Macro Featuring a Novel 2T Multiplier
  • Colonnade: A Reconfigurable SRAM-Based Digital Bit-Serial Compute-In-Memory Macro for Processing Neural Networks
  • Neural Cache: Bit-Serial In-Cache Acceleration of Deep Neural Networks
  • A 28-nm 16-Kb SRAM Computing-in-Memory Macro With Dual Bitline Computing for Boolean Logic Operation and BWN MAC Operation
  • Bit Parallel 6T SRAM In-Memory Computing With Reconfigurable Bit-Precision
  • A 13.7 TFLOPS/W Floating-Point DNN Processor Using Heterogeneous Computing Architecture With Exponent-Computing-in-Memory
  • Impact of Analog Non-Idealities on the Design Space of 6T-SRAM Current-Domain Dot-Product Operators for In-Memory Computing
  • Low-Power and Area-Efficient CIM: An SRAM-Based Fully-Digital Computing-in-Memory Hardware Acceleration Processor With Approximate Adder Tree for Multi-Precision Sparse Neural Networks
  • DIMC: 2219TOPS/W 2569F²/b Digital In-Memory Computing Macro in 28nm Based on Approximate Arithmetic Hardware
  • A 28nm 38-to-102-TOPS/W 8b Multiply-Less Approximate Digital SRAM Compute-In-Memory Macro for Neural-Network Inference
  • Opportunities and Limitations of Emerging Analog in-Memory Compute DNN Architectures
  • Hardware Approximate Techniques for Deep Neural Network Accelerators: A Survey
  • Going Deeper in Spiking Neural Networks: VGG and Residual Architectures
  • ReckOn: A 28nm Sub-mm² Task-Agnostic Spiking Recurrent Neural Network Processor Enabling On-Chip Learning Over Second-Long Timescales
  • CACTI 7: New Tools for Interconnect Exploration in Innovative Off-Chip Memories
  • Two-Dimensional Packing Problems: A Survey
  • A Thousand Ways to Pack the Bin: A Practical Approach to Two-Dimensional Rectangle Bin Packing
  • A Low Power, Fully Event-Based Gesture Recognition System