Introduction
The "von-Neumann bottleneck"—the energy-intensive transfer of data between separate memory and processing units—remains the primary obstacle to deploying deep learning on edge devices. While Binary Neural Networks (BNNs) significantly reduce computational complexity by using 1-bit weights and activations, traditional hardware still suffers from the overhead of fetching these bits for processing. Xcel-RAM addresses this by transforming the memory array itself into a compute engine. By redesigning SRAM arrays to perform binary convolutions (XNOR + popcount) in-place, this architecture achieves massive gains in speed and efficiency while maintaining the flexibility of general-purpose computing.
Proposed Architectures
The core of Xcel-RAM is a modified 10-transistor (10T) SRAM bitcell. Unlike standard 6T cells, the 10T design provides decoupled read and write ports, which is essential for In-Memory Computing (IMC) to prevent "read disturbs"—the accidental flipping of stored bits during computation. The researchers proposed two distinct designs leveraging this bitcell:
Proposal-A: Charge-Sharing and Analog Sensing
This approach utilizes the inherent parasitic capacitance of the SRAM's internal lines to perform XNOR operations. The process occurs in two steps: first, an "activation" row is read into the bitlines; second, a "kernel" row is activated, causing charge to flow into or out of a Source Line (SL) based on the XNOR result between the stored kernel and the activation.
To convert the resulting analog voltage on the SL into a digital popcount, the authors developed a low-precision, dual-stage Analog-to-Digital Converter (ADC). This ADC classifies the voltage into sub-ranges before using a counter to determine the final value, balancing area efficiency with computational accuracy.
Proposal-B: Digital Bit-Tree
In contrast, Proposal-B is purely digital. It uses asymmetric sense amplifiers to perform bitwise XNOR, NAND, or NOR operations directly on the bitlines. These results are then fed into a digital bit-tree adder located in the memory's peripheral circuitry, which sums the bits across the row to produce an exact popcount.
System-Level Innovations
To maximize throughput, Xcel-RAM introduces sectioned-SRAM. By adding switches to the bitlines, a single memory bank can be partitioned into independent sections. This allows a single activation to be convolved with multiple kernels simultaneously, effectively turning a sequential memory access into a parallel compute engine.
The architecture was integrated into a system-level framework using a modified Nios-II processor. Custom Instruction Set Architecture (ISA) extensions were implemented to trigger these in-memory operations, ensuring the design remains programmable and adaptable to various neural network topologies.
Experimental Results
The designs were simulated using 45nm CMOS technology and evaluated against a baseline conventional SRAM system using the CIFAR-10 dataset and a binarized VGG-like network.
- Performance: Proposal-A achieved a 15.8× latency reduction and a 6.1× energy improvement. Proposal-B, while slower than the analog approach, still provided an 8.1× speedup and 2.3× better energy efficiency than the baseline.
- Accuracy: Proposal-B maintained the ideal BNN accuracy of 89.29%. Proposal-A saw a negligible drop of only ~0.58% (to 88.71%) due to ADC noise and process variations, demonstrating that analog approximation is a highly viable trade-off for edge AI tasks.
Conclusion and Future Work
Xcel-RAM demonstrates that in-SRAM computing can effectively bypass the von-Neumann bottleneck for BNNs. While the 10T bitcell is larger than standard 6T cells, the resulting gains in throughput and energy efficiency justify the area overhead for power-constrained applications. Future research may explore applying these charge-sharing and bit-tree techniques to emerging non-volatile memory technologies like RRAM or MRAM to further increase density and efficiency.
Summary updated