A low-power Content-Addressable Memory based on clustered-sparse networks

Hooman Jarollahi, Vincent Gripon, Naoya Onizawa, Warren J. Gross

Introduction

Content-Addressable Memory (CAM) serves as the high-speed "search engine" of modern hardware, enabling data retrieval based on content rather than specific memory addresses. This capability is critical for performance-intensive applications such as network routers and translation look-aside buffers (TLBs). However, traditional CAM architectures are notoriously power-intensive. To achieve single-cycle lookups, they typically compare an input "tag" against every entry in the memory simultaneously. This massive parallel operation continuously charges and discharges highly capacitive search lines, leading to substantial dynamic energy consumption.

This paper proposes a novel CAM architecture that leverages a Clustered-Sparse-Network (CNN)—a type of associative memory—to act as a front-end classifier. By predicting the location of a data match before the full search is executed, the system activates only a small fraction of the memory, drastically reducing power requirements.

Architecture and Methodology

The proposed design introduces a hierarchical approach to memory search. The CAM array is partitioned into several independent sub-blocks. When a search tag arrives, it is first processed by the CNN front-end. To minimize hardware complexity, the system uses a truncated, "reduced-length" version of the tag ($q$ bits) for this initial classification.

Figure 1: High-level block diagram of the proposed CAM architecture, showing the CNN front-end, partitioned CAM blocks, and the Data SRAM.

The CNN is trained to associate these truncated tags with specific CAM sub-blocks. It generates "compare-enable" signals that wake up only the sub-blocks likely to contain the match. On average, this predictive activation narrows the search down to just two sub-blocks. The CNN's "neurons" and "weights" are implemented using standard SRAM modules and basic logic gates (AND/OR), ensuring the classification process is both fast and energy-efficient.

Key Insights: The Power of Truncation

A central finding of this research is the effectiveness of tag truncation. By using only $q$ bits for the initial classification, the system significantly lowers hardware overhead. The authors demonstrate that even with a limited number of bits, the system can effectively manage "ambiguities" (false-positive sub-block activations).

Figure 4: Average number of required comparisons versus the number of bits in the truncated tag (q), demonstrating how increasing q reduces the search space.

As shown in the experimental data, as the number of bits in the truncated tag increases, the average number of required comparisons drops sharply, eventually plateauing. This allows designers to find an optimal balance between the complexity of the CNN and the power savings in the CAM array.

Performance Results

The architecture was implemented and simulated using 0.13µm CMOS technology and compared against a conventional NAND-type CAM. The results indicate a transformative improvement in efficiency:

  • Energy Efficiency: The design consumes only 9.5% of the energy of a conventional NAND CAM (0.124 fJ/bit/search vs. 1.30 fJ/bit/search).
  • Search Speed: The search delay is reduced to 30.4% of the conventional design (0.70 ns vs. 2.30 ns).
  • Minimal Overhead: These gains were achieved with a negligible 3.4% increase in total transistor count.

Conclusion and Future Work

By integrating a sparse neural network directly into the CAM architecture, this research provides a viable path toward ultra-low-power hardware search engines. While the current design assumes a relatively uniform distribution of input tags, future work will explore its robustness against highly correlated data and its scalability to the massive tables required by high-end backbone routers. The predictive sparsity approach demonstrates that intelligent, hardware-integrated classification can solve long-standing power challenges in high-speed memory design.

Summary updated

BibTeX
@inproceedings{jarollahi2013low,
  author = {Hooman Jarollahi and Vincent Gripon and Naoya Onizawa and Warren J. Gross},
  title = {{A low-power Content-Addressable Memory based on clustered-sparse networks}},
  booktitle = {ASAP},
  year = {2013},
  doi = {10.1109/asap.2013.6567594},
}
Figure