architecture Behavioral of BRAM_2s14_49bit is
type BYTE_RAM_TYPE is array (0 to 16383) of std_logic_vector(48 downto 0) ;
signal BRAM : BYTE_RAM_TYPE:= (others => (others=> '0'));
begin
process (CLK)
begin
if (CLK'event and CLK = '1') then
if (ENABLE = '1') then
if (WRENABLE = '1') then
BRAM(conv_integer(ADDRESS(13 downto 0))) <= DATA_IN;
end if;
DATA_OUT <= BRAM(conv_integer(ADDRESS(13 downto 0))); --if correct, cache out
end if;
end if;
end process;
end Behavioral;