uart_fractional_candidate_top.v 669 B

12345678910111213141516171819202122
  1. module uart_fractional_candidate_top (
  2. input wire clk,
  3. input wire rst_n,
  4. input wire rx,
  5. input wire tx_valid,
  6. input wire [7:0] tx_data,
  7. output wire rx_valid,
  8. output wire [7:0] rx_data,
  9. output wire framing_error,
  10. output wire tx,
  11. output wire tx_busy,
  12. output wire tx_done
  13. );
  14. uart_rx_byte_fractional u_rx (
  15. .clk(clk), .rst_n(rst_n), .rx_i(rx),
  16. .byte_valid(rx_valid), .byte_data(rx_data), .framing_error(framing_error)
  17. );
  18. uart_tx_byte_fractional u_tx (
  19. .clk(clk), .rst_n(rst_n), .byte_valid(tx_valid), .byte_data(tx_data),
  20. .tx_o(tx), .busy(tx_busy), .byte_done(tx_done)
  21. );
  22. endmodule