- 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
This commit is contained in:
+4
-10
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user