diff --git a/lib/uart/uart_tx.vhd b/lib/uart/uart_tx.vhd index 8c4e63d..ca42d04 100644 --- a/lib/uart/uart_tx.vhd +++ b/lib/uart/uart_tx.vhd @@ -57,6 +57,8 @@ entity uart_tx is serial_out : out std_logic; buffer_full : out std_logic; buffer_half_full : out std_logic; + tx_complete : out std_logic; + tx_empty : out std_logic; clk : in std_logic); end uart_tx; -- @@ -115,6 +117,9 @@ signal fifo_read : std_logic; -- begin + tx_complete <= fifo_read; + tx_empty <= not fifo_data_present; + -- 8 to 1 multiplexer to convert parallel data to serial kcuart: kcuart_tx