Multiplication and accumulation(MAC) operator and processing-in-memory (PIM) device including the mac operator
AssigneeSK hynix Inc.
InventorChoung Ki Song
Life of this patent
Estimating the term…
Abstract
A multiplication-accumulation (MAC) includes a multiplication circuit, a pre-processing circuit, and an adder tree. The multiplication circuit performs a multiplication operation on a plurality of weight data and a plurality of vector data each having a floating-point format to output a plurality of multiplication data. The pre-processing circuit performs shifting on mantissa data of the plurality of multiplication data by a difference between first maximum exponent data having a greatest value among the exponent data of the plurality of multiplication data and the remaining exponent data to output a plurality of pre-processed mantissa data. The adder tree adds the plurality of mantissa data to output mantissa addition bits.
Claims24
A multiplication-accumulation (MAC) operator comprising:
- a multiplication circuit configured to perform a multiplication operation on weight data and vector data each having a floating-point format to output multiplication data;
- a pre-processing circuit configured to perform a shifting operation of shifting mantissa data of the multiplication data by a difference between first maximum exponent data having a greatest value among exponent data of the multiplication data and each of the exponent data of the multiplication data to output pre-processed mantissa data;
- and
- an adder tree configured to add the pre-processed mantissa data to output mantissa data of multiplication addition data,
- wherein each of the weight data and each of the vector data include mantissa data of “M” bits, and the multiplication circuit includes multipliers,
- wherein the multiplication data output from each of the multipliers includes mantissa data having a most significant bit (MSB) of a “2×(M+1)”th bit, and a floating point in the mantissa data is positioned between a “2×M”th bit and the “(2×M)+1”th bit, and
- wherein “M” is a natural number.
Dependencies are inferred from the claim text.