2 use ieee.std_logic_1164.all;
3 use ieee.numeric_std.all;
9 addr : std_logic_vector(7 downto 0);
10 dati : std_logic_vector(31 downto 0);
11 dato_0 : out std_logic_vector(31 downto 0);
12 dato_1 : out std_logic_vector(31 downto 0));
15 architecture syn of repro is
16 type mem_t is array (0 to 255) of std_logic_vector(31 downto 0);
22 if rising_edge(clk) then
25 mem_0 (to_integer(unsigned(addr))) <= dati;
27 mem_1 (to_integer(unsigned(addr))) <= dati;
30 dato_0 <= mem_0 (to_integer(unsigned(addr)));
31 dato_1 <= mem_1 (to_integer(unsigned(addr)));