Trading BRAM for LUTs: Hybrid Bit-Level Weight Storage for FPGA-Based Spiking Neural Networks
Organizations: Integrated Circuits Lab, Electrical and Computer Engineering, Democritus University of Thrace (DUTH), Greece
Abstract
Spiking Neural Networks (SNNs) offer an attractive paradigm for energy-efficient AI inference, while their deployment on reconfigurable hardware enables application-specific acceleration without sacrificing model reprogrammability. However, realizing this potential on FPGAs is often severely constrained by the immense on-chip memory needed to store synaptic weights. Existing compression techniques reduce this storage requirement at the cost of weight precision or accuracy. This work presents a hybrid bit-level weight-storage scheme that trades BRAM capacity for FPGA logic resources while preserving the original weights unmodified. Selected weight bits are implemented using Look-Up Tables (LUTs), while the remaining bits are stored in BRAM and jointly reconstructed during inference. We integrate this approach into a spatial dataflow SNN architecture and introduce a practical bit-mapping heuristic that efficiently partitions weight bits between BRAM and LUT-based logic without modifying the weights. Experimental evaluation demonstrates more than 26% reduction in BRAM utilization with a modest increase in LUT and register usage, resulting in significant overall power savings.
Figures & tables
| Dataset | MNIST | MNIST Large | ||||||
| Implementation | Proposed | Spiker+ [-1pt] [ 17 ] | ModNEF [-1pt] [ 7 ] | TripleBrain [-1pt] [ 26 ] | MorphBungee Tiny [-1pt] [ 27 ] | Proposed | ModNEF [-1pt] [ 7 ] | [ 28 ] |
| L1: 23% | L1: 23% | |||||||
| L2: 100% | L2: 22% | |||||||
| L3: 100% | ||||||||
| Zynq FPGA | 7020 | 7020 | 7010 | 7045 | 7010 | 7020 | 7010 | 7045 |
| SNN topology | 784-128-10 | 784-128-10 | 784-128-10 | 784-256 | 256-256-10 | 784-392-196-10 | 784-392-196-10 | 784-512-100 |
| Dataset | AudioMNIST | SHD | ||
| Implementation | Proposed | Spiker+ [-1pt] [ 17 ] | Proposed | Spiker+ [-1pt] [ 17 ] |
| L1: 28% | L1: 20% | |||
| L2: 100% | L2: 100% | |||
| Zynq FPGA | 7020 | 7020 | 7020 | 7020 |
| SNN topology | 40-150-10 | 40-150-10 | 700-200-20 | 700-200-20 |
| Acc (%) | 92.60 | 89.82 | 72.20 | 72.99 |
| Dataset | MNIST | MNIST Large | AudioMNIST | SHD |
| Implementation | L1: 61% | L1: 31% | L1: 80% | L1: 36 % |
| L2: 100% | L2: 31% | L2: 100% | L2: 100% | |
| L3: 100% | ||||
| LUTs | 10561 | 32450 | 12433 | 17423 |
| FFs | 4663 | 14719 | 4067 | 6886 |
| BRAM36 | 5 | 75 | 2 | 25 |
FPGA-Based Neural Network Acceleration
Field-programmable gate array (FPGA)-based neural network acceleration maps models to reconfigurable hardware for fast, energy-efficient inference.
See all 101 papers