FPGA interface code for XADC module provided by Xilinx