# US 2014/0218994 A1 · Power Savings in a Content Addressable Memory Device Using Masked Pre-Compare Operations

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2014/0218994 A1
- Document ID: US20140218994A1
- Status: Published application
- Kind: A1
- Application number: 14/142,281
- Filed: 2013-12-27
- Published: 2014-08-07
- Earliest claimed: 2012-01-06
- Assignees: NetLogic Microsystems, Inc.
- Applicants: NetLogic Microsystems, Inc.
- Inventors: Dimitri Argyres
- Web page: https://patentgrep.com/patent/US20140218994A1

## CPC

- G11C 5/14: Power supply arrangements {, e.g. power down, chip selection or deselection, layout of wirings or power grids, or multiple supply levels}
- G11C 15/00: Digital stores in which information comprising one or more characteristic parts is written into the store and in which information is read-out by searching for one or more of these characteristic parts, i.e. associative or content-addressed stores
- G11C: STATIC STORES (semiconductor memory devices H10B)

## Abstract

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.

## Claims

### Claim at position 1

-32. (canceled)

### Claim 33

A content addressable memory (CAM) device, comprising:
a CAM array having a plurality of rows of CAM cells, each row of the plurality of rows storing an associated word and being coupled to a corresponding match line; and
a pre-compare circuit, coupled to the CAM array, configured to compare a first data population count with a first key population count and a second data population count with a second key population count to determine whether a search key can match the word stored in each row of the plurality of rows.

### Claim 34 (depends on 33)

The CAM device of claim 33, wherein the pre-compare circuit is further configured to selectively enable the match lines of corresponding rows of the CAM array to be pre-charged in response to the comparisons.

### Claim 35 (depends on 34)

The CAM device of claim 34, wherein the pre-compare circuit is further configured to assert a corresponding enable signal to allow the match lines of corresponding rows of the CAM array to be pre-charged when the first key population count is greater than or equal to the first data population count and the second data population count is greater than or equal to the second key population count.

### Claim 36 (depends on 35)

The CAM device of claim 35, wherein the pre-compare circuit is further configured to de-assert the associated enable signal when either:
the second data population count is less than the second key population count; or
the first key population count is less than the first data population count.

### Claim 37 (depends on 35)

The CAM device of claim 35, wherein:
the pre-compare circuit comprises a comparator configured to conduct the comparisons sequentially to generate a first comparison result and a second comparison result, wherein:
the first comparison result is stored in a memory; and
a second comparison result is combined with the first comparison result to generate the corresponding enable signal.

### Claim 38 (depends on 35)

The CAM device of claim 35, further comprising match-line control circuitry configured to pre-charge the match lines of corresponding rows of the CAM array in response to the enable signal.

### Claim 39 (depends on 33)

The CAM device of claim 33, wherein pre-compare circuit comprises:
a first input to receive the first and second data population counts from a pre-compare memory;
a second input to receive the first and second key population counts from a population counter; and
a plurality of outputs coupled to corresponding rows of the CAM array.

### Claim 40 (depends on 33)

The CAM device of claim 33, wherein:
the first and second data population counts are based on bits of the word stored in each row of the plurality of rows of the CAM array; and
the first and second key population counts are based on bits of a masked search key.

### Claim 41

A method of comparing a search key with a plurality of words stored in corresponding rows of a content addressable memory (CAM) array, the method comprising:
generating first data population count and a second data population count for the plurality of words;
generating a first key population count and a second key population count for the search key;
pre-charging match lines corresponding to rows of the CAM array when the first key population count is greater than or equal to the first data population count and the second data population count is greater than or equal to the second key population count.

### Claim 42 (depends on 41)

The method of claim 41, wherein:
the first and second data population counts are based on bits of the word stored in each row of the CAM array and
the first and second key population counts are based on bits of a masked search key.

### Claim 43 (depends on 41)

The method of claim 41, further comprising:
de-asserting an enable signal when the second data population count is less than the second key population count or the first key population count is less than the first data population count.

### Claim 44 (depends on 41)

The method of claim 41, wherein the pre-charging the match lines comprises:
conducting comparison sequentially to generate a first comparison result and a second comparison result;
storing the first comparison result in memory; and
combining the first comparison result with the second comparison result to generate a corresponding enable signal, wherein the corresponding enable signal indicates that the match lines are to be to be pre-charged.

### Claim 45

A content addressable memory (CAM) device for comparing a search key with a plurality of ternary words, comprising:
a CAM array having a plurality of rows of CAM cells, each row of the plurality of rows storing an associated word and being coupled to a corresponding match line;
a pre-compare memory that stores a first data population count and a second data population count for a corresponding word stored in the CAM array; and
a pre-compare circuit configured to compare the first data population count with a first key population count and the second data population count with a second key population count.

### Claim 46 (depends on 45)

The CAM device of claim 45, wherein the pre-compare circuit is further configured to selectively enable the match lines of corresponding rows of the CAM array to be pre-charged in response to the comparisons.

### Claim 47 (depends on 46)

The CAM device of claim 46, wherein the pre-compare circuit is further configured to assert a corresponding enable signal to allow the match lines of corresponding rows of the CAM array to be pre-charged when the first key population count is greater than or equal to the first data population count and the second data population count is greater than or equal to the second key population count.

### Claim 48 (depends on 47)

The CAM device of claim 47, wherein the pre-compare circuit is further configured to de-assert the associated enable signal when either:
the second data population count is less than the second key population count; or the first key population count is less than the first data population count.

### Claim 49 (depends on 47)

The CAM device of claim 47, wherein:
the pre-compare circuit comprises a comparator configured to conduct the comparisons sequentially to generate a first comparison result and a second comparison result, wherein:
the first comparison result is stored in a memory; and
a second comparison result is combined with the first comparison result to generate the corresponding enable signal.

### Claim 50 (depends on 47)

The CAM device of claim 47, further comprising match-line control circuitry configured to pre-charge the match lines of corresponding rows of the CAM array in response to the enable signal.

### Claim 51 (depends on 45)

The CAM device of claim 45, wherein pre-compare circuit comprises:
a first input to receive the first and second data population counts from a pre-compare memory;
a second input to receive the first and second key population counts from a population counter; and
a plurality of outputs coupled to corresponding rows of the CAM array.

### Claim 52 (depends on 45)

The CAM device of claim 45, wherein:
the first and second data population counts are based on bits of the word stored in each row of the plurality of rows of the CAM array; and
the first and second key population counts are based on bits of a masked search key.
