Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Vector matrix arithmetic unit in memristor memory and arithmetic method

A vector matrix and operation method technology, applied in the field of analog circuits, can solve problems such as the inability to calculate high-precision floating-point numbers, and achieve the effect of relatively small circuit area overhead, small circuit area overhead, and small array area.

Active Publication Date: 2020-11-24
HUAZHONG UNIV OF SCI & TECH
View PDF10 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Aiming at the above defects or improvement needs of the prior art, the present invention provides a memristive memory vector matrix operator and operation method, the purpose of which is to solve the technical problem that the prior art cannot perform high-precision calculations on floating-point numbers

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
  • Vector matrix arithmetic unit in memristor memory and arithmetic method
  • Vector matrix arithmetic unit in memristor memory and arithmetic method
  • Vector matrix arithmetic unit in memristor memory and arithmetic method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0041] A vector-matrix operator in a memristive memory, such as figure 1 As shown, it includes: an input split unit, a decimal multiplication unit and an external accumulation unit; wherein, there are M decimal multiplication units, and all of them include a memristor array; each decimal multiplication unit is connected in parallel, and the output terminals of the input split unit are respectively It is connected with the input end of each decimal multiplication unit, and the output end of each decimal multiplication unit is connected with the input end of the external accumulation unit;

[0042] The input splitting unit is used to unify the floating-point digits in the input floating-point number vector and the floating-point number matrix respectively and split them bit by bit to obtain N decimal vectors and M decimal matrices; the M decimal matrices are respectively After being written into the memristor arrays of M decimal multiplication units, each decimal vector is seque...

Embodiment 2

[0046] A kind of memristive memory vector matrix operation method based on the memristive memory vector matrix operator provided in embodiment 1, such as Figure 5 shown, including the following steps:

[0047] S1. After unifying the digits of each floating-point number in the input floating-point number matrix, split them bit by bit to obtain M decimal matrices, and write them into M memristor arrays respectively;

[0048] Specifically, the memristor array in this embodiment is the same as that in Embodiment 1, and will not be repeated here. According to the corresponding method in Embodiment 1, the digits of each floating-point number in the floating-point number matrix are unified into M bits, and then divided bit by bit. Take the number of digits before the decimal point as 1 (that is, the highest digit is the ones digit) as an example, such as Image 6 As shown, the floating-point number matrix after unifying the number of digits Each floating-point number in is split...

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 vector matrix arithmetic unit in a memristor memory and an arithmetic method. The vector matrix arithmetic unit comprises an input splitting unit, decimal multiplication units and an external accumulation unit; multiple decimal multiplication units are arranged, and each decimal multiplication unit comprises a memristor array; the decimal multiplication units are connected in parallel; the output terminal of the input splitting unit is connected with the input terminal of each decimal multiplication unit, and the output terminal of each decimal multiplication unit isconnected with the input terminal of the external accumulation unit. By splitting the input floating-point number vector and the floating-point number in the floating-point number matrix bit by bit, high-precision mapping of the floating-point number is realized, vector-matrix operation of the floating-point number can be executed on the premise of no precision loss, the influence of the non-idealeffect of the memristor on a calculation result is effectively reduced, and high-precision calculation of the floating-point number is realized. In addition, due to the adoption of a decimal mappingmode, the number of required devices is small, and the area overhead of the circuit is also small.

Description

technical field [0001] The invention belongs to the field of analog circuits, and more specifically relates to a memristive memory vector matrix calculator and a calculation method. Background technique [0002] Due to the characteristics of high energy efficiency, low latency, and low computational time complexity, memristor-based in-memory vector-matrix operations have been widely used in data-intensive tasks. Neural networks based on memristor arrays It has already demonstrated the huge advantage of in-memory computing in terms of energy efficiency over its traditional numerical counterparts. However, as a data-intensive task, memristor-based memory-computing integration technology faces considerable challenges when performing numerical calculation acceleration, because the vector-matrix operation performed by the memristor array is an analog Affected by the non-ideal effects of memristive devices and array non-ideal effects, the vector-matrix operation based on a single...

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
IPC IPC(8): H03K19/17704G06F17/16
CPCH03K19/177G06F17/16Y02D10/00
Inventor 李祎李健聪缪向水
Owner HUAZHONG UNIV OF SCI & TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products