Efficient Logic-In-Memory Design for STT-RAM
Abstract
Logic-in-memory (LiM) computing reduces the von Neumann bottleneck by enabling computation within memory, minimizing data movement and improving energy efficiency. This paper proposes a novel LiM circuit for OR/NOR, AND/NAND, and XOR/XNOR operations within Spin Transfer Torque RAM (STT-RAM) bit cells using a unified architecture. Unlike conventional methods requiring reading and writing data into additional magnetic tunnel junctions (MTJs), our approach performs logic directly within standard STT-RAM cells, reducing energy and delay. Moreover, the proposed circuit can be integrated into existing STT-RAM memory blocks without necessitating any structural modifications. Simulations show at least 30% delay reduction for AND and 38% for OR compared to existing designs, while achieving lower or comparable energy consumption. Although the reported XOR energy appears higher, the proposed approach remains more energy-efficient when factoring in the unreported energy and delay costs of data transfer in prior works. The circuit uses only one additional MTJ and 14 transistors, significantly fewer than prior designs. These results demonstrate a compact, energy-efficient solution for high-performance computing applications.