Commit a3d6e281 authored by Tristan Gingold's avatar Tristan Gingold

rtl/urv_wic: remove duplicate assigns.

parent 26619995
......@@ -56,7 +56,7 @@ architecture arch of fip_urv is
if( x(i) = 'U' or x(i) = 'Z' or x(i) = 'X' ) then
found_undef := true;
end if;
if x(i) = '1' or x(i) = 'H' then
tmp(i) := '1';
else
......@@ -68,7 +68,7 @@ architecture arch of fip_urv is
if found_undef then
report "Undefined data value read from memory" severity warning;
end if;
-- synthesis translate_on
return x;
end function f_x_to_zero;
......@@ -126,8 +126,6 @@ begin
dbg_mbx_write_i => '0',
dbg_mbx_data_o => open);
dm_data_write <= not dm_is_wishbone and dm_store;
p_rom: process (clk_sys_i)
is
constant IRAM_WSIZE : natural := 2 ** (g_IRAM_LOG_SIZE - 2);
......@@ -138,7 +136,7 @@ begin
im_data <= mem (to_integer(unsigned(im_addr(g_IRAM_LOG_SIZE - 1 downto 2))));
end if;
end process;
-- 1st MByte of the mem is the IRAM
dm_is_wishbone <= '1' when dm_addr(31 downto 20) /= x"000" else '0';
......
......@@ -103,8 +103,6 @@ begin
dbg_mbx_write_i => '0',
dbg_mbx_data_o => open);
dm_data_write <= not dm_is_wishbone and dm_store;
p_iram: process (clk_sys_i)
is
constant IRAM_WSIZE : natural := 2 ** (g_IRAM_LOG_SIZE - 2);
......@@ -119,7 +117,7 @@ begin
end if;
end if;
end process;
ram_wb_o.dat <= (others => 'X');
ram_wb_o.err <= '0';
ram_wb_o.rty <= '0';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment