Bit Reduce
Reduces the AND, OR or XOR bits of all bits of the input signal to one bit.
Description
Block Bit Reduce performs the selected bit reduction operation (AND, OR or XOR) on all bits of the input signal, and outputs single-bit data.
Ports
Input
#
IN
—
input signal
scalar
| vector
Details
An input signal over which a bit reduction operation is performed.
-
Minimum bit width: 2
-
Maximum bit width: 128
Data types |
|
Complex numbers support |
No |
Output
#
OUT
—
output signal
scalar
| vector
Details
An output signal reduced to a bit.
Data types |
|
Complex numbers support |
No |
Parameters
Main
#
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 |