add FPGA DMA code