From 1c5db27de0942a43e7937aa7ef6a4c8dd5305037 Mon Sep 17 00:00:00 2001 From: Jens Ahrensfeld Date: Wed, 15 Apr 2009 13:19:23 +0000 Subject: [PATCH] - removed SEL for register writes 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@429 cc03376c-175c-47c8-b038-4cd826a8556b --- lib/uart/uart_wb.vhd | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/lib/uart/uart_wb.vhd b/lib/uart/uart_wb.vhd index dd1d5fd..5d3e3f4 100644 --- a/lib/uart/uart_wb.vhd +++ b/lib/uart/uart_wb.vhd @@ -88,20 +88,14 @@ registers_write: case ADDR_I(5 downto 2) is when "0000" => - if SEL_I(0) = '1' then - reg_we_uart_tx <= '1'; - reg_uart_tx <= DAT_I(7 downto 0); - end if; + reg_we_uart_tx <= '1'; + reg_uart_tx <= DAT_I(7 downto 0); when "0001" => - if SEL_I(0) = '1' then - reg_uart_ctrl <= DAT_I(7 downto 0); - end if; + reg_uart_ctrl <= DAT_I(7 downto 0); when "0010" => - if SEL_I(0) = '1' then - reg_uart_baud <= DAT_I(7 downto 0); - end if; + reg_uart_baud <= DAT_I(7 downto 0); when others => null; end case;