Bit Reduce
Reduces the AND, OR, or XOR bits of all input signal bits to one bit.
blockType: Bit Reduce
Path in the library:
|
Description
Block Bit Reduce performs the selected bit reduction operation (AND, OR, or XOR) on all bits of the input signal, outputs single-bit data to the output.
Ports
Input
#
IN_1
—
Input signal
scalar | vector
Details
The input signal over which the bit reduction operation is performed.
-
Minimum bit width: 2
-
Maximum bit width: 128
| Data types |
|
| Complex numbers support |
I don’t |
Output
#
OUT_1
—
Output signal
scalar | vector
Details
The output signal, reduced to a bit.
| Data types |
|
| Complex numbers support |
I don’t |
Parameters
Parameters
#
Reduction Mode —
input reduction operation
AND | OR | XOR
Details
input signal reduction operation. Defined as:
-
AND(By default) - performs bitwise AND reduction of the input signal. -
OR- performs bitwise OR reduction of the input signal. -
XOR- performs bitwise XOR reduction of the input signal.
| Values |
|
| Default value |
|
| Program usage name |
|
| Tunable |
No |
| Evaluatable |
No |