Created by: qnqinan
fix some bugs in FPGA V1, to solve the problem that can't get the right result after update the driver code