# US 2022/0044714 A1 · Memory unit for multi-bit convolutional neural network based computing-in-memory applications based on charge sharing, memory array structure for multi-bit convolutional neural network based computing-in-memory applications based on charge sharing and computing method thereof

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

- Number: US 2022/0044714 A1
- Document ID: US20220044714A1
- Status: Published application
- Kind: A1
- Application number: 16/985,205
- Filed: 2020-08-04
- Published: 2022-02-10
- Earliest claimed: 2020-08-04
- Assignees: National Tsing Hua University
- Applicants: National Tsing Hua University
- Inventors: Meng-Fan CHANG; Yen-Chi CHOU; Jian-Wei SU
- Web page: https://patentgrep.com/patent/US20220044714A1

## CPC

- G11C 7/12: Bit line control circuits, e.g. drivers, boosters, pull-up circuits, pull-down circuits, precharging circuits, equalising circuits, for bit lines
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/063: using electronic means
- G11C 5/06: Arrangements for interconnecting storage elements electrically, e.g. by wiring
- G11C 7/1006: {Data managing, e.g. manipulating data before writing or reading out, data bus switches or control circuits therefor}
- G11C 8/08: Word line control circuits, e.g. drivers, boosters, pull-up circuits, pull-down circuits, precharging circuits, for word lines
- G11C 8/16: Multiple access memory array, e.g. addressing one storage element via at least two independent addressing line groups
- G11C 11/418: Address circuits
- G11C 11/419: Read-write [R-W] circuits
- G11C 11/54: using elements simulating biological cells, e.g. neuron
- G11C: STATIC STORES (semiconductor memory devices H10B)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A memory unit includes at least one memory cell and a computational cell. The at least one memory cell stores a weight. The at least one memory cell is controlled by a first word line and includes a local bit line transmitting the weight. The computational cell is connected to the at least one memory cell and receiving the weight via the local bit line. Each of an input bit line and an input bit line bar transmits a multi-bit input value. The computational cell is controlled by a second word line and an enable signal to generate a multi-bit output value on each of an output bit line and an output bit line bar according to the multi-bit input value multiplied by the weight. The computational cell is controlled by a first switching signal and a second switching signal for charge sharing.

## Claims

### Claim 1

A memory unit for a plurality of multi-bit convolutional neural network based computing-in-memory applications based on charge sharing, which is controlled by a first word line, a second word line, an enable signal, a first switching signal and a second switching signal, and the memory unit for the multi-bit convolutional neural network based computing-in-memory applications based on charge sharing comprising:
at least one memory cell storing a weight, wherein the at least one memory cell is controlled by the first word line and comprises a local bit line transmitting the weight; and
a computational cell connected to the at least one memory cell and receiving the weight via the local bit line, wherein the computational cell comprises an input bit line, an input bit line bar, an output bit line and an output bit line bar, each of the input bit line and the input bit line bar transmits a multi-bit input value, the computational cell is controlled by the second word line and the enable signal to generate a multi-bit output value on each of the output bit line and the output bit line bar according to the multi-bit input value multiplied by the weight, and the computational cell is controlled by the first switching signal and the second switching signal for charge sharing.

### Claim 2 (depends on 1)

The memory unit for the multi-bit convolutional neural network based computing-in-memory applications based on charge sharing of claim 1, wherein the at least one memory cell further comprises:
a first node storing the weight;
a second node storing an inverted weight opposite to the weight of the first node;
a local bit line bar connected to the computational cell and transmitting the inverted weight to the computational cell;
a first memory cell transistor connected to the first node, the local bit line and the first word line;
a second memory cell transistor connected to the second node, the local bit line bar and the first word line;
a first inverter located between the first node and the second node; and
a second inverter connected to the first inverter.

### Claim 3 (depends on 2)

The memory unit for the multi-bit convolutional neural network based computing-in-memory applications based on charge sharing of claim 2, wherein the computational cell further comprises:
a first computational cell transistor connected to the second word line, the output bit line and the local bit line;
a second computational cell transistor connected to the second word line, the output bit line bar and the local bit line bar;
a third computational cell transistor connected to the enable signal, the input bit line and a first inner node;
a fourth computational cell transistor connected to the enable signal, the input bit line bar and a second inner node;
a fifth computational cell transistor connected to the local bit line, the first inner node and the output bit line; and
a sixth computational cell transistor connected to the local bit line, the second inner node and the output bit line bar.

### Claim 4 (depends on 1)

