The invention discloses a novel
hybrid precision
convolution multiplier-
adder, and belongs to the technical field of
artificial intelligence chip design and
deep learning acceleration. The multiplier and
adder supports two core data formats of INT16 and FP16, and efficient sharing of integer and
floating point multiplication and addition resources is realized by improving a
floating point number operation method. The core of the method is to deform a traditional FP16 floating-point number representation method, so that a 16-bit * 16-bit integer multiplier can be used in the calculation process of the method, and meanwhile, a multi-stage calculation architecture (including modules such as MTS calculation, product and maximum order code solution, symbol
processing and shifting,
adder tree summation and the like) is adopted, so that
delay caused by multiple alignment of order codes is reduced. According to the design, multiplier and
adder tree resources are multiplexed, on the premise that the accuracy loss is controllable, hardware resource redundancy and operation complexity are reduced, the
advantage of comprehensive performance is more remarkable along with increase of the
order number of the multiplier and adder, and the method is suitable for efficient acceleration scenes of
deep learning convolution operation.