added FPGA interface stuff