RotateRight - 2021.1 English

Xilinx Standalone Library Documentation OS and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2021-06-16
Version
2021.1 English

Rotates the provided value to the right one bit position.

Prototype

u32 RotateRight(u32 Input, u8 Width);

Parameters

The following table lists the RotateRight function arguments.

Table 1. RotateRight Arguments
Name Description
Input value to be rotated to the right
Width number of bits in the input data

Returns

The resulting u32 value of the rotate right