Method and apparatus for calculating data
AssigneeSamsung Electronics Co., Ltd.
InventorsHyeongseok Yu, Yeongon Cho, Changmoo Kim, Soojung Ryu
Life of this patent
Estimating the term…
Abstract
A method of calculating data includes acquiring a difference between first data that is input and second data that was previously stored; determining a method of generating third data corresponding to a result of a calculation of the first data based on the difference; and performing a calculation corresponding to the determined method using a calculator.
Claims26
A method of calculating data using a calculation unit that includes an adder, first and second selectors, and first and second calculators, the adder being configured to receive outputs of the first and second selectors, respectively, the first selector being configured to receive a first input and an output of the first calculator, the second selector being configured to receive a second input and an output of the second calculator, the method comprising:
- acquiring a difference between first data that is input and second data that was previously stored;
- selecting, based on the difference, a process from among a first process of generating third data and a second process of generating the third data;
- and
- performing the selected process,
- the third data corresponding to a result of performing a mathematical operation on the first data,
- the first process including,
- calculating, using the first calculator, an output of a first mathematical function using the first data as an input to the first mathematical function,
- selecting, using the first selector, the output of the first calculator and providing the output of the first calculator to the adder,
- selecting, using the second selector, the second input and providing the second input to the adder, and
- generating the third data by adding, using the adder, the output of the first calculator to the second input,
- the second process including,
- calculating, using the second calculator, the output of a first mathematical function using the difference as an input to the first mathematical function,
- selecting, using the first selector, the first input and providing the first input to the adder,
- selecting, using the second selector, an output of the second calculator and providing the output of the second calculator to the adder, and
- generating the third data by adding, using the adder, the first input to the output of the second calculator,
- a first number of calculations included in the second process being less than a second number of calculations included in the first process.
An apparatus for calculating data, the apparatus comprising:
- a processor, the processor including,
- an acquisition circuit configured to acquire a difference between first data that is input and second data that was previously stored;
- a determination circuit configured to select, based on the difference, a process from among a first process of generating third data and a second process of generating the third data;
- and
- a calculation circuit configured to perform the selected process, the calculation circuit including an adder, first and second selectors, and first and second calculators, the adder being configured to receive outputs of the first and second selectors, respectively, the first selector being configured to receive a first input and an output of the first calculator, the second selector being configured to receive a second input and an output of the second calculator,
- the third data corresponding to a result of performing a mathematical operation on the first data,
- the calculation circuit being configured such that,
- performing the first process includes,
- calculating, using the first calculator, an output of a first mathematical function using the first data as an input to the first mathematical function,
- selecting, using the first selector, the output of the first calculator and providing the output of the first calculator to the adder,
- selecting, using the second selector, the second input and providing the second input to the adder, and
- generating the third data by adding, using the adder, the output of the first calculator to the second input, and
- performing the second process includes,
- calculating, using the second calculator, the output of a first mathematical function using the difference as an input to the first mathematical function,
- selecting, using the first selector, the first input and providing the first input to the adder,
- selecting, using the second selector, an output of the second calculator and providing the output of the second calculator to the adder, and
- generating the third data by adding, using the adder, the first input to the output of the second calculator,
- the calculation circuit being further configured such that a first number of calculations included in the second process is less than a second number of calculations included in the first process.
An apparatus for calculating data, the apparatus comprising:
- a processor including,
- an acquisition circuit configured to acquire a difference between first data that is input and second data that was previously stored;
- a calculation circuit including multiplier inputs, an adder, first and second selectors, and first and second calculators, the adder being configured to receive outputs of the first and second selectors, respectively, the first selector being configured to receive a first input and an output of the first calculator, the second selector being configured to receive a second input and an output of the second calculator;
- and
- a determination circuit configured to,
- determine a process of generating third data based on the difference, the third data corresponding to a result of performing a mathematical operation on the first data, and
- control data input to the multiplier inputs to control the calculation circuit to perform a calculation according to the determined process,
- wherein the determination circuit is configured such that the determining of the process includes selecting, based on the difference, between,
- a first process including generating the third data by controlling the calculation circuit to perform a first number of calculations based on the first data using a first precision level, and
- a second process including generating the third data by controlling the calculation circuit to perform a second number of calculations based on the difference using a second precision level,
- the second precision level being lower than the first precision level such that the second number of calculations is less than the first number of calculations,
- wherein the calculation circuit is configured such that generating the third data in accordance with the first process includes,
- calculating, using the first calculator, an output of a first mathematical function using the first data as an input to the first mathematical function,
- selecting, using the first selector, the output of the first calculator and providing the output of the first calculator to the adder,
- selecting, using the second selector, the second input and providing the second input to the adder, and
- generating the third data by adding, using the adder, the output of the first calculator to the second input, and
- wherein the calculation circuit is further configured such that generating the third data in accordance with the second process includes,
- calculating, using the second calculator, the output of a first mathematical function using the difference as an input to the first mathematical function,
- selecting, using the first selector, the first input and providing the first input to the adder,
- selecting, using the second selector, an output of the second calculator and providing the output of the second calculator to the adder, and
- generating the third data by adding, using the adder, the first input to the output of the second calculator.
Dependencies are inferred from the claim text.