[Paper Review] Computational RAM to Accelerate String Matching at Scale
This paper proposes CRAM-PM, a reconfigurable spintronic in-memory computing substrate based on STT-MRAM that enables true in-memory string matching by integrating logic gates directly into memory cells. By adding a control transistor to each magnetic tunnel junction (MTJ) cell, CRAM-PM allows each cell to act as a logic input or output without sacrificing memory density, achieving high parallelism and energy efficiency for large-scale pattern matching workloads.
Traditional Von Neumann computing is falling apart in the era of exploding data volumes as the overhead of data transfer becomes forbidding. Instead, it is more energy-efficient to fuse compute capability with memory where the data reside. This is particularly critical for pattern matching, a key computational step in large-scale data analytics, which involves repetitive search over very large databases residing in memory. Emerging spintronic technologies show remarkable versatility for the tight integration of logic and memory. In this paper, we introduce CRAM-PM, a novel high-density, reconfigurable spintronic in-memory compute substrate for pattern matching.
Motivation & Objective
- Address the growing performance and energy bottleneck in large-scale data analytics caused by data movement in traditional von Neumann architectures.
- Overcome the limitations of conventional PIM and PNM approaches by enabling true in-memory computation with high density and reconfigurability.
- Design a scalable, reconfigurable in-memory substrate that supports complex logic operations directly within memory arrays for pattern matching workloads.
- Demonstrate the feasibility and performance benefits of CRAM-PM for large-scale string matching, a core operation in bioinformatics and cybersecurity.
- Validate the robustness of CRAM-PM against process variation and ensure reliable logic operation across diverse configurations.
Proposed method
- Extend standard 1T1M MRAM cells with an additional transistor (T_L) to enable dynamic reconfiguration between memory and logic modes.
- Use the resistance states of MTJs (R_high for logic 1, R_low for logic 0) to represent logic values and form resistive dividers for logic computation.
- Implement logic gates (e.g., NOR, AND, OR) by configuring selected cells as inputs and outputs in a row, with only one active gate per row at a time.
- Enable parallel computation across all rows by activating the same column positions simultaneously, allowing massive data-level parallelism.
- Use a logic bit line (LBL) and logic line (LL) to route signals and control gate formation, with the LBL set to 0 to isolate logic functions during memory access.
- Ensure non-disruptive computation by preserving stored MTJ states even when used as logic inputs, maintaining data integrity during processing.
Experimental results
Research questions
- RQ1Can a spintronic in-memory architecture achieve true in-memory computation without compromising memory density or scalability?
- RQ2How effectively can CRAM-PM support complex, reconfigurable logic operations (e.g., Boolean gates) within a memory array for pattern matching?
- RQ3What is the performance and energy efficiency of CRAM-PM for large-scale string matching compared to conventional von Neumann and PIM architectures?
- RQ4How robust is CRAM-PM to process variation in switching currents across MTJ cells during logic operation?
- RQ5Can CRAM-PM support high-throughput, parallel string matching by enabling computation at any location within the memory array?
Key findings
- CRAM-PM enables true in-memory computation by allowing each memory cell to dynamically serve as a logic input or output without sacrificing memory density.
- The architecture supports a functionally complete set of Boolean gates through reconfiguration, enabling arbitrary logic computation within the memory array.
- Each row supports only one active gate at a time, but all rows can perform the same logic operation in parallel, enabling massive data-level parallelism.
- The design is robust to process variation, with simulations showing stable gate operation under ±5%, ±10%, and ±20% variation in switching current.
- The proof-of-concept implementation for string matching demonstrates high throughput and energy efficiency, indicating strong potential for large-scale data analytics workloads.
- CRAM-PM avoids the limitations of prior approaches such as data movement overhead, sneak currents, and reliance on sense amplifiers or dedicated compute rows.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.