arXiv:2610.38118cs.NEOct 2026

Manuscript Offprint

arXiv:2610.38118

FPGAFly: A 166.7k-Neuron Fruit-Fly Connectome on One FPGA via Deferred Spike Expansion and Shared-Codeword States

YE Ziyang

Ye Ziyang

Department of Electrical Engineering and Information Systems

Graduate School of Engineering, The University of Tokyo

Tokyo, Japan

ye_zy@silicon.t.u-tokyo.ac.jp

Abstract—Synapse-resolution fruit-fly (Drosophila) connectomes enable neuron-by-neuron simulation of entire insect nervous systems, yet whole-brain models still require computationally demanding software or multiple neuromorphic chips, and single FPGAs support only small or statistical networks. Scaling to the full connectome, per-synapse spike expansion scales queue traffic with fan-out up to 11.2k, while 41-bit neuron states require 6.83 Mbit, exceeding the 6.27 Mbit on-chip block static RAM (BSRAM) of the target device. FPGAFly runs the 166.7k-neuron, 25.6M-connection leaky integrate-and-fire male central nervous system (CNS) connectome on one FPGA. Order-preserving deferred expansion queues one 64-bit descriptor per spike in source-ID order, cutting external memory traffic by 54.5%–57.9% and peak queue data by 95.6%–96.5% with bit-identical results. A 24-bit encoding shares codewords across normal, refractory, and quantized out-of-range states, reducing BSRAM usage from 438 to 270 with 1245 extra LUTs and zero changes across 10,000 MNIST predictions. At 80 MHz on a Gowin GW5AST-LV138, each 100 ms window finishes in 86.83 ms on average and within 93.05 ms across 2000 tests, realizing the first complete Drosophila CNS connectome simulation on one FPGA.

Keywords—Drosophila connectome, large-scale neural simulation, memory-efficient architecture, neuromorphic computing, spiking neural networks

I. INTRODUCTION

Synapse-resolution connectomes now cover the complete adult Drosophila brain [1] and the entire male central nervous system (CNS), including the ventral nerve cord [2]. Connectome-derived networks yield experimentally confirmed predictions of taste-driven feeding [3] and visual activity [4], while neuromechanical models simulate walking and flight under multisensory input [5]–[7]. Coupling these models with real-world sensors and actuators would require real-time execution.

Large-scale simulators support statistical networks [8], [9]. Pattern-based and procedural connectivity reduce storage [10], [11], whereas connectomes require explicit per-connection storage. Software simulations of whole-brain Drosophila models still run 4.4–14× slower than real time in Brian 2 [3], [12], [13]. While neuromorphic chips [14]–[17] and multi-FPGA systems [18], [19] provide high capacity, simulating the 140k-neuron FlyWire brain requires 12 Loihi 2 chips [13], and single FPGAs support only trained networks [20], [21] or a 2.2k-neuron olfactory circuit [22].

Memory is the primary bottleneck. Expanding each spike at emission into per-synapse delay-queue records scales external memory traffic with fan-out, which is heavy-tailed in fly connectomes [23] and reaches 11.2k here. Meanwhile, storing two 18-bit neuron states and a 5-bit refractory counter requires 41 bits per neuron, or 6.83 Mbit for the 166.7k-neuron CNS, exceeding our target FPGA's 6.27 Mbit of block static RAM (BSRAM). Off-chip storage is impractical because updating every neuron each 0.1 ms step requires about 17 GB/s of state traffic, 6.7×6.7 \times the DDR3 controller's 2.56 GB/s peak.

Layerwise dataflows [21], [24] require a feed-forward order that recurrent connectomes lack. Address-event communication [25], source-indexed row lookup [26], and hierarchical routing memories [27] avoid per-synapse queue records, but our model saturates and quantizes states on each delivered event, so queueing spikes in parallel lane completion order alters trajectories. For state storage, narrowing independent fixed-point fields [28] either fails 80 MHz timing at 29 bits or distorts dynamics at 24 bits.

FPGAFly 1^{1} exploits model delay and reset bounds to fit on a single Gowin GW5AST-LV138 FPGA, as shown in Fig. 1. Uniform 18-step source delays and 22-step refractoriness allow bitmap-ordered deferred expansion to queue at most one 64-bit descriptor per neuron, cutting external memory traffic by 54.5%–57.9% with bit-identical results. Firing and refractory resets leave unused codes for a 24-bit encoding to pack refractory and quantized out-of-range values alongside normal states, reducing BSRAMs from 438 to 270 with 1245 extra LUTs and zero changed MNIST predictions. At 80 MHz, FPGAFly finishes 2000 100 ms windows in 86.83 ms on

This work has been submitted to IEEE for possible publication. Copyright may be transferred without notice, after which this version may no longer be accessible.

1^{1}Source code: https://github.com/ZiyangYE/FPGAFLY_ISCAS2027

Figure

Fig. 1. FPGAFly architecture. (a) System dataflow and execution phases. (b) Compute unit with parallel integration and serial event updates. (c) Shared 24-bit state encoding.

average and within 93.05 ms, realizing the first complete Drosophila CNS connectome simulation on one FPGA.

References (29)