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

Chip comprising multiply accumulator, terminal and floating point operation control method

A technology of multiply-accumulator and floating-point operation, applied in instrumentation, calculation, electrical digital data processing, etc., can solve the problem of large chip area and power consumption, and achieve the effect of reducing the area, reducing power consumption, and reducing the number of settings

Pending Publication Date: 2020-10-13
TENCENT TECH (SHENZHEN) CO LTD
View PDF0 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Therefore, for the multiplication operation of the decimal part, FP16 floating-point operation and FP32 floating-point operation use independent operation circuits, and it is still necessary to integrate a lot of operation units on the chip to support the floating-point operation of the above two types of operation bit width at the same time. , resulting in a large chip area and power consumption

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 accumulator, terminal and floating point operation control method
  • Chip comprising multiply accumulator, terminal and floating point operation control method
  • Chip comprising multiply accumulator, terminal and floating point operation control method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] 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.

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

[0047]Multiply Accumulate (MAC): After multiplying the first operand A and the second operand B, the operation of adding the product to the third operand C, that is, C out =A*B+C.

[0048] Multiply-accumulator: In a digital signal processor or some microprocessors, a hardware circuit unit used to implement multiply-accumulate operations.

[0049] 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 usually adopted in computers: the position of the decimal point is fixed before the highes...

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 accumulator, a terminal and a floating point operation control method, and relates to the field of chips. The multiply accumulator comprises a floating point number input end, a first selection end, a floating point general unit and an output unit, wherein the floating point universal unit is connected with the floating point number input end, the first selection end and the output unit. According to the invention, in different floating point operation modes, the floating point number with high bit width can be split into sub-operands with low bit width to carry out multiply-accumulate operation, and according to the selecting of a floating point operation mode, the multiplier and the adder in the multiply accumulator are controlled to be split and recombined, so that the operational circuit in the multiply-accumulator becomes an operational circuit corresponding to the floating-point operation mode, the operational circuit can support multiply-accumulate operation of floating-point numbers with different bit widths, at least two sets of hardware structures do not need to be integrated on the chip, and the area and power consumption of the chip are effectively reduced.

Description

technical field [0001] The present application relates to the field of chips, in particular to a chip including a multiply accumulator, a terminal and a control method for floating-point operations. Background technique [0002] The multiplier-accumulator used for floating-point calculation is used as a basic calculation unit, such as a graphics processing unit (Graphics Processing Unit, GPU), an artificial intelligence (Artificial Intelligence, AI) chip, a central processing unit (Central Processing Unit, CPU), on-site Core components on chips such as Field-Programmable Gate Array (FPGA) and Application Specific Integrated Circuits (ASIC). [0003] FP16, FP32, FP64 and other bit-width floating-point operations need to use different hardware structures. For example, FP64 floating-point operations use a set of hardware structures, FP16 floating-point operations and FP32 floating-point operations use a set of hardware structures, and two sets of hardware structures independen...

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): G06F7/575G06F7/483
CPCG06F7/575G06F7/483G06F7/4876G06F7/5443G06F7/49915G06F7/523
Inventor 李嘉昕
Owner TENCENT TECH (SHENZHEN) CO LTD
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