# US 2026/0267610 A1 · Multiplication and accumulation (mac) operator

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0267610 A1
- Document ID: US20260267610A1
- Status: Published application
- Kind: A1
- Application number: 19/654,930
- Filed: 2026-04-22
- Published: 2026-09-10
- Earliest claimed: 2020-01-07
- Assignees: SK hynix Inc.
- Applicants: SK hynix Inc.
- Inventors: Choung Ki SONG
- Web page: https://patentgrep.com/patent/US20260267610A1

## CPC

- G06F 7/5443: {Sum of products (for applications thereof, see the relevant places, e.g. G06F17/10, H03H17/00)}
- G06F 5/012: {in floating-point computations}
- G06F 2207/4824: Neural networks
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A multiplication-accumulation (MAC) includes a multiply-accumulate circuit configured to receive weight data and vector data, and to generate and output maximum exponent data and exponent data of multiply-accumulate data. The multiply-accumulate circuit includes a multiplication circuit that performs a multiplication operation on the weight data and the vector data to output sign data, modified exponent data, and mantissa data of each of multiplication data, a pre-processing circuit that separates each of the exponent data of the multiplication data to generate exponent upper data and exponent lower data, and performs exponent pre-processing using the exponent upper data and mantissa pre-processing using the exponent lower data to output maximum exponent upper data and pre-processed mantissa data, and an adder tree that adds the pre-processed mantissa data to generate and output mantissa data of the multiply-accumulate data.

## Claims

### Claim 1

A multiply-accumulate (MAC) operator comprising:
a multiply-accumulate circuit configured to receive weight data and vector data, and to generate and output maximum exponent data and exponent data of multiply-accumulate data,
wherein the multiply-accumulate circuit includes:
a multiplication circuit that performs a multiplication operation on the weight data and the vector data to output sign data, modified exponent data, and mantissa data of each of multiplication data;
a pre-processing circuit that separates each of the exponent data of the multiplication data to generate exponent upper data and exponent lower data, and performs exponent pre-processing using the exponent upper data and mantissa pre-processing using the exponent lower data to output maximum exponent upper data and pre-processed mantissa data; and
an adder tree that adds the pre-processed mantissa data to generate and output mantissa data of the multiply-accumulate data.

### Claim 2 (depends on 1)

The MAC operator of claim 1,
wherein each of the weight data and the vector data includes mantissa data of “M” bits,
wherein the multiplication circuit includes multipliers, and
wherein each of the multiplication data output from each of the multipliers includes mantissa data having a most significant bit (MSB) of “2×(M+1)”th bit, and a floating point is located between the “2×M”th bit and the “(2×M)+1”th bit in the mantissa data, and
wherein “M” is a natural number.

### Claim 3 (depends on 2)

The MAC operator of claim 2, wherein the pre-processing circuit includes:
a bit separation circuit that receives the exponent data of the multiplication data and separates each of the exponent data to generate and output the exponent upper data and the exponent lower data;
a exponent pre-processing circuit that receives the exponent upper data to generate and output maximum exponent upper data and shift data; and
a mantissa pre-processing circuit that performs the mantissa pre-processing on each of the mantissa data of the multiplication data using the exponent lower data and the shift data to generate and output the pre-processed mantissa data.

### Claim 4 (depends on 3)

The MAC operator of claim 3, wherein when “F” is a natural number less than 7, the bit separation circuit separates the exponent data of each of the multiplication data into upper “8-F” bits including an MSB and lower “F” bits including an LSB to output the upper “8-F” bits and the lower “F” bits as the exponent upper data and the exponent lower data, respectively.

### Claim 5 (depends on 4)

The MAC operator of claim 4, wherein the bit separation circuit transmits the exponent upper data and the exponent lower data to the exponent pre-processing circuit and the mantissa pre-processing circuit, respectively.

### Claim 6 (depends on 4)

The MAC operator of claim 4,
wherein each of the multipliers of the multiplication circuit includes:
a first exponent adder that performs an addition operation on the exponent data of the weight data and the exponent data of the vector data to output addition result data; and
a second exponent adder that performs a subtraction operation of subtracting an exponent bias value from the addition result data to output the modified exponent data, and
wherein the exponent bias value is determined as a value obtained by subtracting a set value from an exponent bias value included in each of the exponent data of the weight data and the exponent data of the vector data.

