# US 10,957,391 B2 · Array organization and architecture to perform range-match operations with content addressable memory (CAM) circuits

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

- Number: US 10,957,391 B2
- Document ID: US10957391B2
- Status: Granted
- Kind: B2
- Application number: 16/548,477
- Filed: 2019-08-22
- Published: 2019-12-12
- Granted: 2021-03-23
- Earliest claimed: 2014-01-06
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: John E. Barth, Jr.; Dean L. Lewis
- Web page: https://patentgrep.com/patent/US10957391B2

## CPC

- G11C 15/046: {using non-volatile storage elements}
- 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 15/04: using semiconductor elements
- G11C: STATIC STORES (semiconductor memory devices H10B)

## Abstract

An array organization and architecture for a content addressable memory (CAM) system. More specifically, a circuit is provided for that includes a first portion of the CAM configured to perform a first inequality operation implemented between 1 to n CAM entries. The circuit further includes a second portion of the CAM configured to perform a second inequality operation implemented between the 1 to n CAM entries. The first portion and the second portion are triangularly arranged side by side such that the first inequality operation and the second inequality operation are implemented between the 1 to n CAM entries using the same n wordlines.

## Claims

### Claim 1

A circuit comprising:
a content addressable memory (CAM) configured to perform a first inequality operation implemented between 1 to n CAM entries,
wherein two valid bits are provided for each of the 1 to n CAM entries as extra bits, in addition to data bits defining each of the 1 to n CAM entries, to indicate that the data bits defining each of the 1 to n CAM entries comprise a valid pattern, and
further comprising:
a first portion of the content addressable memory (CAM) being configured to perform the first inequality operation implemented between the 1 to n CAM entries, wherein the 1 to n CAM entries of the first portion are read from left to right to perform the first inequality operation; and
a second portion of the CAM being configured to perform a second inequality operation implemented between the 1 to n CAM entries, wherein the 1 to n CAM entries of the second portion are read from right to left to perform the second inequality operation,
wherein the first portion and the second portion of the CAM are each comprised of binary CAM (BCAM) cells rearranged from a ternary CAM (TCAM) structure in which the second portion is flipped 180° relative to the first portion and located in a wildcard logic bits cell region of the TCAM structure, and in which an additional row per pair of the first inequality operation and the second inequality operation is included to facilitate the rearranging of the TCAM structure to the BCAM cells.

### Claim 2 (depends on 1)

The circuit of claim 1, wherein the CAM is n+1 bits wide.

### Claim 3 (depends on 1)

The circuit of claim 1, wherein, for each 1 to n CAM entry, the two valid bits, indicating that the data bits defining each of the 1 to n CAM entries comprise a valid pattern, are latched in a latch circuit.

### Claim 4 (depends on 3)

The circuit of claim 3, wherein the latch circuit is coupled to a precharge driver for a matchline such that the matchline will only be precharged when the two valid bits for a corresponding one of the 1 to n CAM entries are latched in the latch circuit.

### Claim 5 (depends on 1)

The circuit of claim 1, wherein the CAM is n+1 bits wide.

### Claim 6 (depends on 1)

The circuit of claim 1, wherein the circuit is implemented on a semiconductor chip.

### Claim 7 (depends on 1)

The circuit of claim 1, wherein the first inequality operation is a less-than or greater-than operation, and the second inequality operation is a less-than or greater-than operation.

### Claim 8 (depends on 1)

The circuit of claim 1, wherein a first output of the first portion and a second output of the second portion are ANDed together to produce a range-match function.

### Claim 9 (depends on 1)

The circuit of claim 1, further comprising:
a first matchline configured to indicate a match or mismatch for each of the 1 to n CAM entries implemented in the first portion; and
a second matchline configured to indicate a match or mismatch for each of the 1 to n CAM entries implemented in the second portion.

### Claim 10 (depends on 9)

The circuit of claim 9, wherein the first portion and the second portion are triangularly arranged side by side such that the first inequality operation and the second inequality operation are implemented between the 1 to n CAM entries using the same n wordlines.

### Claim 11 (depends on 1)

The circuit of claim 1, wherein:
the CAM is n+1 bits wide;
for each 1 to n CAM entry, the two valid bits, indicating that the data bits defining each of the 1 to n CAM entries comprise a valid pattern, are latched in a latch circuit; and
the latch circuit is coupled to a precharge driver for a matchline such that the matchline will only be precharged when the two valid bits for a corresponding one of the 1 to n CAM entries are latched in the latch circuit.

### Claim 12 (depends on 1)

The circuit of claim 1, wherein:
the circuit is implemented on a semiconductor chip;
the first inequality operation is a less-than or greater-than operation, and the second inequality operation is a less-than or greater-than operation; and
wherein a first output of the first portion and a second output of the second portion are ANDed together to produce a range-match function, and further comprising:
a first matchline configured to indicate a match or mismatch for each of the 1 to n CAM entries implemented in the first portion; and
a second matchline configured to indicate a match or mismatch for each of the 1 to n CAM entries implemented in the second portion.

### Claim 13 (depends on 12)

The circuit of claim 12, wherein the first portion and the second portion are triangularly arranged side by side such that the first inequality operation and the second inequality operation are implemented between the 1 to n CAM entries using the same n wordlines.

### Claim 14 (depends on 1)

The circuit of claim 1, further comprising:
a first matchline configured to indicate a match or mismatch for each of the 1 to n CAM entries implemented in the first portion; and
a second matchline configured to indicate a match or mismatch for each of the 1 to n CAM entries implemented in the second portion; and
wherein, for each 1 to n CAM entry, one of the two valid bits is latched in a latch circuit, wherein the latch circuit is coupled to a precharge driver for the first and second matchlines such that the first and second matchlines will only be precharged when the one of the two valid bits for a corresponding one of the 1 to n CAM entries is latched in the latch circuit, and
wherein, for each 1 to n CAM entry, the one of the two valid bits is provided for the first matchline and another one of the two valid bits is provided for the second matchline.

### Claim 15 (depends on 14)

The circuit of claim 14, wherein:
a first output of the first portion and a second output of the second portion are ANDed together to produce a range-match function;
the first matchline and the second matchline are located in a same wire track; and
the BCAM cells at adjacent edges of the first and second portions are directly adjacent to one another without any ternary CAM (TCAM) “always match” cells interposed between adjacent edges of the first and second portions.

### Claim 16 (depends on 14)

The circuit of claim 14, wherein:
the BCAM cells are each comprised of no more than 10 transistors; and
the circuit further comprises a first set of search lines configured to broadcast search data to the first portion and a second set of search lines configured to broadcast the search data to the second portion.
