# US 2025/0095720 A1 · Memory device and operating method thereof

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

- Number: US 2025/0095720 A1
- Document ID: US20250095720A1
- Status: Published application
- Kind: A1
- Application number: 18/469,613
- Filed: 2023-09-19
- Published: 2025-03-20
- Earliest claimed: 2023-09-19
- Assignees: Macronix International Co., Ltd.
- Applicants: Macronix International Co., Ltd.
- Inventors: Yu-Hsuan LIN; Yu-Yu LIN; Feng-Min LEE
- Web page: https://patentgrep.com/patent/US20250095720A1

## CPC

- G11C 11/4096: Input/output [I/O] data management or control circuits, e.g. reading or writing circuits, I/O drivers or bit-line switches
- G11C 7/1006: {Data managing, e.g. manipulating data before writing or reading out, data bus switches or control circuits therefor}
- G11C 11/404: with one charge-transfer gate, e.g. MOS transistor, per cell
- G11C 11/4091: Sense or sense/refresh amplifiers, or associated sense circuitry, e.g. for coupled bit-line precharging, equalising or isolating
- G11C 11/4094: Bit-line management or control circuits
- G11C: STATIC STORES (semiconductor memory devices H10B)

## Abstract

A memory device includes a first memory cell performing a logic operation. The first memory cell includes first and second switches. The first switch writes a first weight bit into a first storage node. The second switch generates a first current signal according to the first weight bit and a first input bit. The second switch receives a first bit line signal carrying the first input bit and a first word line signal. A control terminal of the second switch is coupled to the first storage node. When the first input bit has a first logic value, the first bit line signal and the first word line signal has a first voltage level. When the first input bit has a second logic value, the first bit line signal has a second voltage level smaller than the first voltage level.

## Claims

### Claim 1

A memory device, comprising a first memory cell, the first memory cell configured to perform a logic operation according to a first weight bit and a first input bit, the first memory cell comprising:
a first switch configured to write the first weight bit into a first storage node; and
a second switch configured to generate a first current signal according to the first weight bit and the first input bit,
wherein a first terminal of the second switch is configured to receive a first bit line signal carrying the first input bit,
a second terminal of the second switch is configured to receive a first word line signal,
a control terminal of the second switch is coupled to the first storage node,
when the first input bit has a first logic value, each of the first bit line signal and the first word line signal has a first voltage level, and
when the first input bit has a second logic value, the first bit line signal has a second voltage level smaller than the first voltage level and the first word line signal has the first voltage level.

### Claim 2 (depends on 1)

The memory device of claim 1, wherein
when the first storage node has a third voltage level, the first current signal has a first current level,
when the first storage node has a fourth voltage level and the first input bit has the first logic value, the first current signal has the first current level, and
when the first storage node has the fourth voltage level and the first input bit has the second logic value, the first current signal has a second current level larger than the first current level.

### Claim 3 (depends on 2)

The memory device of claim 2, wherein the logic operation is one of an AND logic operation, an OR logic operation, a NAND logic operation and an NOR logic operation,
when the logic operation is the AND logic operation or the OR operation, each of the fourth voltage level and the second current level corresponds to the second logic value, and
when the logic operation is the NAND logic operation or the NOR operation, each of the fourth voltage level and the first current level corresponds to the second logic value.

### Claim 4 (depends on 1)

The memory device of claim 1, further comprising:
a second memory cell configured to store a second weight bit and receive a second bit line signal carrying a second input bit, to perform the logic operation with the first memory cell,
wherein the second weight bit is complementary with the first weight bit, and
the second input bit is complementary with the first input bit.

### Claim 5 (depends on 4)

The memory device of claim 4, wherein the second memory cell comprises:
a third switch configured to write the second weight bit into a second storage node; and
a fourth switch configured to generate a second current signal according to the second weight bit and the second input bit,
wherein a first terminal of the fourth switch is configured to receive the second bit line signal,
a second terminal of the fourth switch is configured to receive the first word line signal, and
a control terminal of the fourth switch is coupled to the second storage node.

### Claim 6 (depends on 5)

