FPGA test code and UDP stuff