Litcius/Paper detail

In‐Memory Hamming Weight Calculation in a 1T1R Memristive Array

Long Cheng, Jiancong Li, Hao‐Xuan Zheng, Peng Yuan, Jiahao Yin, Ling Yang, Qing Luo, Yi Li, Hangbing Lv, Ting‐Chang Chang, Xiangshui Miao

2020Advanced Electronic Materials28 citationsDOI

Abstract

Abstract In‐memory computing enabled by advanced nonvolatile memory technologies, such as memristors and memristive devices, emerges as a promising approach to accelerate certain data‐intensive algorithms, and thus outperforms the von Neumann computing in terms of processing latency and energy efficiency. In this work, an efficient method to calculate the Hamming weight (HW) of a binary string in a one‐transistor‐one‐resistor (1T1R) memristive array is proposed, which can be beneficial for various computation tasks. Specifically, the target string is converted to a voltage vector and multiplies with an “all‐1” string pre‐stored in the resistance of the row, which equals to a binary matrix multiplication or AND logic operation. The in situ stored HW calculation result is then read out through a current accumulation operation. As a proof‐of‐concept demonstration, 4 bit and 8 bit HW calculation is successfully implemented in experiment and simulation, respectively. In addition, the influence of the resistance variation on the calculation correctness is discussed. This work broadens the application range of using emerging nonvolatile memories for classical information processing in hardware level with high efficiency.

Topics & Concepts

MemristorComputer scienceBit arrayHamming weightCorrectnessHamming distanceBinary numberNon-volatile memoryHamming codeParallel computingComputationMultiplication (music)Array data structureComputer hardwareAlgorithmElectronic engineeringArithmeticMaterials scienceMathematicsBlock codeDecoding methodsEngineeringCombinatoricsMetallurgyDrillingProgramming languageAdvanced Memory and Neural ComputingFerroelectric and Negative Capacitance DevicesPhotoreceptor and optogenetics research