yogeshsaini1523-cpu/UART-Protocol-Design-Verilog-HDL ? reverse-engineered prompt
Reverse engineered prompt
Build me a complete UART communication project in Verilog HDL, with both a transmitter and receiver that work together in a simple loopback test.
I want the transmitter to take 8 bit parallel data and send it out serially with a start bit, even parity, and a stop bit. The receiver should detect the start bit, sample the serial data reliably using 16x oversampling, check the parity and stop bit, and turn the data back into 8 bit parallel output. Please use a clean FSM based design for both sides, make the clock frequency and baud rate configurable, and include a testbench that automatically compares the sent and received data and shows that rx_valid goes high when everything passes. If you need to, look up any current Vivado or Verilog details online while working.
Are you gonna build this?
make sure you review the code using coderabbit