FPGA loopback test