# US 2021/0287745 A1 · Convolution operation method based on nor flash array

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

- Number: US 2021/0287745 A1
- Document ID: US20210287745A1
- Status: Published application
- Kind: A1
- Application number: 16/326,946
- Filed: 2017-01-25
- Published: 2021-09-16
- Earliest claimed: 2017-01-25
- Assignees: Peking University
- Applicants: Peking University
- Inventors: Jinfeng KANG; Peng HUANG; Runze HAN; Xiaoyan LIU
- Web page: https://patentgrep.com/patent/US20210287745A1

## CPC

- G11C 16/04: using variable threshold transistors, e.g. FAMOS
- G11C 16/0416: {comprising cells containing a single floating gate transistor and no select transistor, e.g. UV EPROM}
- G06N 3/063: using electronic means
- G11C 16/10: Programming or data input circuits
- G11C: STATIC STORES (semiconductor memory devices H10B)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

The present disclosure relates to the field of semiconductor integrated circuits and manufacturing technologies thereof, and discloses a method and device for realizing a convolution operation based on an NOR flash storage structure. The NOR flash array has a structure of an array composed of a plurality of NOR flash cells. The convolution operation method includes: storing elements of a convolution kernel matrix into the NOR flash cells; converting elements of an input matrix into voltages and applying the voltages to gate terminals of the NOR flash cells; applying a driving voltage to source terminals of the NOR flash cells; and collecting, via drain terminals of the NOR flash cells, current values of each column to obtain a convolution operation result.

## Claims

### Claim 1

A convolution operation method based on an NOR flash array which is a two-dimensional array composed of a plurality of NOR flash cells, the method comprising:
storing elements of a convolution kernel matrix into the NOR flash cells;
applying voltages corresponding to elements of an input matrix to gate terminals of the NOR flash cells while applying a driving voltage to source terminals of the NOR flash cells, such that currents are output at drain terminals of the NOR flash cells; and
determining a convolution operation result based on output currents from the drain terminals of the NOR flash cells.

### Claim 2 (depends on 1)

The convolution operation method according to claim 1, wherein the storing of elements of a convolution kernel matrix into the NOR flash cells comprises:
applying voltages corresponding to the elements of the convolution kernel matrix to the gate terminals, the source terminals, and the drain terminals of the NOR flash cells via word lines, a common source line, and bit lines, respectively, to write the elements of the convolution kernel matrix into the NOR flash cells.

### Claim 3 (depends on 2)

The convolution operation method according to claim 2, wherein in response to an element of the convolution kernel matrix being 1 or −1, a threshold voltage of a corresponding NOR flash cell is written to a low threshold voltage; and
wherein in response to the element of the convolution kernel matrix being 0, the threshold voltage of the corresponding NOR flash cell is written to a high threshold voltage.

### Claim 4 (depends on 1)

The convolution operation method according to claim 1, wherein the applying of voltages corresponding to elements of an input matrix to gate terminals of the NOR flash cells while applying a driving voltage to source terminals of the NOR flash cells comprises,
converting the elements of the input matrix are converted into voltages;
inputting the voltages to the gate terminals of the NOR flash cells via word lines, while the driving voltage is applied to the source terminals of the NOR flash cells via a common source line.

### Claim 5 (depends on 4)

The convolution operation method according to claim 4, wherein
in response to an element of the input matrix being 1, a corresponding voltage is half of a sum of a high threshold voltage and a low threshold voltage of a corresponding NOR flash cell; and
wherein in response to the element of the input matrix being 0, the voltage is 0.

### Claim 6 (depends on 1)

The convolution operation method according to claim 1, wherein the determining of a convolution operation result based on output currents from the drain terminals of the NOR flash cells comprises;
aggregating the output currents from the drain terminals of the NOR flash cells to operational amplifiers via bit lines,
wherein values from output terminals of the operational amplifiers constitute an output matrix to determine the convolution operation result.

### Claim 7 (depends on 6)

The convolution operation method according to claim 6, wherein output currents from drain terminals of NOR flash cells connected to a positive bit line are input to a positive input terminal of a corresponding operational amplifier,
wherein output currents from drain terminals of NOR flash cells connected to a negative bit line are input to a negative input terminal of the operational amplifier, and
wherein a value from an output terminal of the operational amplifier is an element of the output matrix.

### Claim 8 (depends on 1)

The convolution operation method according to claim 1, wherein the NOR flash array further comprises a plurality of word lines, a plurality of bit lines, and a common source line,
wherein gate terminals of each row of NOR flash cells are connected via a corresponding word line,
wherein drain terminals of each column of NOR flash cells are connected via a corresponding bit line, and
wherein source terminals of the NOR flash cells are connected via one common source line.

### Claim 9 (depends on 8)

The convolution operation method according to claim 8, wherein the NOR flash array further comprises: a plurality of source lines,
wherein source terminals of each row of NOR flash cells being connected via a corresponding source line, and each of the source lines is connected to the common source line.

### Claim 10 (depends on 1)

The convolution operation method according to claim 1, wherein the input matrix has a size of mxm, the convolution kernel matrix has a size of nxn, and the obtained output matrix has a size of (m−n+1)×(m−n+1).

### Claim 11

A convolution operation device, comprising:
an NOR flash array which is a two-dimensional array composed of a plurality of NOR flash cells, and
a plurality of operational amplifiers,
wherein each of the NOR flash cells has a gate terminal, a source terminal, and a drain terminal, the gate terminals of the NOR flash cells in a same row of the NOR flash array being connected to a same word line, the drain terminals of the NOR flash cells in a same column of the NOR flash array being connected to a same bit line, and the source terminals of all the NOR flash cells being connected to a common source line,
wherein each of the operational amplifiers has a positive input terminal connected to a positive bit line and a negative input terminal connected to a negative bit line.

### Claim 12 (depends on 11)

The convolution operation device according to claim 11, wherein the convolution operation device is operative to perform a convolution operation method based on an NOR flash array which is a two-dimensional array composed of a plurality of NOR flash cells, the method comprising:
storing elements of a convolution kernel matrix into the NOR flash cells;
applying voltages corresponding to elements of an input matrix to gate terminals of the NOR flash cells while applying a driving voltage to source terminals of the NOR flash cells, such that currents are output at drain terminals of the NOR flash cells; and
determining a convolution operation result based on output currents from the drain terminals of the NOR flash cells.
