UART controller example design for your own design reference for FPGA/CPLD. This design very simple and easy for read.