Adding FPGA code