# US 2019/0244087 A1 · Processor in memory supporting binary convolution operation and method of operating the same

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

- Number: US 2019/0244087 A1
- Document ID: US20190244087A1
- Status: Published application
- Kind: A1
- Application number: 16/253,332
- Filed: 2019-01-22
- Published: 2019-08-08
- Earliest claimed: 2018-02-05
- Assignees: Korea University Research and Business Foundation
- Applicants: Korea University Research and Business Foundation
- Inventors: Jongsun PARK; Woong CHOI; Kwanghyo JEONG
- Web page: https://patentgrep.com/patent/US20190244087A1

## CPC

- G06N 3/063: using electronic means
- G06F 18/24: Classification techniques
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/0495: Quantised networks; Sparse networks; Compressed networks
- G06V 10/764: using classification, e.g. of video objects
- G06V 10/82: using neural networks
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

Disclosed are an artificial neural network device and a method of operating the same. The artificial neural network device includes an operation part performing an artificial neural network operation on an input feature map and a classification part performing a classifying operation on the input feature map based on the artificial neural network operation of the operation part. The operation part includes an XNOR operation circuit performing an XNOR operation on the input feature map and a filter and a binarizing circuit performing a binarization operation based on the result of the XNOR operation of the XNOR operation circuit. Accordingly, the artificial neural network device is miniaturized and performs the operation at high speed.

## Claims

### Claim 1

A processor in memory comprising:
a time domain signal processor; and
a content addressable memory, wherein the processor in memory performs a binary convolution operation and a majority voting operation on an input feature map through the time domain signal processor and the content addressable memory to output an output feature map.

### Claim 2 (depends on 1)

The processor in memory of claim 1, wherein the content addressable memory corresponds to a memory cell array of an artificial neural network device, and the time domain signal processor corresponds to a binarizing circuit of the artificial neural network device.

### Claim 3

An artificial neural network device comprising:
an operation part performing an artificial neural network operation on an input feature map; and
a classification part performing a classifying operation on the input feature map based on the artificial neural network operation of the operation part, the operation part comprising:
an XNOR operation circuit performing an XNOR operation on the input feature map and a filter; and
a binarizing circuit performing a binarization operation based on the result of the XNOR operation of the XNOR operation circuit.

### Claim 4 (depends on 3)

The artificial neural network device of claim 3, wherein the XNOR operation circuit comprises:
a memory cell array comprising a plurality of memory cells connected to a plurality of match lines and storing data of the input feature map; and
a precharge circuit precharging at least one match line among the match lines.

### Claim 5 (depends on 4)

The artificial neural network device of claim 4, wherein the memory cell array is connected to a plurality of source lines and receives weight data of the filter through the source lines.

### Claim 6 (depends on 5)

The artificial neural network device of claim 5, wherein at least one memory cell among the memory cells comprises:
a first transistor connected to a match line selected from the match lines and turned on or off in response to a complementary value of stored data;
a second transistor connected to the selected match line and turned on or off in response to the stored data;
a third transistor connected to the first transistor and turned on or off in response to data provided to a source line selected from the source lines; and
a fourth transistor connected to the second transistor and turned on or off in response to a complementary value of the data provided to the selected source line.

### Claim 7 (depends on 6)

The artificial neural network device of claim 6, wherein, when the stored data and the data provided through the selected source line are the same as each other, the at least one memory cell blocks a discharge path with respect to the selected match line, and when the stored data and the data provided through the selected source line are different from each other, the at least one memory cell generates the discharge path with respect to the selected match line.

### Claim 8 (depends on 5)

The artificial neural network device of claim 5, wherein the memory cell array further comprises a plurality of reference cells connected to a reference match line to generate or block a discharge path with respect to the reference match line.

### Claim 9 (depends on 8)

The artificial neural network device of claim 8, wherein at least one reference cell among the reference cells comprises:
a first transistor connected to the reference match line to block the discharge path;
a second transistor connected to the reference match line and turned on or off in response to a weight value of the filter;
a third transistor connected to the first transistor and turned on or off in response to data provided to a source line selected from the source lines; and
a fourth transistor connected to the second transistor and turned on or off in response to a complementary value of the data provided to the selected source line.

### Claim 10 (depends on 9)

The artificial neural network device of claim 9, wherein, when the artificial neural network operation is performed, some reference cells of the reference cells generate the discharge path with respect to the reference match line, and other reference cells of the reference cells block the discharge path with respect to the reference match line.

### Claim 11 (depends on 8)

The artificial neural network device of claim 8, wherein the reference cells do not store data.

### Claim 12 (depends on 8)

The artificial neural network device of claim 8, wherein the binarizing circuit comprises:
a plurality of TDAs; and
a delay buffer disposed between the match lines and the TDAs, and each of the TDAs is connected to a corresponding match line among the match lines and commonly connected to the reference match line.

### Claim 13 (depends on 12)

The artificial neural network device of claim 12, wherein at least one TDA among the TDAs outputs data of an output feature map based on a comparison result of a discharge rate of the corresponding match line among the match lines and a discharge rate of the reference match line.

### Claim 14 (depends on 4)

The artificial neural network device of claim 4, wherein the memory cells comprise:
a first group of memory cells corresponding to a first match line among the match lines; and
a second group of memory cells corresponding to a second match line different from the first match line among the match lines, and the data of the input feature map are stored in the first group of memory cells and the second group of memory cells to overlap with each other.

### Claim 15 (depends on 14)

The artificial neural network device of claim 14, wherein the artificial neural network operation with respect to the data stored in the first group and the artificial neural network operation with respect to the data stored in the second group are substantially simultaneously performed.

### Claim 16 (depends on 4)

The artificial neural network device of claim 4, wherein the memory cells comprise:
a first group of memory cells corresponding to a first match line among the match lines; and
a second group of memory cells corresponding to a second match line different from the first match line among the match lines, and the data of the input feature map are stored in the first group of memory cells and the second group of memory cells not to overlap with each other.

### Claim 17 (depends on 4)

The artificial neural network device of claim 4, wherein the memory cell array comprises:
a plurality of banks storing the memory cells; and
a match line switch circuit disposed between the banks.

### Claim 18 (depends on 17)

The artificial neural network device of claim 17, wherein the match line switch circuit selects a match line of a first bank among the banks based on a sliding operation of the filter, selects a match line of a second bank adjacent to the first bank, and electrically connects the selected match line of the first bank to the selected match line of the second bank.

### Claim 19

A method of operating an artificial neural network device, comprising:
programming data of an input feature map in a memory cell array;
precharging at least one match line among a plurality of match lines connected to the memory cell array;
providing weight data of a filter through at least one source line among a plurality of source lines connected to the memory cell array; and
performing an evaluation operation on the at least one match line based on the data stored in the memory cell array and the weight data of the filter.

### Claim 20 (depends on 19)

The method of claim 19, further comprising outputting data of an output feature map based on a comparison result of a discharge rate of the at least one match line and a discharge rate of a reference match line.
