Set specified bit of stored integer to one
Simulink / Logic and Bit Operations
HDL Coder / Logic and Bit Operations
The Bit Set block sets the specified bit of the stored integer to one. Scaling is ignored.
You can specify the bit to be set to one with the Index of bit parameter, where bit zero is the least significant bit.
Bit Clear | Bitwise Operator | Bit Rotate (HDL Coder) | Bit Shift (HDL Coder)