CAM Match Line Power Reduction via Pre-Compare Population Count Filtering

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Content addressable memory (CAM) devices face significant power consumption issues due to the alternating charging and discharging of match lines during compare operations, which limits memory size and scalability, especially in ternary CAM devices where additional circuits increase power consumption and latency.

Innovation Solution

A pre-compare circuit that selectively enables match lines in the CAM array based on population counts of the search key and ternary words, determining whether a match is possible to avoid unnecessary pre-charging, thereby reducing power consumption.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If match lines are pre-charged toward supply voltage prior to compare operation, then match detection accuracy is improved, but power consumption increases significantly

Engineering Contradiction:
Improvematch detection accuracyVSAvoidpower consumption
Core Design Contradiction:
Measurement precisionVSUse of energy by moving object

Solution Approach 1:

The patent applies preliminary action by performing a pre-compare operation using population counts before the actual compare operation. The pre-compare circuit calculates population counts of the search key and compares them with stored population counts to determine whether a match is possible, thereby avoiding unnecessary pre-charging of match lines and reducing power consumption while maintaining match detection accuracy when needed

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent changes the parameter of match line charge state from always charged to selectively charged based on population count comparison results. By modifying the charging state parameter conditionally, the system achieves both power savings and accurate match detection when required

Inventive Principle:
Principle #35Parameter changes

2Quantity of substance

If CAM array size and density are increased, then memory capacity is improved, but power consumption from match line charging increases

Engineering Contradiction:
Improvememory capacityVSAvoidpower consumption
Core Design Contradiction:
Quantity of substanceVSUse of energy by moving object

Solution Approach 1:

The pre-compare operation using population counts is performed in advance to filter out rows that cannot possibly match, reducing the number of match lines that need to be pre-charged for the actual compare operation. This allows larger CAM arrays to operate with lower power consumption by minimizing unnecessary charging operations across all rows

Inventive Principle:
Principle #10Preliminary action

3Use of energy by moving object

If pre-compare operations are implemented, then power consumption is reduced, but device complexity increases

Engineering Contradiction:
Improvepower consumptionVSAvoidcircuit complexity
Core Design Contradiction:
Use of energy by moving objectVSDevice complexity

Solution Approach 1:

The patent introduces an intermediary pre-compare circuit that uses population count calculations as a filtering mechanism. This intermediary structure sits between the search key input and the main CAM array, performing preliminary filtering to determine which rows should undergo full comparison, thereby reducing overall power consumption with added computational steps

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent replaces the traditional mechanical approach of charging all match lines with a computational approach using population count comparisons. By substituting the purely electrical charging mechanism with a logical comparison mechanism first, the system reduces unnecessary charging operations while managing complexity through algorithmic logic

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Data Source

PatentUS9019737B2Power savings in a content addressable memory device using masked pre-compare operations
Publication Date: 2015.04.28 AVAGO TECHNOLOGIES INTERNATIONAL SALES PTE LTD
  • US9019737B2 patent drawing
  • US9019737B2 patent drawing
  • US9019737B2 patent drawing

AI summary

A CAM device for comparing a search key with a plurality of ternary words stored in a CAM array includes one or more population counters, a pre-compare memory, and a pre-compare circuit. The present embodiments reduce the power consumption of CAM devices during compare operations between a search key and ternary words stored in a CAM array by selectively enabling the match lines in the CAM array in response to pre-compare operations between a set of population counts corresponding to the masked search key and a set of population counts corresponding to the ternary words stored in the CAM array.