A sample rate converter for Xilinx FPGAs