Skip to content
Snippets Groups Projects
Commit 52d2dce3 authored by Tomasz Wlostowski's avatar Tomasz Wlostowski
Browse files

genrams: increased width of internal byte select array to avoid...

genrams: increased width of internal byte select array to avoid compilation/synthesis errors on rams wider than 64 bits
parent cf9f50d3
Branches
Tags
No related merge requests found
......@@ -6,7 +6,7 @@
-- Author : Tomasz Wlostowski
-- Company : CERN BE-CO-HT
-- Created : 2011-01-25
-- Last update: 2011-10-05
-- Last update: 2012-01-20
-- Platform :
-- Standard : VHDL'93
-------------------------------------------------------------------------------
......@@ -72,7 +72,7 @@ architecture syn of generic_dpram is
constant c_num_bytes : integer := g_data_width/8;
type t_ram_type is array(0 to g_size-1) of std_logic_vector(g_data_width-1 downto 0);
type t_ram_word_bs is array (0 to 7) of std_logic_vector(7 downto 0);
type t_ram_word_bs is array (0 to 63) of std_logic_vector(7 downto 0);
type t_ram_type_bs is array (0 to g_size - 1) of t_ram_word_bs;
function f_memarray_to_ramtype(arr : t_meminit_array) return t_ram_type is
......
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