USB Host example design for FPGA/CPLD and you can refer this source for your design.