Converts uint16_t type data to uint8_t type, with no rounding mode.
Overflow modes:
- Non-saturating mode: The result is truncated to the data width of the target format, and the least significant bits (LSB) are retained.
- Saturating mode: The result is clamped to the representable range of the target format.
Since the bit-width ratio of the source operand to the destination operand is 2:1, when writing data, a VL-sized block of data needs to be divided into two parts, and index 0 or index 1 is selected based on the interface used.
[object Object]
For details about vector data registers and mask registers, see .
None
PIPE_V
- Non-saturating mode: When the input data exceeds the target data range, it is truncated to the target data format. For example, if the input uint16_t value is 256, the output uint8_t value is 0.
- Saturating mode: When the input data exceeds the target data range, the corresponding maximum or minimum value of the output type is returned.
- To enable the saturating mode and non-saturating mode, the ctrl register needs to be configured. For details about the ctrl register, see .
[object Object]