CSA-CiM: Enhancing Multi-Functional Computing-in-Memory with Configurable Sense Amplifiers
Yuxiao Jiang,Kai Ni,Thomas Kämpfe,Cheng Zhuo,Zheyu Yan,Xunzhao Yin
DOI: https://doi.org/10.1109/tcad.2024.3506864
IF: 2.9
2024-01-01
IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems
Abstract:Computing-in-memory (CiM) effectively alleviates the memory wall problem faced by traditional von Neumann architectures when handling data-intensive applications. Most CiM arrays employ dedicated sense amplifiers (SAs) to perform specific functions, and prior configurable CiM arrays achieve multi-functionality by stacking multiple SAs with corresponding functions. However, the independent nature of these SAs, particularly the analog-to-digital converter (ADC), results in excessive energy and area consumption. In this paper, we propose a configurable multi-functional ferroelectric field effect transistor (FeFET) based CiM array design, including configurable peripheral circuit with corresponding multi-functionalities and reusable SA components to reduce energy consumption and latency. The array cells perform logical AND and XNOR operations, and the proposed SA can be configured to operate in either ADC or winner-take-all (WTA) modes, thereby enabling the array to implement both multiplication-accumulation (MAC) and associative search operations. Instead of operating independently, the WTA component within the SA participates as a Flash stage in successive approximation register (SAR) conversions in ADC mode, thus enhancing the WTA utilization, energy efficiency and compactness. By integrating the multi-functional CiM array and the configurable SA, our design supports MAC, Hamming-distance computation (HDC), and nearest-neighbor search (NNS) operations within the same structure. Compared to existing works, our design achieves energy efficiency improvements of 7.2x for MAC, 2.9x for HDC, and EDP improvement of 6.4x for NNS, respectively.