Chip comprising multiply-accumulate module, terminal and control method

A multiply-accumulate and chip technology, which is applied to the chip field including multiply-accumulate modules, can solve the problems of large chip area and power consumption, and achieve the effect of reducing power consumption, occupied area, and total number of devices

Active Publication Date: 2019-05-10
TENCENT TECH (SHENZHEN) CO LTD
View PDF3 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Due to the need to implement two multiply-accumulate modules on the chip at the same time, the chip area and power consumption of the chip are relatively large

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
  • Chip comprising multiply-accumulate module, terminal and control method
  • Chip comprising multiply-accumulate module, terminal and control method
  • Chip comprising multiply-accumulate module, terminal and control method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] In order to make the purpose, technical solution and advantages of the present application clearer, the implementation manners of the present application will be further described in detail below in conjunction with the accompanying drawings.

[0036] First, a brief introduction to several nouns involved in this application:

[0037] Multiply Accumulate (Multiply Accumulate, MAC): After multiplying the first operand A and the second operand B, multiply the product with the third operand C in The addition operation, that is, C out =A*B+C in .

[0038] Multiply-accumulate module: In a digital signal processor or some microprocessors, a hardware circuit unit used to implement multiply-accumulate operations, also known as a "multiplier-accumulator".

[0039] Fixed-point number (fixed-point number): A number representation method used in the computer, and it is agreed that the position of the decimal point of all data in the machine is fixed. Two simple conventions are u...

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 chip comprising a multiply-accumulate module, a terminal and a control method, and relates to the field of chips. The chip comprises a multiplication and accumulation module,and the multiplication and accumulation module comprises a fixed point general unit, a floating point special unit and an output selection unit. The fixed point general unit and the floating point special unit are respectively connected with the output selection unit; and the fixed-point general unit is also connected with the floating point special unit, and the fixed-point general unit and thefloating point special unit share a group of multipliers. In the multiplication and accumulation module of the chip, fixed-point operation and floating-point operation are integrated on a circuit, sothat the multiplication and accumulation module realizes fixed-point operation in the circuit, and floating-point operation can be realized at the same time; the fixed-point operation unit and the floating-point operation unit share the multiplier, so that the total number of used devices is reduced, and the occupied area of the fixed-point operation unit and the floating-point operation unit on achip and the power consumption during operation are reduced.

Description

technical field [0001] The present application relates to the field of chips, in particular to a chip including a multiply-accumulate module, a terminal and a control method. Background technique [0002] The multiply-accumulate module is a basic calculation module on the chip, which is widely used in such as central processing unit (Central Processing Unit, CPU), field-programmable gate array (Field-Programmable Gate Array, FPGA), application specific integrated circuit (Application Specific Integrated Circuits) , ASIC), graphics processing unit (Graphics Processing Unit, GPU) or other artificial intelligence (Artificial Intelligence, AI) chips and other chips. [0003] Taking the chip used for neural network model calculation as an example, there are two kinds of multiply-accumulate modules on the chip: the first multiply-accumulate module for fixed-point operations (also called integer operations), and the first for floating-point operations. Two multiply-accumulate modu...

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): G06F9/30
CPCG06F9/30G06F7/5443Y02D10/00G06F7/4824G06F7/483G06F7/501G06F7/556
Inventor 李嘉昕
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products