- removed INT_O_TX from UART. Use now common INT_O for RX/TX

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@469 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
2009-05-03 09:30:58 +00:00
parent 134119db33
commit 1c17d74ae1
3 changed files with 17 additions and 16 deletions
+2 -4
View File
@@ -17,8 +17,7 @@ ENTITY uart_wb IS
ADDR_I : in unsigned(31 downto 0);
DAT_I : in unsigned(31 downto 0);
DAT_O : out unsigned(31 downto 0);
INT_RX_O : out STD_LOGIC;
INT_TX_O : out STD_LOGIC;
INT_O : out STD_LOGIC;
ser_rx : in std_logic;
ser_tx : out std_logic
);
@@ -177,7 +176,6 @@ inst_uart_rx: uart_rx
);
uart_status_port <= '0' & rx_int_en & tx_int_en & rx_data_present & rx_full & rx_half_full & tx_full & tx_half_full;
INT_RX_O <= rx_data_present and rx_int_en;
INT_TX_O <= not tx_full and tx_int_en;
INT_O <= (rx_data_present and rx_int_en) or (not tx_full and tx_int_en);
end behavior;