# US 2004/0001347 A1 · Ternary content addressable memory device

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

- Number: US 2004/0001347 A1
- Document ID: US20040001347A1
- Status: Published application
- Kind: A1
- Application number: 10/303,662
- Filed: 2002-11-25
- Published: 2004-01-01
- Earliest claimed: 2002-06-28
- Assignees: Samsung Electronics Co., Ltd.
- Inventors: Chul-Sung Park
- Web page: https://patentgrep.com/patent/US20040001347A1

## CPC

- G11C 15/04: using semiconductor elements
- G11C: STATIC STORES (semiconductor memory devices H10B)

## Abstract

A ternary content addressable memory (TCAM) having an array of cells arranged in rows and columns, each cell comprising of a main memory cell for storing a data bit and its complement and a pair of bit lines for carrying the data bit and its complement. A compare circuit having a pair of compare lines and an output node, the compare circuit coupled to the [data]main memory cell for comparing the data bit and its complement with corresponding compare lines and outputting a compared signal at the output node. A match circuit coupled to the output node of the compare circuit and a match input line and a match output line, the match circuit for selectively connecting the match input line to the match output line based on the compared signal. A mask memory cell for storing and outputting mask data and a mask circuit coupled to the match circuit and the match input line and the match output line for masking the compared signal or for selectively connecting the match input line to the match output line based on the mask data.

## Claims

### Claim 1

A ternary content addressable memory (TCAM) having an array of cells arranged in rows and columns, each cell comprising:
a main memory cell for storing a data bit and its complement and a pair of bit lines for carrying the data bit and its complement;
a compare circuit having a pair of compare lines and an output node, the compare circuit coupled to the main memory cell for comparing the data bit and its complement with corresponding compare lines and outputting a compared signal at the output node;
a match circuit coupled to the output node of the compare circuit and a match input line and a match output line, the match circuit for selectively connecting the match input line to the match output line based on the compared signal;
a mask memory cell for storing and outputting mask data; and
a mask circuit coupled to the match circuit and the match input line and the match output line for masking the compared signal or for selectively connecting the match input line to the match output line based on the mask data.

### Claim 2 (depends on 1)

The TCAM according to claim 1, wherein the compare circuit includes a pair of PMOS transistors.

### Claim 3 (depends on 2)

The TCAM according to claim 2, wherein the pair of PMOS transistors are correspondingly coupled to the pair of compare lines and commonly connected at the output node of the compare circuit.

### Claim 4 (depends on 2)

The TCAM according to claim 2, wherein each of the match circuit and the mask circuit includes an NMOS transistor.

### Claim 5 (depends on 4)

The TCAM according to claim 4, wherein the NMOS transistors of the match circuit and the mask circuit are commonly connected at the match input line and the match output line.

### Claim 6 (depends on 1)

The TCAM according to claim 1, wherein the match input line is connected to the match output line upon an indication of a match from the compared signal.

### Claim 7 (depends on 1)

The TCAM according to claim 1, wherein the match input line is connected to the match output line upon an indication of a mask condition from the mask data.

### Claim 8 (depends on 1)

The TCAM according to claim 1, wherein the match input line is cascaded from and connected to a match output line of a preceding cell or the match output line is cascaded and connected to a match input line of a subsequent cell along the same row.

### Claim 9 (depends on 8)

The TCAM according to claim 8, further including a discharge circuit coupled to ground and to the match input line of the first cell of the same row and a precharge circuit coupled to a preset voltage and to the match output line of the last cell of the same row, wherein when all cells of the same row output a match, all the match input and output lines of the same row are discharged to substantially ground.

### Claim 10 (depends on 1)

The TCAM according to claim 1, wherein the compare circuit includes a pair of PMOS and a pair of NMOS transistors, each PMOS transistor being commonly connected to a corresponding NMOS transistor and a corresponding compare line.

### Claim 11 (depends on 10)

The TCAM according to claim 10, wherein each of the match circuit and the mask circuit includes an NMOS transistor.

### Claim 12 (depends on 1)

The TCAM according to claim 1, wherein each of the match circuit and the mask circuit includes a PMOS transistor.

### Claim 13 (depends on 12)

The TCAM according to claim 12, wherein the compare circuit includes a pair of NMOS transistors.

### Claim 14 (depends on 12)

The TCAM according to claim 12, wherein the PMOS transistors are commonly connected at the match input line and at the match output line.

### Claim 15 (depends on 12)

The TCAM according to claim 12, further including a precharge circuit coupled to a preset voltage and to the match input line of the first cell of the same row and a discharge circuit coupled to ground and to the match output line of the last cell of the same row, wherein when all cells of the same row output a match, all the match input and output lines of the same row are precharged to substantially the preset voltage.

### Claim 16 (depends on 1)

The TCAM according to claim 1, wherein the main memory cell and the mask memory cell are SRAM cells.

### Claim 17 (depends on 1)

The TCAM according to claim 1, wherein the main memory cell and the mask memory cell are DRAM cells.

### Claim 18 (depends on 1)

The TCAM according to claim 1, wherein the main memory cell and the mask memory cell are nonvolatile memory (NVM) cells.

### Claim 19 (depends on 1)

The TCAM according to claim 1, further including a main word line and a mask word line.

### Claim 20 (depends on 19)

The TCAM according to claim 19, wherein the main word line and the mask word line are connected.

### Claim 21 (depends on 10)

The TCAM according to claim 10, wherein each of the match circuit and the mask circuit includes a PMOS transistor.

### Claim 22

A content addressable memory (CAM) having an array of cells arranged in rows and columns, each cell comprising:
a main memory cell for storing a data bit and its complement and a pair of bit lines for carrying the data bit and its complement;
a compare circuit having a pair of compare lines and an output node, the compare circuit coupled to the main memory cell for comparing the data bit and its complement with corresponding compare lines and outputting a compared signal at the output node;
a match circuit coupled to the output node of the compare circuit and a match input line and a match output line, the match circuit for selectively connecting the match input line to the match output line based on the compared signal;
a discharge circuit coupled to ground;
a precharge circuit coupled to a preset voltage;
the discharge circuit or the precharge circuit coupled to the match input line of the same row or the match output line of the same row,
wherein when all cells of the same row output a match, all the match input and output lines of the same row are either precharged or discharged.

### Claim 23 (depends on 22)

The CAM according to claim 22, wherein the compared circuit includes a pair of PMOS transistors and the match circuit includes a NMOS transistor.

### Claim 24 (depends on 22)

The CAM according to claim 22, wherein the compare circuit includes a pair of NMOS transistors and the match circuit includes a PMOS transistor.

### Claim 25 (depends on 22)

The CAM according to claim 22, further including a mask circuit coupled to the match circuit and the match input line and the match output line for masking the compared signal or for selectively connecting the match input line to the match output line based on a mask data.

### Claim 26 (depends on 22)

The CAM according to claim 22, further including a memory controller for providing operation mode to the CAM.

### Claim 27

A method of operating a content addressable memory (CAM) having an array of cells arranged in rows and columns, comprising the steps of:
storing in a main memory cell a data bit and its complement;
comparing the data bit and its complement with signals at corresponding compare lines and outputting a compared signal;
selectively connecting a match input line to a match output line based on an indication of a match from the compared signal to form a match line; and
setting the match line at a first voltage level when all of memory cells of the same row are matched.

### Claim 28 (depends on 27)

The method of claim 27 wherein said first voltage is a ground voltage.

### Claim 29 (depends on 27)

The method of claim 27 wherein said first voltage is a power supply voltage.
