Converts uint32_t type data to uint8_t type.
Based on the size of the input data, there are non-saturating mode and saturating mode.
- 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 4:1, when writing data, a VL-sized block of data needs to be divided into four parts, and index 0, index 1, index 2, or index 3 is selected based on the interface used.
[object Object]
For details about vector data registers and mask registers, see .
None
PIPE_V
- 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]