### Claim 7 (depends on 6)

The MAC operator of claim 6, wherein the set value is set as a decimal value of the “F+1”th bit of the exponent data of each of the multiplication data.

### Claim 8 (depends on 3)

The MAC operator of claim 3, wherein the exponent pre-processing circuit includes:
a maximum exponent output circuit that outputs the exponent upper data having a greatest value among the exponent upper data as the maximum exponent upper data; and
a shift data generating circuit that subtracts each of the exponent upper data from the maximum exponent upper data to output a subtraction result as the shift data.

### Claim 9 (depends on 8)

The MAC operator of claim 8, wherein the maximum exponent output circuit includes:
a plurality of comparators/selectors of an uppermost stage that receive two different exponent upper data among the exponent upper data to output the exponent upper data having a greater value;
a plurality of comparators/selectors of an intermediate stage that receive the exponent upper data output from two different comparators/selectors among the plurality of comparators/selectors of the uppermost stage to output the exponent upper data having a greater value; and
a comparator/selector of a lowermost stage that receives the exponent upper data output from the two comparators/selectors of the intermediate stage to output the exponent upper data having a greater value as the maximum exponent upper data.

### Claim 10 (depends on 8)

The MAC operator of claim 8,
wherein the shift data generating circuit includes a plurality of subtractors each having a first input terminal, a second input terminal, and an output terminal, and
wherein each of the plurality of subtractors is configured to:
receive the maximum exponent upper data through the first input terminal,
receive the exponent upper data through the second input terminal, and
subtract the exponent upper data from the maximum exponent upper data to output a result as the shift data through the output terminal.

### Claim 11 (depends on 3)

The MAC operator of claim 3, wherein the mantissa pre-processing circuit includes:
a first shifting circuit that performs first shifting on the mantissa data of the multiplication data to generate and output shifted mantissa data;
a negative number processing circuit that receives sign data of the multiplication data and the shifted mantissa data to output one of the shifted mantissa data and a 2's complement of the shifted mantissa data as intermediate mantissa data according to a value of each of the sign data; and
a second shifting circuit that performs second shifting on each of the intermediate mantissa data by a value of each of the shift data to generate and output the pre-processed mantissa data.

### Claim 12 (depends on 11)

The MAC operator of claim 11,
wherein the first shifting circuit includes a plurality of shifters each including a first input terminal, a second input terminal, and an output terminal, and
wherein each of the plurality of shifters is configured to:
receive the shift data through the first input terminal,
receive the intermediate mantissa data through the second input terminal, and
perform first shifting on the mantissa data of the multiplication data and output data generated as a result of the first shifting as the shifted mantissa data through the output terminal.

### Claim 13 (depends on 12)

The MAC operator of claim 12,
wherein the first shifting is performed on the mantissa data of the multiplication data by a first shift bit, and
wherein the first shift bit is the number of bits of a value corresponding to a difference between maximum value +1, which is a value obtained by adding “1” to the maximum value that the exponent lower data can have, and each of the exponent lower data.

### Claim 14 (depends on 11)

The MAC operator of claim 11,
wherein the negative number processing circuit includes a plurality of 2's complement circuits and a plurality of multiplexers,
wherein each of the plurality of 2's complement circuits outputs a 2's complement for each of the shifted mantissa data, and
wherein each of the plurality of multiplexers is configured to:
receive the shifted mantissa data through a first input terminal, receive the 2's complement of each of the shifted mantissa data through a second input terminal, and receive sign data of each of the multiplication data through a control terminal, and
output each of the shifted mantissa data as each of the intermediate mantissa data through an output terminal when each of the sign data represents a positive number, and output the 2's complement of each of the shifted mantissa data as each of the intermediate mantissa data through the output terminal when each of the sign data represents a negative number.

### Claim 15 (depends on 11)

The MAC operator of claim 11,
wherein the second shifting circuit includes a plurality of shifters each including a first input terminal, a second input terminal, and an output terminal, and
wherein each of the plurality of shifters is configured to:
receive the shift data through the first input terminal,
receive the intermediate mantissa data through the second input terminal, and
shift each of the intermediate mantissa data by the number of bits corresponding to a value of each of the shift data and output a shifting result as each of the pre-processed mantissa data through the output terminal.

