| 12345678910111213141516171819202122 |
- module uart_fixed_candidate_top (
- input wire clk,
- input wire rst_n,
- input wire rx,
- input wire tx_valid,
- input wire [7:0] tx_data,
- output wire rx_valid,
- output wire [7:0] rx_data,
- output wire framing_error,
- output wire tx,
- output wire tx_busy,
- output wire tx_done
- );
- uart_rx_byte #(.CLKS_PER_BIT(27)) u_rx (
- .clk(clk), .rst_n(rst_n), .rx_i(rx),
- .byte_valid(rx_valid), .byte_data(rx_data), .framing_error(framing_error)
- );
- uart_tx_byte #(.CLKS_PER_BIT(27)) u_tx (
- .clk(clk), .rst_n(rst_n), .byte_valid(tx_valid), .byte_data(tx_data),
- .tx_o(tx), .busy(tx_busy), .byte_done(tx_done)
- );
- endmodule
|