The memory device of claim 5, wherein the first memory cell and the second memory cell are configured to sum the first current signal and the second current signal to generate a third current signal as an output of the logic operation.

### Claim 7 (depends on 6)

The memory device of claim 6, wherein the logic operation is one of an XOR logic operation and an XNOR logic operation,
when the logic operation is the XOR operation, the third current signal having a first current level corresponds to the first logic value,
when the logic operation is the XNOR operation, the third current signal having a second current level corresponds to the first logic value, and
the second current level is larger than the first current level.

### Claim 8 (depends on 1)

The memory device of claim 1, further comprising:
a second memory cell configured to store a second weight bit and receive a second bit line signal carrying a second input bit, to generate a second current signal;
a first amplifier coupled to a first node, and configured to generate a first voltage signal according to a third current signal;
a third memory cell configured to store a third weight bit and receive the first bit line signal, to generate a fourth current signal;
a fourth memory cell configured to store a fourth weight bit and receive the second bit line signal, to generate a fifth current signal; and
a second amplifier coupled to a second node, and configured to generate a second voltage signal according to a sixth current signal,
wherein the second memory cell and the first memory cell are configured to sum the second current signal and the first current signal at the first node to generate the third current signal, and
the third memory cell and the fourth memory cell are configured to sum the fourth current signal and the fifth current signal at the second node to generate the sixth current signal.

### Claim 9 (depends on 8)

The memory device of claim 8, further comprising:
a fifth memory cell configured to store a fifth weight bit and receive the first voltage signal, to generate a seventh current signal;
a sixth memory cell configured to store a sixth weight bit and receive the second voltage signal, to generate an eight current signal; and
a third amplifier configured to receive a ninth current signal from a third node,
wherein the fifth memory cell and the sixth memory cell are configured to sum the seventh current signal and the eight current signal at the third node to generate the ninth current signal.

### Claim 10 (depends on 1)

The memory device of claim 1, further comprising:
a second memory cell configured to store a second weight bit and receive a second bit line signal carrying a second input bit, to generate a second current signal;
a third memory cell configured to store a third weight bit and receive a third bit line signal carrying a third input bit, to generate a third current signal;
a fourth memory cell configured to store a fourth weight bit and receive a fourth bit line signal carrying a fourth input bit, to generate a fourth current signal; and
a first amplifier configured to receive a fifth current signal from a first node,
wherein the first memory cell, the second memory cell, the third memory cell and the fourth memory cell are configured to sum the first current signal, the second current signal, the third current signal and the fourth current signal at the first node to generate the fifth current signal, and
the first weight bit, the second weight bit, the first input bit and the second input bit are complementary with the third weight bit, the fourth weight bit, the third input bit and the fourth input bit, respectively.

### Claim 11 (depends on 10)

The memory device of claim 10, wherein the first memory cell, the second memory cell, the third memory cell and the fourth memory cell are configured to perform a searching logic operation to obtain a similarity between the first input bit, the second input bit and the first weight bit, the second weight bit, and
when the similarity is increased, a current level of the fifth current signal is increased.

### Claim 12 (depends on 1)

The memory device of claim 1, further comprising:
a second memory cell configured to store a second weight bit and receive a second bit line signal carrying a second input bit, to generate a second current signal;
a third memory cell configured to store a third weight bit and receive a third bit line signal carrying a third input bit, to generate a third current signal;
a fourth memory cell configured to store a fourth weight bit and receive a fourth bit line signal carrying a fourth input bit, to generate a fourth current signal;
a first amplifier configured to receive a fifth current signal from a first node; and
a second amplifier configured to receive a sixth current signal from a second node,
wherein the first memory cell and the second memory cell are configured to sum the first current signal and the second current signal at the first node to generate the fifth current signal,
the third memory cell and the fourth memory cell are configured to sum the third current signal and the fourth current signal at the second node to generate the six current signal, and
the first weight bit, the second weight bit, the first input bit and the second input bit are complementary with the third weight bit, the fourth weight bit, the third input bit and the fourth input bit, respectively.

### Claim 13 (depends on 1)

