由于密度、泄漏和并行计算挑战,深度学习硬件设计一直受到SRAM等传统存储器的挑战。电阻器件可以解决密度和易失性问题,但受到外围电路集成的限制。在这项工作中,我们展示了一个可扩展的RRAM为基础的存内计算的设计,称为XNOR-RRAM,这是在90纳米CMOS工艺与单片集成的RRAM器件之间的金属1和2。我们将128 x 64 RRAM阵列与包括行/列解码器和闪存模数转换器(ADC)在内的CMOS外围电路集成在一起,这些电路共同成为面向大型深度神经网络(DNN)的可扩展基于RRAM的存内计算的核心组件。为了最大限度地提高存内计算的并行性,我们同时置位RRAM阵列的所有128条字线,沿位线执行模拟计算,并使用ADC对复位电压进行复位。通过写验证方案收紧低阻态的电阻分布,并对ADC失调进行校准。原型芯片测量表明,所提出的设计分别实现了MNIST和CIFAR-10数据集的98.5%和83.5%的高二进制DNN准确度,能量效率分别为24 TOPS/W和158 GOPS吞吐量。与最先进的文献相比,这表示吞吐量、能量延迟乘积(EDP)和能量延迟平方乘积(ED 2 P)分别提高了5.6倍、3.2倍和14.1倍。所提出的XNOR-RRAM可以为面积/能量受限的边缘计算设备实现智能功能。
英文摘要:
Deep learning hardware designs have been bottlenecked by conventional memories such as SRAM due to density, leakage and parallel computing challenges. Resistive devices can address the density and volatility issues, but have been limited by peripheral circuit integration. In this work, we demonstrate a scalable RRAM based in-memory computing design, termed XNOR-RRAM, which is fabricated in a 90nm CMOS technology with monolithic integration of RRAM devices between metal 1 and 2. We integrated a 128x64 RRAM array with CMOS peripheral circuits including row/column decoders and flash analog-to-digital converters (ADCs), which collectively become a core component for scalable RRAM-based in-memory computing towards large deep neural networks (DNNs). To maximize the parallelism of in-memory computing, we assert all 128 wordlines of the RRAM array simultaneously, perform analog computing along the bitlines, and digitize the bitline voltages using ADCs. The resistance distribution of low resistance states is tightened by write-verify scheme, and the ADC offset is calibrated. Prototype chip measurements show that the proposed design achieves high binary DNN accuracy of 98.5% for MNIST and 83.5% for CIFAR-10 datasets, respectively, with energy efficiency of 24 TOPS/W and 158 GOPS throughput. This represents 5.6X, 3.2X, 14.1X improvements in throughput, energy-delay product (EDP), and energy-delay-squared product (ED2P), respectively, compared to the state-of-the-art literature. The proposed XNOR-RRAM can enable intelligent functionalities for area-/energy-constrained edge computing devices.