The memory unit for the multi-bit convolutional neural network based computing-in-memory applications based on charge sharing of claim 1, wherein,
the multi-bit input value is an analog signal;
the output bit line and the output bit line bar are extended in a vertical direction; and
the first word line, the second word line, the input bit line and the input bit line bar are extended in a horizontal direction.

### Claim 5 (depends on 1)

The memory unit for the multi-bit convolutional neural network based computing-in-memory applications based on charge sharing of claim 1, wherein the computational cell further comprises:
a first sharing switch coupled to one end of the output bit line, wherein the first sharing switch is controlled by the first switching signal for charge sharing; and
a second sharing switch coupled to one end of the output bit line bar, wherein the second sharing switch is controlled by the second switching signal for charge sharing.

### Claim 6

A memory array structure for a plurality of multi-bit convolutional neural network based computing-in-memory applications based on charge sharing, which is controlled by a first word line, a second word line, an enable signal, a first switching signal and a second switching signal, and the memory array structure for the multi-bit convolutional neural network based computing-in-memory applications based on charge sharing comprising:
a plurality of memory units connected to each other via the first word line and the second word line, wherein each of the memory units comprises:
at least one memory cell storing a weight, wherein the at least one memory cell is controlled by the first word line and comprises a local bit line transmitting the weight; and
a computational cell connected to the at least one memory cell and receiving the weight via the local bit line, wherein the computational cell comprises an input bit line, an input bit line bar, an output bit line and an output bit line bar, each of the input bit line and the input bit line bar transmits a multi-bit input value, the computational cell is controlled by the second word line and the enable signal to generate a multi-bit output value on each of the output bit line and the output bit line bar according to the multi-bit input value multiplied by the weight, and the computational cell is controlled by the first switching signal and the second switching signal for charge sharing.

### Claim 7 (depends on 6)

The memory array structure for the multi-bit convolutional neural network based computing-in-memory applications based on charge sharing of claim 6, wherein the at least one memory cell further comprises:
a first node storing the weight;
a second node storing an inverted weight opposite to the weight of the first node;
a local bit line bar connected to the computational cell and transmitting the inverted weight to the computational cell;
a first memory cell transistor connected to the first node, the local bit line and the first word line;
a second memory cell transistor connected to the second node, the local bit line bar and the first word line;
a first inverter located between the first node and the second node; and
a second inverter connected to the first inverter.

### Claim 8 (depends on 7)

The memory array structure for the multi-bit convolutional neural network based computing-in-memory applications based on charge sharing of claim 7, wherein the computational cell further comprises:
a first computational cell transistor connected to the second word line, the output bit line and the local bit line;
a second computational cell transistor connected to the second word line, the output bit line bar and the local bit line bar;
a third computational cell transistor connected to the enable signal, the input bit line and a first inner node;
a fourth computational cell transistor connected to the enable signal, the input bit line bar and a second inner node;
a fifth computational cell transistor connected to the local bit line, the first inner node and the output bit line; and
a sixth computational cell transistor connected to the local bit line, the second inner node and the output bit line bar.

### Claim 9 (depends on 6)

The memory array structure for the multi-bit convolutional neural network based computing-in-memory applications based on charge sharing of claim 6, wherein,
the multi-bit input value is an analog signal;
the output bit line and the output bit line bar are extended in a vertical direction; and
the first word line, the second word line, the input bit line and the input bit line bar are extended in a horizontal direction.

### Claim 10 (depends on 6)

The memory array structure for the multi-bit convolutional neural network based computing-in-memory applications based on charge sharing of claim 6, wherein the computational cell further comprises:
a first sharing switch coupled to one end of the output bit line, wherein the first sharing switch is controlled by the first switching signal for charge sharing; and
a second sharing switch coupled to one end of the output bit line bar, wherein the second sharing switch is controlled by the second switching signal for charge sharing.

### Claim 11 (depends on 10)

The memory array structure for the multi-bit convolutional neural network based computing-in-memory applications based on charge sharing of claim 10, further comprising:
a combining switch connected to one of the memory units, wherein the combining switch is coupled between the first sharing switch and the second sharing switch of the computational cell of the one of the memory units so as to perform a charge sharing between the output bit line and the output bit line bar.

### Claim 12 (depends on 11)

The memory array structure for the multi-bit convolutional neural network based computing-in-memory applications based on charge sharing of claim 11, further comprising:
a readout switch having two ends, wherein one of the two ends is connected to the one of the memory units and the combining switch.

### Claim 13 (depends on 12)

