This is a project for OpenHW contest. As a intern in Xilinx Inc, I have made some modify on their source code.