# US 2008/0307206 A1 · Method and apparatus to efficiently evaluate monotonicity

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

- Number: US 2008/0307206 A1
- Document ID: US20080307206A1
- Status: Published application
- Kind: A1
- Application number: 11/946,755
- Filed: 2007-11-28
- Published: 2008-12-11
- Earliest claimed: 2006-11-28
- Assignees: On Demand Microelectronics
- Inventors: Premysl Vaclavik; Alois Hahn
- Web page: https://patentgrep.com/patent/US20080307206A1

## CPC

- G06F 9/3853: {of compound instructions}
- G06F 9/30003: {Arrangements for executing specific machine instructions}
- G06F 9/30021: {Compare instructions, e.g. Greater-Than, Equal-To, MINMAX}
- G06F 9/3885: {using a plurality of independent parallel functional units}
- G06F 9/3891: {organised in groups of units sharing resources, e.g. clusters}
- G06F 17/18: for evaluating statistical data {, e.g. average values, frequency distributions, probability functions, regression analysis (forecasting specially adapted for a specific administrative, business or logistic context G06Q10/04)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method and processor to evaluate a monotonicity of a set of input values is disclosed. The processor achieves high processing power by means of an arbitrary number of identical parallel processing elements. Each processing element allows instruction dependent data paths and makes use of ALU factories which consist of a number of separate arithmetic logical units (ALUs) are arranged in a special kind of matrix. The processor allows parallel evaluation and analysis of the monotonicity of a multitude of sets of values. A threshold value can be freely configured to allow an uncertainty of nearly equal values which is of high importance in digital signal processing.

## Claims

### Claim 1

A processor architecture used in digital signal processing to efficiently analyze monotonicity of a set of N input values, the processor architecture comprising:
means for comparing the set of N input values and generating N comparison signals, each of the N comparison signals indicating a higher value of two different input values from the set of N input values;
means for calculating N absolute differences of the two different input values;
a set of N comparators coupled to the means for calculating N absolute differences and configured to determine which of the N absolute differences are greater than a reference value, each of the set of N comparators further configured to generate a second comparison signal indicating whether a absolute difference is greater than the reference value;
a plurality of logic elements coupled to the set of N comparators and configured to check a plurality of cases of monotonicity, each logic element of the plurality of logic elements configured to determine a unique case of monotonicity using one of the N comparison signals and the second comparison signal and generating a control signal, the control signal indicating whether the unique case of monotonicity of the plurality of cases of monotonicity is valid; and
a selection unit coupled to the plurality of logic elements and configured to select a monotonicity output value.

### Claim 2 (depends on 1)

The processor architecture of claim 1 wherein the selection unit is configured to use the control signals generated by the plurality of logic elements to select the monotonicity output value from a set of output values, the monotonicity output value being a result of a monotonicity instruction.

### Claim 3 (depends on 1)

The processor architecture of claim 1 wherein the number N of input values is at least 3.

### Claim 4 (depends on 1)

The processor architecture of claim 1 further comprising:
a main control unit;
a global address generation unit configured to be responsive to the main control;
an interface to a memory and coupled to the global address generation unit; and
at least two slices, each of the at least two slices configured to operate on a unique data set, the at least two slices coupled to the main control unit and the interface to a memory and including at least one ALU-factory, the ALU-factory having:
at least two input registers;
at least two ALU-A output registers;
at least two ALU-B output registers;
a first plurality of ALUs coupled to the at least two ALU-A output registers, each of the first plurality of ALUs is configured to send a computational result to the ALU-A output registers; and
a second plurality of ALUs coupled to the at least two ALU-B output registers, each of the second plurality of ALUs is configured to send a computational result to the ALU-B output registers.

### Claim 5 (depends on 4)

The processor architecture of claim 4 wherein each of a plurality of instructions provided by each of the first plurality and the second plurality of ALUs within the ALU-factory is configured to be executed within a single clock cycle.

### Claim 6 (depends on 1)

The processor architecture of claim 1 further comprising:
at least two ALU-C output registers; and
an ALU coupled to each of the at least two ALU-C registers and configured to send a computational result to a corresponding one of the at least two ALU-C output.

### Claim 7 (depends on 6)

The processor architecture of claim 6 wherein each of a plurality of instructions provided by each ALU coupled to the at least two ALU-C output registers is configured to be executed within a single clock cycle.

### Claim 8

A processor architecture used in digital signal processing to efficiently analyze monotonicity of a set of N input values, the processor architecture comprising:
a comparison logic circuit configured to compare the set of N input values and generate N comparison signals, each of the N comparison signals indicating a higher value of two different input values from the set of N input values;
a calculation circuit coupled to the comparison logic circuit and configured to calculate N absolute differences of the two different input values;
a set of N comparators coupled to the calculation circuit configured to determine which of the N absolute differences are greater than a reference value, each of the set of N comparators further configured to generate a second comparison signal indicating whether a absolute difference is greater than the reference value;
a plurality of logic elements coupled to the set of N comparators and configured to check a plurality of cases of monotonicity, each logic element of the plurality of logic elements configured to determine a unique case of monotonicity using one of the N comparison signals and the second comparison signal and generating a control signal, the control signal indicating whether the unique case of monotonicity of the plurality of cases of monotonicity is valid; and
a selection unit coupled to the plurality of logic elements and configured to select a monotonicity output value.

### Claim 9 (depends on 8)

The processor architecture of claim 8 wherein the selection unit is configured to use the control signals generated by the plurality of logic elements to select the monotonicity output value from a set of output values, the monotonicity output value being a result of a monotonicity instruction.

### Claim 10 (depends on 8)

The processor architecture of claim 8 wherein the number N of input values is at least 3.

### Claim 11 (depends on 8)

The processor architecture of claim 8 further comprising:
a main control unit;
a global address generation unit configured to be responsive to the main control;
an interface to a memory and coupled to the global address generation unit; and
at least two slices, each of the at least two slices configured to operate on a unique data set, the at least two slices coupled to the main control unit and the interface to a memory and including at least one ALU-factory, the ALU-factory having:
at least two input registers;
at least two ALU-A output registers;
at least two ALU-B output registers;
a first plurality of ALUs coupled to the at least two ALU-A output registers, each of the first plurality of ALUs is configured to send a computational result to the ALU-A output registers; and
a second plurality of ALUs coupled to the at least two ALU-B output registers, each of the second plurality of ALUs is configured to send a computational result to the ALU-B output registers.

### Claim 12 (depends on 11)

The processor architecture of claim 11 wherein each of a plurality of instructions provided by each of the first plurality and the second plurality of ALUs within the ALU-factory is configured to be executed within a single clock cycle.

### Claim 13 (depends on 8)

The processor architecture of claim 8 further comprising:
at least two ALU-C output registers; and
an ALU coupled to each of the at least two ALU-C registers and configured to send a computational result to a corresponding one of the at least two ALU-C output.

### Claim 14 (depends on 13)

The processor architecture of claim 13 wherein each of a plurality of instructions provided by each ALU coupled to the at least two ALU-C output registers is configured to be executed within a single clock cycle.

### Claim 15

A method of determining monotonicity of a set of N input values, the method comprising:
pairwise comparing the set of N input values to determine a higher value of two different input values from the set of N input values;
calculating N absolute differences of the two different input values;
determining which of the N absolute differences are greater than a given reference value;
checking a plurality of cases of monotonicity, the checking performed using a set of monotonicity conditions evaluated with a result of the step of pairwise comparing and the step of determining which of the N absolute differences are greater, the checking generating control signals indicating which case of monotonicity of the plurality of cases of monotonicity is valid; and
using the generated control signals to select a monotonicity output value from a set of output values, the monotonicity output value being a result of a monotonicity instruction.

### Claim 16 (depends on 15)

The method of claim 15 further comprising selecting a number N of the set of N input values to be at least 3.

### Claim 17 (depends on 15)

The method of claim 15 further comprising selecting a threshold value reference to be used in checking the plurality of cases of monotonicity to allow a degree of uncertainty, the degree of uncertainty being a tolerance defined by the threshold value reference, the tolerance defining an upper bound of the absolute value of the difference of a fist input value and a second input value.

### Claim 18 (depends on 17)

A method of claim 17 wherein the threshold value reference is configurable via an instruction.

### Claim 19 (depends on 15)

A method of claim 15 wherein the step of checking a plurality of cases of monotonicity is executed within a single clock cycle.

### Claim 20 (depends on 15)

A method of claim 15 wherein the set of output values is configurable via an instruction.
