# US 2021/0342671 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/0342671 A1
- Document ID: US20210342671A1
- Status: Published application
- Kind: A1
- Application number: 16/861,862
- Filed: 2020-04-29
- 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/US20210342671A1

## 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

A non-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

A non-volatile memory device, comprising:
a plurality of stacked, bonded die pairs, each bonded die pair comprising:
a memory die having one or more arrays of non-volatile memory cell, each array configured to store one or more weights of a layer of a neural network; and
a corresponding peripheral circuitry die, formed separately from and bonded to the memory die, and having peripheral circuit elements, including one or more control circuits, connected to and configured to perform memory operations on the one or more arrays, the one or more control circuits configured to:
receive a set of input values for a layer of the neural network having weights stored one of the arrays of the memory die; and
perform a multiplication operation between the set of input values and the weights of the layer of the neural network to generate a set of output values for the layer of the neural network; and
one or more vias each connecting a plurality of the bonded die pairs and configured to transfer data between the connected bonded die pairs connected thereto, the vias configured to transfer a set output values of a multiplication operation in a first of the bonded die pairs to be a set of input values of a multiplication operation in a second of the bonded die pairs.

### Claim 2 (depends on 1)

The non-volatile memory device of claim 1, wherein, in generating the set of output values for the layer of the neural network, the one or more 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 2)

The non-volatile memory device claim 2, wherein:
the plurality of stacked, bonded die pairs includes a first bonded die pair and a second bonded die pair, wherein the one or more control circuits of the peripheral circuitry die of the first bonded die pair are further configured to perform a different set of activation operations than the peripheral circuitry die of the second bonded die pair.

### Claim 4 (depends on 1)

The non-volatile memory device of claim 1, wherein, to perform the multiplication operation between the set of input values and the weights of the layer of the neural network, the one or more control circuits are configured to:
perform the multiplication operation in the array storing the weights of the layer of the neural network.

### Claim 5 (depends on 1)

The non-volatile memory device of claim 1, wherein, to perform the multiplication operation between the set of input values and the weights of the layer of the neural network, the one or more control circuits are configured to:
read the weight of the layer of the neural network from the memory die into the peripheral circuitry die; and
perform the multiplication operation in logic of the peripheral circuitry die.

### Claim 6 (depends on 1)

The non-volatile memory device of claim 1, wherein, for one or more of the bonded die pairs, the one or more control circuits of the peripheral circuitry die are further configured to:
perform a subsequent multiplication operation between the output values for the layer of the neural network and the weights of an additional layer of the neural network stored in the one or more arrays of the corresponding memory die.

### Claim 7 (depends on 1)

The non-volatile memory device of claim 1, wherein the peripheral circuitry die of the bonded die pair is a CMOS die.

### Claim 8 (depends on 7)

The non-volatile memory device of claim 7, wherein the memory die of the bonded die pair is formed in an NMOS process.

### Claim 9 (depends on 1)

The non-volatile memory device of claim 1, wherein the memory die of the bonded die pair is a three dimensional NAND flash memory die.

### Claim 10 (depends on 1)

The non-volatile memory device of claim 1, wherein the memory die of the bonded die pair is a storage class memory die.

### Claim 11 (depends on 1)

The non-volatile memory device of claim 1, wherein the memory die of the bonded die pair is a phase change memory die.

### Claim 12 (depends on 1)

The non-volatile memory device of claim 1, wherein the layer of the neural network is convolution layer of the neural network.

### Claim 13 (depends on 1)

The non-volatile memory device of claim 1, wherein the layer of the neural network is fully connected layer of the neural network.

### Claim 14

A method, comprising:
receiving an initial input for a neural network at a peripheral circuitry die of a first bonded die pair of a non-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 peripheral circuitry 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 input for the neural network 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 initial input; and
at each of one or more subsequent bonded die pairs in the sequence:
receiving along the 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 neural network from the peripheral circuitry die of one of the subsequent bonded die pairs.

### Claim 15 (depends on 14)

The method of claim 14, 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:
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 16 (depends on 14)

The method of claim 14, 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 peripheral circuitry die of the bonded die pair.

### Claim 17

A non-volatile memory device, comprising:
a stack of a plurality of bounded die pairs, each bonded die pair having a memory die with one or more arrays of non-volatile memory cells and a peripheral circuitry die having one or more control circuits configured to access data stored on the memory die of the bonded die pair; and
a plurality of vias through the stack of bonded die pairs configured to transfer data between the bonded die pairs, the arrays of the memory dies organized into columns along the vias,
where the memory dies of the plurality of the bonded die pairs are configured to store weights of a plurality of layers of a neural network, a sequence of layers of the neural network being mapped into a corresponding sequence of the arrays along the columns, and
where the control circuits of the peripheral circuitry dies of the plurality of the bonded die pairs are further configured to perform an inferencing operation for the neural network by receiving an input for the neural network at first of bonded die pairs and propagating the input through the layers of the neural network by propagating the input though the corresponding sequence of the arrays along the columns, performing a multiplication operation in each of the bonded die pairs using the weights store in the corresponding array.

### Claim 18 (depends on 17)

The non-volatile memory device of claim 17, wherein the multiplication operation in one or more of bonded die pairs using the weights stored in the corresponding array is performed in the memory die of the bonded die pair.

### Claim 19 (depends on 17)

The non-volatile memory device of claim 17, wherein the multiplication operation in one or more of bonded die pairs using the weights stored in the corresponding array is performed in the peripheral circuitry die of the bonded die pair.

### Claim 20 (depends on 17)

The non-volatile memory device of claim 17, wherein the control circuits of the peripheral circuitry 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.
