A VHDL UART for communicating over a serial link with an FPGA