# US 2021/0342676 A1 · Vertical mapping and computing for deep neural networks in non-volatile memory

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

- Number: US 2021/0342676 A1
- Document ID: US20210342676A1
- Status: Published application
- Kind: A1
- Application number: 16/899,734
- Filed: 2020-06-12
- Published: 2021-11-04
- Earliest claimed: 2020-04-29
- Assignees: SanDisk Technologies LLC
- Applicants: SanDisk Technologies LLC
- Inventors: Tung Thanh Hoang; Martin Lueker-Boden; Anand Kulkarni
- Web page: https://patentgrep.com/patent/US20210342676A1

## CPC

- G06N 3/063: using electronic means
- G06N 3/04: Architecture, e.g. interconnection topology
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/0499: Feedforward networks
- G06N 3/09: Supervised learning
- H10W 20/20: Interconnections within wafers or substrates, e.g. through-silicon vias [TSV]
- H10W 80/00: Direct bonding of chips, wafers or substrates
- H10W 90/00: Package configurations
- H10W 72/942: {relative to underlying supporting features, e.g. bond pads, RDLs or vias}
- H10W 90/20: Configurations of stacked chips
- H10W 90/26: the stacked chips being of the same size without any chips being laterally offset, e.g. chip stacks having a rectangular shape
- H10W 90/284: {characterised by structural arrangements for measuring or testing}
- H10W 90/288: {characterised by arrangements for thermal management of the stacked chips}
- H10W 90/297: {characterised by the through-semiconductor vias [TSVs] in the stacked chips}
- H10W 90/722: {between stacked chips}
- H10W 90/724: {between a chip and a stacked insulating package substrate, interposer or RDL}
- H10W 90/792: {between multiple chips}
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- H10W: GENERIC PACKAGES, INTERCONNECTIONS, CONNECTORS OR OTHER CONSTRUCTIONAL DETAILS OF DEVICES COVERED BY CLASS H10

## Abstract

Anon-volatile memory structure capable of storing layers of a deep neural network (DNN) and perform an inferencing operation within the structure is presented. A stack of bonded die pairs is connected by through silicon vias. Each bonded die pair includes a memory die, having one or more memory arrays onto which layers of the neural network are mapped, and a peripheral circuitry die, including the control circuits for performing the convolution or multiplication for the bonded die pair. The multiplications can either be done in-array on the memory die or in-logic on the peripheral circuitry die. The arrays can be formed into columns along the vias, allowing an inferencing operation to be performed by propagating an input up and down the columns, with the output of one level being the input of the subsequent layer.

## Claims

### Claim 1

An apparatus, comprising:
one or more first control circuits configured to connect to a first set of one or more arrays of non-volatile memory cells, each array configured to store one or more weights of a layer of a neural network, and to connect to one or more vias, the one or more first control circuits are configured to:
receive a set of input values for a layer of the neural network having weights stored one of the first set of arrays;
perform an in-array multiplication operation between the set of input values and the weights of the layer of the neural network stored in the first set of arrays;
determine a set of output values for the layer of the neural network from the in-array multiplication operation; and
transfer the set of output values over the vias to one or more second control circuits.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein, in determining the set of output values for the layer of the neural network, the one or more first control circuits are configured to:
perform an activation operation on the set of output values subsequent to performing the multiplication operation between the set of input values and the weights of the layer of the neural network.

### Claim 3 (depends on 1)

The apparatus of claim 1, the one or more first control circuits are further configured to:
perform a subsequent in-array multiplication operation between the output values for the layer of the neural network and weights of an additional layer of the neural network stored in the first set of arrays.

### Claim 4 (depends on 1)

The apparatus of claim 1, wherein the one or more first control circuits are formed on a first control die, the apparatus further comprising:
a first memory die including the first set of one or more arrays, the first memory die formed separately from and bonded to the first control die to form a first bonded die pair; and
a second bonded die pair, including a second control die on the one or more second control circuits are formed, the first bonded die pair and the second bonded die pair are part of a plurality of stacked, bonded die pairs; and
the one or more vias each connecting the first control die and the second control die and configured to transfer data between the first control die and the second control die.

### Claim 5 (depends on 4)

The apparatus of claim 4, wherein, in determining the set of output values for the layer of the neural network, the one or more first control circuits are configured to:
perform a first activation operation on the set of output values subsequent to performing the multiplication operation between the set of input values and the weights of the layer of the neural network, and
wherein the one or more second control circuits are configured to:
receive set of output values over the vias; and
perform a second activation operation on the received set of output values.

