# US 2021/0263672 A1 · Computing-in-memory device and method

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

- Number: US 2021/0263672 A1
- Document ID: US20210263672A1
- Status: Published application
- Kind: A1
- Application number: 17/130,918
- Filed: 2020-12-22
- Published: 2021-08-26
- Earliest claimed: 2020-02-26
- Assignees: Taiwan Semiconductor Manufacturing Company, Ltd.
- Applicants: Taiwan Semiconductor Manufacturing Company, Ltd.
- Inventors: Jonathan Tsung-Yung Chang; Hidehiro Fujiwara; Hung-Jen Liao; Yen-Huei Chen; Yih Wang; Haruki Mori
- Web page: https://patentgrep.com/patent/US20210263672A1

## CPC

- G06F 3/0655: {Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices}
- G11C 7/1006: {Data managing, e.g. manipulating data before writing or reading out, data bus switches or control circuits therefor}
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 3/0673: {Single storage device}
- G06N 3/063: using electronic means
- G11C 7/10: Input/output [I/O] data interface arrangements, e.g. I/O data control circuits, I/O data buffers
- G11C 7/16: Storage of analogue signals in digital stores using an arrangement comprising analogue/digital [A/D] converters, digital memories and digital/analogue [D/A] converters
- G11C 8/16: Multiple access memory array, e.g. addressing one storage element via at least two independent addressing line groups
- G11C 11/412: using field-effect transistors only
- G11C 11/419: Read-write [R-W] circuits
- G11C 11/54: using elements simulating biological cells, e.g. neuron
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G11C: STATIC STORES (semiconductor memory devices H10B)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A charge sharing scheme is used to mitigate the variations in cell currents in order to achieve higher accuracy for CIM computing. In some embodiments, a capacitor is associated with each SRAM cell, and the capacitors associated with all SRAM cells in a column are included in averaging the RBL current. In some embodiments, a memory unit associated to an RBL in a CIM device includes a storage element adapted to store a weight, a first switch device connected to the storage element and adapted to be controlled by an input signal and generate a product signal having a magnitude indicative of the product of the input signal and the stored weight. The memory unit further includes a capacitor adapted to receive the product signal and store an amount of charge corresponding to the magnitude of the product signal. The memory unit further include a second switch device adapted to transfer the charge on the capacitor to the RBL.

## Claims

### Claim 1

A memory device, comprising:
a storage element having a write control input, a weight input and a weight output, and adapted to receive a weight value at the weight input in response to a write control signal from the write control input, and store the weight value;
a capacitor;
a first switch device having a data input and being adapted to interconnect the weight output of the storage element to a first end of the capacitor in response to a data input control signal at the data input; and
a second switch device having a read control input and being adapted to interconnect the first end of the capacitor to a read bitline (“RBL”) in response to a read control signal at the read control input.

### Claim 2 (depends on 1)

The memory device of claim 1, wherein the storage element includes a static random-access memory (“SRAM”) cell.

### Claim 3 (depends on 2)

The memory device of claim 2, wherein the second switch device and first switch device are adapted to cooperate to disconnect the first end of the capacitor from the storage element and discharge the capacitor through the RBL in one switching state, and disconnect the first end of the capacitor from the RBL and interconnect the first end of the capacitor with the weight output of the storage element in another switching state.

### Claim 4 (depends on 1)

The memory device of claim 1, further comprising a switching device connected across the capacitor and adapted to discharge the capacitor through the switching device.

### Claim 5 (depends on 1)

The memory device of claim 1, wherein the storage element comprise a pair of CMOS inverters cross-coupled to each other at a first and second nodes, and wherein the first switch device being adapted to interconnect the first node to a first end of the capacitor in response to a data input control signal at the data input.

### Claim 6 (depends on 1)

The memory device of claim 1, wherein the first switching device comprises a CMOS transmission gate having a pair of complementary data inputs.

### Claim 7 (depends on 5)

The memory device of claim 5, further comprising an access switch device having a write control input and being adapted to interconnect the second node to a write bitline (“WBL”) in response to a write control signal at the write control input. .

### Claim 8 (depends on 1)