The memory device of claim 1, further comprising:
a resistor having a resistance within a range of 105 to 109 ohm,
wherein the second switch is configured to receive the first bit line signal through the resistor.

### Claim 14

An operating method of a memory device, comprising:
writing a first weight bit into a first storage node of a first memory cell;
receiving a first bit line signal carrying a first input bit by the first memory cell;
performing a logic operation according to the first input bit and the first weight bit, to generate a first current signal flowing through a first switch in the first memory cell;
when the first storage node has a first voltage level, turning off the first switch and the first current signal having a first current level;
when the first storage node has a second voltage level and the first bit line signal has a third voltage level, turning on the first switch and the first current signal having the first current level; and
when the first storage node has the second voltage level and the first bit line signal has a fourth voltage level, turning on the first switch and the first current signal having a second current level,
wherein the second current level is larger than the first current level, and
the third voltage level is larger than the fourth voltage level.

### Claim 15 (depends on 14)

The operating method of claim 14, further comprising:
inverting the first input bit to generate a second input bit;
inverting the first weight bit to generate a second weight bit;
writing the second weight bit into a second storage node of a second memory cell;
receiving a second bit line signal carrying the second input bit by the second memory cell;
generating a second current signal flowing through a second switch in the second memory cell according to the second input bit and the second weight bit; and
summing the first current signal and the second current signal to generate a third current signal corresponding to an output of the logic operation.

### Claim 16 (depends on 14)

The operating method of claim 14, further comprising:
suppressing the first current signal by a resistor,
wherein the resistor is coupled in series with the first switch, and
the resistor has a resistance within a range of 105 to 109 ohm.

### Claim 17 (depends on 14)

The operating method of claim 14, further comprising:
multiplying the first input bit and the first weight bit to generate the first current signal;
multiplying a second input bit and a second weight bit by a second memory cell to generate a second current signal; and
summing the first current signal and the second current signal to generate a third current signal,
wherein the logic operation is a first multiply and accumulate logic operation, and
when a value of an output of the first multiply and accumulate logic operation is increased, a current level of the third current signal is increased.

### Claim 18 (depends on 17)

The operating method of claim 17, further comprising:
multiplying the first input bit and a third weight bit by a third memory cell to generate a fourth current signal;
multiplying the second input bit and a fourth weight bit by a fifth memory cell to generate a fifth current signal;
summing the fourth current signal and the fifth current signal to generate a sixth current signal;
generating a first voltage signal and a second voltage signal according to the third current signal and the sixth current signal, respectively; and
performing a second multiply and accumulate logic operation according to the first voltage signal and the second voltage signal.

### Claim 19 (depends on 14)

The operating method of claim 14, further comprising:
writing a second weight bit into a second memory cell;
receiving a second bit line signal carrying a second input bit by the second memory cell;
generating a second current signal by the second memory cell according to the second input bit and the second weight bit;
inverting the first input bit to generate a third input bit;
inverting the second input bit to generate a fourth input bit;
generating a third current signal according to the third input bit;
generating a fourth current signal according to the fourth input bit; and
summing the first current signal, the second current signal, the third current signal and the fourth current signal to generate a fifth current signal,
wherein when a similarity between the first input bit, the second input bit and the first weight bit, the second weight bit is increased, a current level of the fifth current signal is increased.

### Claim 20 (depends on 14)

The operating method of claim 14, further comprising:
writing a second weight bit into a second memory cell;
receiving a second bit line signal carrying a second input bit by the second memory cell;
generating a second current signal by the second memory cell according to the second input bit and the second weight bit;
inverting the first input bit to generate a third input bit;
inverting the second input bit to generate a fourth input bit;
generating a third current signal according to the third input bit;
generating a fourth current signal according to the fourth input bit;
summing the first current signal and the second current signal at a first node to generate a fifth current signal;
summing the third current signal and the fourth current signal at a second node to generate a sixth current signal; and
determining a similarity between the first input bit, the second input bit and the first weight bit, the second weight bit according to the fifth current signal and the sixth current signal,
wherein the first node is different from the second node.