### Claim 6 (depends on 4)

The apparatus of claim 4, wherein the first control die is a CMOS die.

### Claim 7 (depends on 4)

The apparatus of claim 4, wherein the first memory die is formed in an NMOS process.

### Claim 8 (depends on 4)

The apparatus of claim 4, wherein the first memory die is a storage class memory die.

### Claim 9

An apparatus, comprising:
a stack of a plurality of bonded die pairs connected along a plurality of vias configured to transfer data between the bonded die pairs, each of the bonded die pairs comprising:
a memory die having one or more arrays of non-volatile memory cells, each array configured to store one or more weights of a layer of a neural network; and
a control die having one or more control circuits configured to access data stored on the memory die of the bonded die pair,
where the arrays of the memory dies are organized into columns along the vias and the control circuits are further configured to:
receive an input for the neural network at first of bonded die pairs; and
propagate the input through the layers of the neural network by propagating the input though a corresponding sequence of the arrays along the columns, performing a multiplication operation in each of the bonded die pairs using the weights stored in the corresponding array in the sequence.

### Claim 10 (depends on 9)

The apparatus of claim 9, wherein:
the layers of the neural network include both convolutional layers and fully connected layers.

### Claim 11 (depends on 9)

The apparatus of claim 9, wherein the multiplication operation in one or more of bonded die pairs using the weights stored in the corresponding array in the sequence is performed in the memory die of the bonded die pair.

### Claim 12 (depends on 9)

The apparatus of claim 9, wherein the multiplication operation in one or more of bonded die pairs using the weights stored in the corresponding array in the sequence is performed in the control die of the bonded die pair.

### Claim 13 (depends on 9)

The apparatus of claim 9, wherein the control circuits of the control dies of the plurality of the bonded die pairs are further configured to:
propagate the input though a plurality of the corresponding sequence of the arrays along a first of the columns in a first direction; and
subsequently propagate the input though a plurality of the corresponding sequence of the arrays along a second of the columns in a second direction.

### Claim 14 (depends on 9)

The apparatus of claim 9, wherein the control die are CMOS die.

### Claim 15 (depends on 9)

The apparats of claim 9, wherein the memory die are formed in an NMOS process.

### Claim 16

A method, comprising:
receiving a first input for a neural network;
performing an inferencing operation for the input of the neural network and a plurality of layer of the neural network by:
receiving the first input at a control die of a first bonded die pair of anon-volatile memory structure, the non-volatile memory structure comprising a plurality bonded die pairs, including the first bonded die pair, each of the bonded die pairs including a control die and a non-volatile memory die, each of the non-volatile memory dies storing weights for one or more layers of the neural network;
propagating the first input through a sequence of the bonded die pairs, the bonded die pairs forming a three dimensional stack in which the bonded die pairs are connected by through silicon vias, the propagating including:
at the first bonded die pair, generating an output for a layer of the neural network stored on the memory die of the first bonded die pair from the first input; and
at each of one or more subsequent bonded die pairs in the sequence:
receiving along the through silicon vias an output from the preceding bonded die pair in the sequence; and
generating an output for a layer of the neural network stored on the memory die of the subsequent bonded die pair using the output from the preceding bonded die pair as input; and
providing an output of the inferencing operation from the control die of one of the subsequent bonded die pairs.

### Claim 17 (depends on 16)

The method of claim 16, wherein the layers of the neural network include both convolutional layers and fully connected layers.

### Claim 18 (depends on 16)

The method of claim 16, wherein, in one or more of the bonded die pairs, generating an output for a layer of the neural network stored on the memory die includes:
performing a multiplication between the input and the weights of the layer of the neural network in the memory die of the bonded die pair.

### Claim 19 (depends on 16)

The method of claim 16, wherein, in one or more of the bonded die pair, generating an output for a layer of the neural network stored on the memory die includes:
reading the weights of the layer of the neural network from the memory die of the bonded die pair; and
performing a multiplication between the input and the weights of the layer of the neural network in logic of control die of the bonded die pair.

### Claim 20 (depends on 16)

The method of claim 16, wherein, for each of the subsequent bonded die pairs, generating the output for the layer includes applying an activation function, the activation functions differing between two or more of the subsequent bonded die pairs.
