# US 2026/0093968 A1 · Memory circuits and methods for encoder/decoder dual mode for compute-in-memory

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

- Number: US 2026/0093968 A1
- Document ID: US20260093968A1
- Status: Published application
- Kind: A1
- Application number: 18/990,207
- Filed: 2024-12-20
- Published: 2026-04-02
- Earliest claimed: 2024-10-02
- Assignees: Taiwan Semiconductor Manufacturing Company, Ltd.
- Applicants: Taiwan Semiconductor Manufacturing Company, Ltd.
- Inventors: Je-Min Hung; Haruki Mori; Hidehiro Fujiwara
- Web page: https://patentgrep.com/patent/US20260093968A1

## CPC

- G06N 3/063: using electronic means
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

An integrated circuit may comprise a plurality of compute-in-memory (CIM) circuits physically formed on a substrate. Each of the plurality of CIM circuits may comprise: an input circuit configured to receive a plurality of first data elements; a memory array coupled to the input circuit and configured to store the plurality of first data elements; a data multiplexer configured to output the plurality of first data elements through a first data path or through a second data path; and a plurality of computing cells coupled to the data multiplexer and configured to perform multiply-accumulate (MAC) operations on the plurality of first data elements and a plurality of second data elements.

## Claims

### Claim 1

An integrated circuit, comprising:
a plurality of compute-in-memory (CIM) circuits physically formed on a substrate;
wherein each of the plurality of CIM circuits comprises:
an input circuit configured to receive a plurality of first data elements;
a memory array coupled to the input circuit and configured to store the plurality of first data elements;
a data multiplexer configured to output the plurality of first data elements through a first data path or through a second data path; and
a plurality of computing cells coupled to the data multiplexer and configured to perform multiply-accumulate (MAC) operations on the plurality of first data elements and a plurality of second data elements.

### Claim 2 (depends on 1)

The integrated circuit of claim 1, wherein the memory array includes a plurality of memory cells, each of which includes a static random access memory (SRAM) cell, a dynamic random access memory (DRAM) cell, a resistive random access memory (RRAM), or a magnetoresistive random access memory (MRAM) cell.

### Claim 3 (depends on 1)

The integrated circuit of claim 1, wherein the data multiplexer is configured to:
receive an enable signal;
in response to the enable signal being configured with a first logic state, select the first data path; and
in response to the enable signal being configured with a second logic state, select the second data path.

### Claim 4 (depends on 3)

The integrated circuit of claim 3, wherein
the first data path operatively extends from the input circuit, through the memory array and the data multiplexer, and to the plurality of computing cells; and
the second data path operatively extends from the input circuit, through the data multiplexer, and to the plurality of computing cells.

### Claim 5 (depends on 3)

The integrated circuit of claim 3, wherein the enable signal is received by the plurality of CIM circuits.

### Claim 6 (depends on 3)

The integrated circuit of claim 3, wherein a plural number of the enable signal are received by the plurality of CIM circuits, respectively.

### Claim 7 (depends on 1)

The integrated circuit of claim 1, wherein the first data elements include a plurality of weight data elements, and the second data elements include a plurality of input data elements.

### Claim 8 (depends on 1)

The integrated circuit of claim 1, wherein the first data elements include a plurality of input data elements, and the second data elements include a plurality of weight data elements.

### Claim 9

An integrated circuit, comprising:
a plurality of compute-in-memory (CIM) circuits, each of the plurality of CIM circuits configured to output a respective plurality of multiply-accumulate (MAC) results;
wherein each of the plurality of CIM circuits at least comprises:
a data multiplexer configured to:
forward a plurality of first data elements through a first data path, in response to receiving an enable signal configured with a first logic state; or
forward the plurality of first data elements through a second data path, in response to receiving the enable signal configured with a second logic state; and
a plurality of computing cells configured to:
receive a plurality of second data elements; and
output the respective MAC results based on the plurality of second data elements received and the plurality of first data elements forwarded by the data multiplexer.

### Claim 10 (depends on 9)

The integrated circuit of claim 9, wherein each of the plurality of CIM circuits further comprises:
an input circuit configured to receive the plurality of first data elements; and
a memory array coupled to the input circuit and configured to store the plurality of first data elements.

### Claim 11 (depends on 9)

The integrated circuit of claim 9, further comprising:
an input circuit configured to receive the plurality of first data elements; and
a memory array coupled to the input circuit and configured to store the plurality of first data elements and to output the plurality of first data elements to the plurality of CIM circuits;
wherein each of the plurality of CIM circuits is configured to receive the plurality of first data elements through the first data path or through the second data path.

### Claim 12 (depends on 10)

The integrated circuit of claim 10, wherein the memory array includes a plurality of memory cells, each of which includes a static random access memory (SRAM) cell, a dynamic random access memory (DRAM) cell, a resistive random access memory (RRAM), or a magnetoresistive random access memory (MRAM) cell.

### Claim 13 (depends on 9)

The integrated circuit of claim 9, wherein
the first data path operatively extends from an input circuit, through a memory array and the data multiplexer, and to the plurality of computing cells; and
the second data path operatively extends from the input circuit, through the data multiplexer, and to the plurality of computing cells.

### Claim 14 (depends on 9)

The integrated circuit of claim 9, wherein the enable signal is received by the plurality of CIM circuits.

### Claim 15 (depends on 9)

The integrated circuit of claim 9, wherein a plural number of the enable signal are received by the plurality of CIM circuits, respectively.

### Claim 16 (depends on 9)

The integrated circuit of claim 9, wherein the first data path comprises a multi-head attention component and a feed forward neural network component.

### Claim 17 (depends on 9)

The integrated circuit of claim 9, wherein the second data path comprises a masked multi-head attention component, a multi-head attention component, and a feed forward network component.

### Claim 18

A method, comprising:
receiving a plurality of first data elements, a plurality of second data elements, and an enable signal;
selecting, in response to identifying that the enable signal is equal to a first logic state, a first data path to forward the plurality of first data elements received through an input circuit and a memory array to a plurality of computing cells, wherein the plurality of computing cells are configured to perform multiply-accumulate (MAC) operations on the plurality of first data elements and a plurality of second data elements; and
selecting, in response to identifying that the enable signal is equal to a second logic state, a second data path to forward the plurality of first data element received through the input circuit to the plurality of computing cells.

### Claim 19 (depends on 18)

The method of claim 18, wherein the first data elements include a plurality of weight data elements, and the second data elements include a plurality of input data elements.

### Claim 20 (depends on 18)

The method of claim 18, wherein the first data elements include a plurality of input data elements, and the second data elements include a plurality of weight data elements.
