# US 2022/0291899 A1 · Processing unit, method and computer program for multiplication

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

- Number: US 2022/0291899 A1
- Document ID: US20220291899A1
- Status: Published application
- Kind: A1
- Application number: 17/625,026
- Filed: 2020-07-14
- Published: 2022-09-15
- Earliest claimed: 2019-08-07
- Assignees: Robert Bosch GmbH
- Applicants: Robert Bosch GmbH
- Inventors: Sebastian Vogel
- Web page: https://patentgrep.com/patent/US20220291899A1

## CPC

- G06F 7/4833: {Logarithmic number system}
- G06F 7/5235: {using indirect methods, e.g. quarter square method, via logarithmic domain}
- G06F 7/4876: {Multiplying}
- G06F 2207/4824: Neural networks
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

A processing unit for multiplying a first value by a first multiplicand, or for multiplying the first value by, in each instance, a second and third multiplicand. The processing unit receives the multiplicands in a logarithmic number format, so that the multiplicands are each present in the form of at least one exponent at a specifiable base. The processing unit includes a first register, in which either two exponents of the first multiplicand or the exponent of the second and the exponent of the third multiplicand are stored. A set configuration bit indicates whether either the two exponents of the first multiplicand or the exponent of the second and the exponent of the third multiplicand are stored in the first register. The processing unit includes at least two bitshift operators. A method and a computer program for multiplying the value by the multiplicand are also described.

## Claims

### Claim at position 1

1-10 (canceled)

### Claim 11

A processing unit configured to multiply a first value by at least one multiplicand, the processing unit comprising:
a first register, in which may be stored either: (i) two exponents of a first logarithmic number format of a first multiplicand, or (ii) an exponent of a second logarithmic number format of each of a second multiplicand and third a multiplicand, the processing unit being configured to set a configuration bit which indicates whether either: (i) the two exponents of the first multiplicand or (ii) the exponent of the second and the exponent of the third multiplicand, are stored in the first register;
a first bitshift operator and a second bitshift operator, the first bitshift operator being configured to shift the first value by a number of places, which corresponds to a value of a first exponent of the stored exponents of the first register, and the second bitshift operator being configured to shift the first value by a second number of places, which corresponds to a value of a second exponent of the stored exponents of the first register;
an adder configured to add up a result of the first bitshift operator and a result of the second bitshift operator;
wherein the processing unit is configured to output a result of the adder if the configuration bit indicates that the two exponents of the first multiplicand is stored in the first register; and
wherein the processing unit is configured to output the result of the second bitshift operator and the result of the first bitshift operator if the configuration bit indicates that the exponents of the second and third multiplicands are stored in the first register.

### Claim 12 (depends on 11)

The processing unit as recited in claim 11, wherein the processing unit includes a further bitshift operator, the further bitshift operator beings configured to shift the result of the first bitshift operator to the left by a third number of places, the processing unit is configured to receive a specifiable value, the third number corresponds to a specifiable value, which indicates a different resolution of the two exponents of the first multiplicand, and the adder is configured to add up the result of the second bitshift operator and a result of the further bitshift operator.

### Claim 13 (depends on 11)

The processing unit as recited in claim 11, wherein sign bits, which are each assigned to one of the stored exponents, may additionally be stored in the first register; and the adder is configured to sum up or subtract the results of the first and second bitshift operators as a function of the sign bit.

### Claim 14 (depends on 13)

The processing unit as recited in claim 13, wherein the processing unit further includes a first accumulator and a second accumulator, and wherein the processing unit is further configured in such a manner that if the configuration bit indicates that the first multiplicand is stored in the first register, one of the accumulators accumulates only a result of the adder, and the processing unit is further configured in such a manner that if the configuration bit then indicates that the exponents of the second and third multiplicands are stored in the first register, the first accumulator accumulates the result of the second bitshift operator, and the second accumulator accumulates the result of the first bitshift operator.

### Claim 15 (depends on 14)

The processing unit as recited in claim 14, wherein the first accumulator is configured to sum up or subtract the result of the second bitshift operator as a function of the sign bit which is assigned to the exponent that is used for the second bitshift operator, and the second accumulator is configured to sum up or subtract the result of the first bitshift operator as a function of the sign bit, which is assigned to the exponent that is used for the first bitshift operator.

### Claim 16 (depends on 14)

The processing unit as recited in claim 14, wherein the processing unit is further configured to reset the first and second accumulators, if the configuration bit is changed.

### Claim 17

A method for operating a processing unit configured to multiply a first value by at least one multiplicand, the method comprising the following steps:
providing two exponents, a value, and a configuration bit, the configuration bit indicating whether the two exponents are assigned to exactly one multiplicand or are each assigned to a different multiplicand;
executing a first bitshift of the value by a first number of places which corresponds to a value a first exponent of the two exponents, and a second bitshift of the value by a second number of places which corresponds to a value of a second exponent of the two exponents; and
outputting results of the first and second bitshifts as a function of the configuration bit, wherein when the configuration bit indicates that the two exponents are assigned to exactly one multiplicand, the results of the first and second bitshifts being added and outputted as a result of the multiplication, and when the configuration bit indicates that the two exponents are each assigned to a different multiplicand, the results of the first and second bitshifts each being outputted as a result of the multiplication of the value by, in each instance, one of the multiplicands.

### Claim 18 (depends on 17)

The method as recited in claim 17, wherein a base of the multiplicands of the first and second logarithmic number formats corresponds to the value 2.

### Claim 19

A non-transitory machine-readable storage element on which is stored a computer program for operating a processing unit configured to multiply a first value by at least one multiplicand, the computer program, when executed by a computer, causing the following steps to be carried out:
providing two exponents, a value, and a configuration bit, the configuration bit indicating whether the two exponents are assigned to exactly one multiplicand or are each assigned to a different multiplicand;
executing a first bitshift of the value by a first number of places which corresponds to a value a first exponent of the two exponents, and a second bitshift of the value by a second number of places which corresponds to a value of a second exponent of the two exponents; and
outputting results of the first and second bitshifts as a function of the configuration bit, wherein when the configuration bit indicates that the two exponents are assigned to exactly one multiplicand, the results of the first and second bitshifts being added and outputted as a result of the multiplication, and when the configuration bit indicates that the two exponents are each assigned to a different multiplicand, the results of the first and second bitshifts each being outputted as a result of the multiplication of the value by, in each instance, one of the multiplicands.
