Xilinx interview question

Know some basic bit manipulation