Multiplier, data processing method, chip and electronic equipment
A multiplier and data technology, applied in the computer field, can solve the problems of signal inversion and multiplier power consumption, and achieve the effect of reducing power consumption and ensuring the accuracy of operation
Patent Information
- Authority / Receiving Office
- CN · China
- Current Assignee / Owner
- Publication Date
- 2020-06-09
- Estimated Expiration
- Not applicable · inactive patent
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The present invention relates to the field of computer technology, in particular to a multiplier, a data processing method, a chip and an electronic device. Background technique
[0002] With the continuous development of digital electronic technology, the rapid development of various artificial intelligence (Artificial Intelligence, AI) chips has higher and higher requirements for high-performance digital multipliers. Neural network algorithm, as one of the algorithms widely used in smart chips, multiplication operation by multiplier is a common operation in neural network algorithm.
[0003] At present, most multipliers use the Booth algorithm to obtain partial products, compress the partial products through Wallace trees, and use a set of full adders to accumulate the compressed results to obtain the operation results. Among them, in Booth's algorithm, the negative coded signal needs to be inverted and added to obtain the partial product.
[0004] ...
Examples
Embodiment Construction
[0061] In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.
[0062] The multiplier provided by this application can be applied to AI chips, Field-Programmable Gate Array (FPGA) chips, or other hardware circuit devices to perform multiplication processing. The specific structure diagram is as follows: figure 1 and 2 shown.
[0063] figure 1 A specific structural schematic diagram of a multiplier provided for an embodiment, such as figure 1 As shown, the multiplier includes: a Booth coding circuit 11, a modified partial product acquisition circuit 12, a Wallace tree group circuit 13 and an accumulation circuit 14, the output of...