Abstract
In recent decades, neuromorphic computing aiming to imitate brains' behaviors has been developed in various fields of computer science. The Artificial Neural Network (ANN) is an important concept in Artificial Intelligence (AI), utilized in recognition and classification. To explore a better way to simulate brain behaviors efficiently on hardware, Spiking Neural Networks (SNNs) have emerged as an optimal choice. However, most current accelerator solutions rely on a CPU-accelerator architecture that is energy-inefficient due to complex control flows. This paper proposes Wenquxing 22A, a low-power neuromorphic processor that integrates general-purpose CPU functions with SNN capabilities via RISC-V SNN extension instructions. By embedding the SNN calculation unit directly into the pipeline of a general-purpose CPU, Wenquxing 22A achieves low-power computing using the RV-SNN V1.0 instruction set, a streamlined Leaky Integrate-and-Fire (LIF) model, and binary stochastic Spike-timing-dependent-plasticity (STDP). Experimental results on the MNIST dataset demonstrate that Wenquxing 22A improves energy efficiency by 5.13 times over the ODIN accelerator solution while achieving a classification accuracy of 91.91%.
Introduction
Traditional Artificial Neural Networks (ANNs) have driven significant advances in AI but remain computationally intensive and power-hungry, posing challenges for deployment in edge computing and IoT environments. Spiking Neural Networks (SNNs) offer a bio-inspired, event-driven alternative that promises substantial energy savings. Despite this potential, a major bottleneck persists in hardware implementation: the prevalent "CPU-accelerator" architecture. In such systems, the separation between the general-purpose control unit and the specialized neural accelerator introduces significant overhead in data movement and control flow management.
Wenquxing 22A addresses this by eliminating the "middleman." Instead of offloading SNN tasks, it integrates neuromorphic hardware directly into the processor's execution pipeline, treating neural updates as native operations.
Architecture and Methods
Wenquxing 22A is built upon the open-source NutShell framework, a 9-stage in-order RISC-V processor. The core innovation lies in the integration of a dedicated SNN Unit (SNNU) into the processor's backend.
The SNNU comprises three primary sub-components: the Spike Process Unit (SPU), the Neuron Unit (NU), and the Synapse Unit (SU). To facilitate this integration, the researchers developed the RV-SNN 1.0 instruction set extension. These custom instructions allow the CPU to manage neural updates with the same granularity as standard arithmetic operations, preventing pipeline stalls during complex updates. The design utilizes 1-bit (binary) weights and a Binary Stochastic Spike-Timing-Dependent Plasticity (STDP) rule to maintain a lean hardware footprint.
Experimental Setup and Results
The processor was evaluated using the MNIST dataset. Pre-processing involved deskewing and soft thresholding to improve feature clarity, followed by conversion into spike trains using a Poisson encoder. The entire system was implemented on an Alveo U250 FPGA for performance verification against the ODIN (Online-learning Digital Spiking Neuromorphic) processor.
Energy Efficiency and Accuracy
As shown in Figure 4, Wenquxing 22A demonstrates a dramatic reduction in power consumption. The total power draw was measured at 5.055W, compared to 25.949W for the ODIN-based system—a 5.13x improvement. This efficiency stems from the reduced control overhead and minimized data movement inherent in the integrated pipeline design.
On the MNIST task, Wenquxing 22A achieved a maximum classification accuracy of 91.91% using 40 neurons and 1-bit weights. This outperformed the 3-bit ODIN system, which reached 85.00% accuracy. Interestingly, researchers observed a "dead neuron" phenomenon when scaling the network size, which was mitigated by tuning the $w_{exp}$ parameter to regulate the probability of Long-Term Depression (LTD).
Conclusion
Wenquxing 22A represents a significant step toward efficient, open-source neuromorphic hardware. By integrating SNN capabilities directly into a RISC-V pipeline, the design achieves superior energy efficiency without sacrificing accuracy. Future work will focus on scaling the architecture to support multi-layer networks and moving toward physical ASIC implementation to further validate these power savings.
The source code for Wenquxing 22A is available on GitHub and Gitee.
Summary updated