Introduction - If you have any usage issues, please Google them yourself
Verilog serial communication program for FPGA control serial data to send, receive, including a serial debugging module and a control module, control module can be arbitrarily set themselves, serial module is fixed, all the procedures have been debugging, with a comment, very clear.