Specified bitwise operation on inputs
Simulink / Logic and Bit Operations
HDL Coder / Logic and Bit Operations
The Bitwise Operator block performs the bitwise operation that you specify on one or more operands. Unlike logic operations of the Logical Operator block, bitwise operations treat the operands as a vector of bits rather than a single value.
The Bitwise Operator block does not support shift operations. For shift operations, use the Shift Arithmetic block.
When configured as a multi-input XOR gate, this block performs modulo-2 addition according to the IEEE® Standard for Logic Elements.
Compare To Constant | Compare To Zero | Logical Operator | Shift Arithmetic