The memory device of claim 1, further comprising:
a second storage element having a write control input, a weight input and a weight output, and adapted to receive a weight value at the weight input in response to a second write control signal from the write control input, and store the weight value;
a second capacitor;
a third switch device having a data input and being adapted to interconnect the weight output of the second storage element to a first end of the second capacitor in response to a data input control signal at the data input of the third switch device; and
a fourth switch device having a read control input and being adapted to interconnect the first end of the second capacitor to the RBL in response to a read control signal at the read control input of the fourth switch.

### Claim 9

A computing device, comprising:
a plurality of read bitlines (“RBLs”);
a plurality of write bitlines (“WBLs”);
a plurality of write wordlines (“WWLs”);
a plurality of input lines (“INs”);
a plurality of evaluation lines (“EVALs”);
a plurality of memory units logically arranged in rows and columns, each of the columns of the memory units being associated with a respective one of the RBLs and one of the WBLs, each of the row of the memory units being associated with a respective one of the WWLs, one of the INs and one of the EVALs, each of the memory devices comprising:
a storage element having a write control input connected to the WWL associated with row the memory element belongs to, a weight input connected to the WBL associated with column the memory unit belongs to and a weight output, and adapted to receive a weight value from the WBL in response to a write control signal from the WWL, and store the weight value;
a capacitor;
a first switch device having a data input connected to the IN associated with row the memory unit belongs to and being adapted to interconnect the weight output of the storage element to a first end of the capacitor in response to a data input control signal from the IN; and
a second switch device having a read control input connected to the EVAL associated with row the memory unit belongs to and being adapted to interconnect the first end of the capacitor to the RBL associated with row the memory unit belongs to in response to a read control signal from the EVAL.

### Claim 10 (depends on 9)

The computing device of claim 9, wherein the first switching devices and the second switch devices of the memory units in each column are adapted to disconnect the first ends of the capacitors from the respective storage elements and connect the capacitors in the column parallel between and a reference voltage.

### Claim 11 (depends on 10)

The computing device of claim 10, further comprising a plurality of ADCs, each connected to a respective one of the RBLs and adapted to receive an analog signal from the RBL and generate a digital output indicative of a value of the analog signal.

### Claim 12 (depends on 11)

The computing device of the claim 11, further comprising a plurality of digital shifters, each adapted to receive the digital output from a respective one of the ADCs and shift the digital output by a predetermined number of digits, the predetermined number digits being different for each column.

### Claim 13

A computing method, comprising:
generating a set of product signals, each indicative of a product of a value corresponding to one of a set of input signals with a value stored in a respective one of a set of data storage elements;
setting voltages across a set of capacitors, each corresponding to one of the set of data storage elements, to a predetermined level;
applying the set of product signals to the respective ones of the set of capacitors after the voltages across the capacitor have been set to the predetermined level;
discharging the capacitors to an output line after the product signals have been applied to the capacitors; and
generating on the output line a signal indicative of a sum of the product signals.

### Claim 14 (depends on 13)

The computing method of claim 13, wherein the setting the voltage across the capacitors to a predetermined level comprises completely discharging the capacitors.

### Claim 15 (depends on 14)

The computing method of claim 14, wherein the completely discharging the capacitors comprises setting the output line to 0 volts and discharging the capacitors to the output line through the respective second switch devices.

### Claim 16 (depends on 14)

The computing method of claim 14 wherein the completely discharging the capacitors comprises interconnecting two ends of each of the capacitors by turning on a respective switching device connected across each capacitor.

### Claim 17 (depends on 13)

The computing method of claim 13, wherein the applying the set of product signals to the respective capacitors comprises applying the set of product signals respective capacitor while the capacitors are disconnected from the output line.

### Claim 18 (depends on 13)

The computing method of claim 13, wherein the discharging the capacitors to the output line comprises connecting the capacitors in parallel with each other between the output line and a voltage reference point.

### Claim 19 (depends on 13)

The computing method of claim 13, further comprising converting the signal generated on the output line to a digital signal and shifting the digital signal by a predetermined number of bits.

### Claim 20 (depends on 13)

The computing method of claim 13, wherein the applying the product signals to the respective capacitors comprises connecting one of the storage element to the respective capacitor if the respective signal is a “1” and disconnecting one of the storage element from the respective capacitor if the respective signal is a “0.”
