Unlock instant, AI-driven research and patent intelligence for your innovation.

CNN processing device based on memristor memory calculation and working method thereof

A technology of memory computing and processing devices, applied in the fields of non-volatile storage and neural networks, which can solve problems such as insufficient memory capacity and low computing parallelism, and achieve fast processing efficiency and high parallelism

Inactive Publication Date: 2020-04-21
TIANJIN UNIV MARINE TECH RES INST
View PDF6 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to solve the shortcomings of insufficient memory capacity, serious memory-wall problems, and low parallelism in operations in existing neural network processors, the present invention proposes a CNN processing device based on memristor memory computing and its working method , the neural network-oriented in-memory computing (PIM) architecture has been improved, and the processing array can provide higher memory capacity and higher parallelism when facing large neuron data such as high-resolution images. Neural networks such as processing high-resolution images and other tasks have a very high efficiency improvement

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • CNN processing device based on memristor memory calculation and working method thereof
  • CNN processing device based on memristor memory calculation and working method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] The specific embodiments of the present invention will be described in further detail below in conjunction with the accompanying drawings. However, this embodiment is not limited to the embodiments disclosed below, but can be implemented in various ways.

[0033] In this example, an image with 22×28 pixels is used as input, the convolution kernel is 5×5, and ReRAM has 3×3 crossbars in total. The memory space in each crossbar is 8×8 cells, and there are also caches containing several cells. , each cell stores one pixel, and the memory space of ReRAM is 24×24 cells, forming a CNN processing unit array, whose structure is as follows figure 1 shown.

[0034] First store the 22×24 pixels of the first 24 columns in the image into the memory of the CNN processing unit array, that is, the effective memory is 22×24 cells, and add the 5 weights of the first column of the convolution kernel to the first There are four groups on the word line to the 20th row. First activate the 10...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a CNN processing device based on memristor memory calculation and a working method thereof. The method belongs to the field of nonvolatile memories and neural networks. Each crossbar switch matrix of the ReRAM is divided into a memory and a cache; aLU is added, each bit line is connected with an adjacent bit line on the lower side through a transmission gate; to-be-processed input data is stored in a memory; sequentially inputting the weights of the convolution kernels into the word lines according to columns; storing the data on the bit line into a cache; accumulatingthe result to obtain a convolution result so as to obtain convolution layer output, completing the calculation of the excitation layer and the pooling layer through the ALU, repeating the steps untilthe input of the full connection layer is obtained, storing the input into the first column of the processing unit array memory, sequentially inputting each group of weights into corresponding word lines in the memory, and obtaining an output result from the bit lines. According to the invention, the memory capacity of the CNN processing device can be improved, the expenditure of reading input data is reduced, the degree of parallelism of operation is improved, and the speed of CNN processing is improved.

Description

technical field [0001] The invention belongs to the field of nonvolatile storage and neural network, and in particular relates to a CNN processing device based on memristor memory computing and a working method thereof. Background technique [0002] At present, neural networks such as Convolutional Neural Network (CNN) are very common methods for performing tasks such as target recognition, image detection and segmentation, and input data such as images are usually non-negative values. However, the implementation of convolutional neural networks involves a large number of operations, especially convolution operations. Therefore, it takes a very high time and power consumption to implement CNN through traditional CPUs and other processors with low parallelism. Implementing CNN through a processor with high parallelism such as GPU, because it does not have a special design for CNN itself, will also result in low resource utilization efficiency. [0003] In recent years, dedic...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G11C16/06G06N3/063
CPCG06N3/063G11C16/06
Inventor 马建国刘鹏周绍华
Owner TIANJIN UNIV MARINE TECH RES INST