### Claim 16

A multiplication-addition (MAC) operator comprising:
a left multiplication addition circuit configured to receive left weight data and left vector data to generate and output left maximum exponent data and exponent data of left multiplication addition data; and
a right multiplication addition circuit configured to receive right weight data and right vector data to generate and output right maximum exponent data and exponent data of right multiplication addition data,
wherein the left multiplication addition circuit includes:
a left multiplication circuit that performs a multiplication operation on the left weight data and the left vector data to output sign data, modified exponent data, and mantissa data of each of left multiplication data;
a left pre-processing circuit that separates each of the exponent of the left multiplication data to generate left exponent upper data and left exponent lower data and performs left exponent pre-processing using the left exponent upper data and left mantissa pre-processing using the left exponent lower data to output left maximum exponent upper data and left pre-processed mantissa data; and
a left adder tree that adds the left pre-processed mantissa data to generate and output mantissa data of the left multiplication addition data, and
wherein the right multiplication addition circuit includes:
a right multiplication circuit that performs a multiplication operation on the right weight data and the right vector data to output sign data, modified exponent data, and mantissa data of each of right multiplication data;
a right pre-processing circuit that separates each of the exponent of the right multiplication data to generate right exponent upper data and right exponent lower data and performs right exponent pre-processing using the right exponent upper data and right mantissa pre-processing using the right exponent lower data to output right maximum exponent upper data and right pre-processed mantissa data; and
a right adder tree that adds the right pre-processed mantissa data to generate and output mantissa data of the right multiplication addition data.

### Claim 17 (depends on 16)

The MAC operator of claim 16,
wherein each of the left weight data and right weight data and each of the left vector data and right vector data includes mantissa data of “M” bits,
wherein each of the left multiplication circuit and the right multiplication circuit includes multipliers, and
wherein each of the left multiplication data and the right multiplication data output from each of the multipliers includes mantissa data having a most significant bit (MSB) of “2×(M+1)”th bit, and a floating point is located between the “2×M”th bit and the “(2×M)+1”th bit in the mantissa data, and
wherein “M” is a natural number.

### Claim 18 (depends on 17)

The MAC operator of claim 17, wherein the left pre-processing circuit includes:
a left bit separation circuit that receives the exponent data of the left multiplication data and separates each of the exponent data to generate and output the left exponent upper data and the left exponent lower data;
a left exponent pre-processing circuit that receives the left exponent upper data to generate and output left maximum exponent upper data and left shift data; and
a left mantissa pre-processing circuit that performs the left mantissa pre-processing on each of the mantissa data of the left multiplication data using the left exponent lower data and the left shift data to generate and output the left pre-processed mantissa data,
wherein the right pre-processing circuit includes:
a right bit separation circuit that receives the exponent data of the right multiplication data and separates each of the exponent data to generate and output the right exponent upper data and the right exponent lower data;
a right exponent pre-processing circuit that receives the right exponent upper data to generate and output right maximum exponent upper data and right shift data; and
a right mantissa pre-processing circuit that performs the right mantissa pre-processing on each of the mantissa data of the right multiplication data using the right exponent lower data and the right shift data to generate and output the right pre-processed mantissa data.

### Claim 19 (depends on 18)

The MAC operator of claim 18, wherein when “F” is a natural number less than 7, each of the left bit separation circuit and the right bit separation circuit separates the exponent data of each of the multiplication data into upper “8-F” bits including an MSB and lower “F” bits including an LSB to output the upper “8-F” bits and the lower “F” bits as the exponent upper data and the exponent lower data, respectively.

### Claim 20 (depends on 18)

The MAC operator of claim 18, wherein each of the left mantissa pre-processing circuit and the right mantissa pre-processing circuit includes:
a first shifting circuit that performs first shifting on the mantissa data of the multiplication data to generate and output shifted mantissa data;
a negative number processing circuit that receives sign data of the multiplication data and the shifted mantissa data to output one of the shifted mantissa data and a 2's complement of the shifted mantissa data as intermediate mantissa data according to a value of each of the sign data; and
a second shifting circuit that performs second shifting on each of the intermediate mantissa data by a value of each of the shift data to generate and output the pre-processed mantissa data.
