compile FPGA, can support sample demo