The memory array structure for the multi-bit convolutional neural network based computing-in-memory applications based on charge sharing of claim 12, further comprising:
a computing-in-memory readout circuit connected to another of the two ends of the readout switch, wherein the computing-in-memory readout circuit transfers the multi-bit output value to a multi-bit digital output value according to a reference voltage.

### Claim 14 (depends on 10)

The memory array structure for the multi-bit convolutional neural network based computing-in-memory applications based on charge sharing of claim 10, wherein in two adjacent ones of the memory units,
the output bit line of one of the two adjacent ones of the memory units is connected to the first sharing switch of another of the two adjacent ones of the memory units; and
the output bit line bar of the one of the two adjacent ones of the memory units is connected to the second sharing switch of the another of the two adjacent ones of the memory units.

### Claim 15 (depends on 6)

A computing method of the memory array structure for the multi-bit convolutional neural network based computing-in-memory applications based on charge sharing of claim 6, which is controlled by the first word line, the second word line, the enable signal, the first switching signal and the second switching signal, and the computing method comprising:
performing a voltage level applying step, wherein the voltage level applying step comprises applying a plurality of voltage levels to the first word line, the second word line, the enable signal, the first switching signal, the second switching signal, the weight, the input bit line and the input bit line bar of each of the memory units, respectively; and
performing a computing step, wherein the computing step comprises:
performing a multiply step, wherein the multiply step comprises driving the computational cell of each of the memory units to compute the voltage levels of the weight, the input bit line and the input bit line bar so as to generate the multi-bit output value on each of the output bit line and the output bit line bar according to the multi-bit input value multiplied by the weight.

### Claim 16 (depends on 15)

The computing method of claim 15, wherein the computational cell further comprises:
a first sharing switch coupled to one end of the output bit line, wherein the first sharing switch is controlled by the first switching signal for charge sharing; and
a second sharing switch coupled to one end of the output bit line bar, wherein the second sharing switch is controlled by the second switching signal for charge sharing.

### Claim 17 (depends on 16)

The computing method of claim 16, wherein the memory array structure further comprises:
a combining switch connected to one of the memory units, wherein the combining switch is coupled between the first sharing switch and the second sharing switch of the computational cell of the one of the memory units;
a readout switch having two ends, wherein one of the two ends is connected to the one of the memory units and the combining switch; and
a computing-in-memory readout circuit connected to another of the two ends of the readout switch.

### Claim 18 (depends on 17)

The computing method of claim 17, wherein the computing step further comprises:
performing an accumulation step, wherein the accumulation step comprises:
performing a first charge sharing among the output bit lines of the memory units via the first sharing switch of each of the memory units;
performing a second charge sharing among the output bit line bars of the memory units via the second sharing switch of each of the memory units;
turning on the first sharing switch and the second sharing switch of each of the memory units; and
turning off the combining switch and the readout switch;
wherein in the multiply step, the first sharing switch and the second sharing switch of each of the memory units are turned off, and the combining switch and the readout switch are turned off.

### Claim 19 (depends on 17)

The computing method of claim 17, wherein the computing step further comprises:
performing a bit-line combining step, wherein the bit-line combining step comprises:
performing a charge sharing between the output bit line and the output bit line bar via the combining switch;
turning on the first sharing switch and the second sharing switch of a first part of the memory units;
turning on the first sharing switch of a second part of the memory units;
turning off the second sharing switch of the second part of the memory units;
turning off the first sharing switch and the second sharing switch of a third part of the memory units; and
turning on the combining switch and the readout switch;
wherein the first part of the memory units is adjacent to the combining switch, and the second part of the memory units is connected between the first part of the memory units and the third part of the memory units.

### Claim 20 (depends on 17)

The computing method of claim 17, wherein the computing step further comprises:
performing a sensing step, wherein the sensing step comprises performing sensing the multi-bit output value to generate a multi-bit digital output value via the computing-in-memory readout circuit during a sensing period;
wherein in the sensing period, the computing-in-memory readout circuit is configured to perform a most significant bit multi-bit sensing operation with a MSB multi-bit input value of the multi-bit input value, and the memory units is configured to perform a least significant bit multi-bit computing operation with a LSB multi-bit input value of the multi-bit input value;
wherein the MSB multi-bit sensing operation represents the sensing step performed with the MSB multi-bit input value of the multi-bit input value, and the LSB multi-bit computing operation represents the multiply step, the accumulation step and the bit-line combining step performed with the LSB multi-bit input value of the multi-bit input value.
