From 47c0a1b682ee74e939e0034596b1d5f8985e3280 Mon Sep 17 00:00:00 2001 From: Jens Ahrensfeld Date: Tue, 13 Oct 2009 21:21:57 +0000 Subject: [PATCH] - added tx-complete and tx-empty to ports Committed on the Free edition of March Hare Software CVSNT Server. Upgrade to CVS Suite for more features and support: http://march-hare.com/cvsnt/ git-svn-id: http://moon:8086/svn/vhdl/trunk@508 cc03376c-175c-47c8-b038-4cd826a8556b --- lib/uart/uart_tx.vhd | 5 +++++ 1 file changed, 5 insertions(+) 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