Bit Reduce
R2026bAND, OR, or XOR bit reduction on all input signal bits to single bit
Libraries:
HDL Coder /
Logic and Bit Operations
Description
The Bit Reduce block performs a selected bit-reduction operation (AND, OR, or XOR) on all the bits of the input signal, for a single-bit result.
Ports
Input
Output
Parameters
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"hdlsllib/Logic and Bit Operations/Bit Reduce"
Example: add_block("hdlsllib/Logic and Bit Operations/Bit Reduce","myModel/myBlock",MakeNameUnique="on")
