Skip to content
Snippets Groups Projects
Commit faa95903 authored by Reinier van der Walle's avatar Reinier van der Walle
Browse files

Merge branch 'RTSD-227' into 'master'

RTSD-227: Fix prefix (from constant g_stat_word_w to c_stat_word_w).

Closes RTSD-227

See merge request !377
parents 9ba7d997 17c82f6d
Branches
No related tags found
1 merge request!377RTSD-227: Fix prefix (from constant g_stat_word_w to c_stat_word_w).
Pipeline #69322 passed
......@@ -89,7 +89,7 @@ architecture str of st_sst is
constant c_nof_stat_w : natural := ceil_log2(g_nof_stat);
constant c_nof_word : natural := g_stat_data_sz * g_nof_stat;
constant c_nof_word_w : natural := ceil_log2(c_nof_word);
constant g_stat_word_w : natural := g_stat_data_sz * c_word_w;
constant c_stat_word_w : natural := g_stat_data_sz * c_word_w;
constant zeros : std_logic_vector(c_nof_stat_w - 1 downto 0) := (others => '0');
-- Statistics register
......@@ -100,7 +100,7 @@ architecture str of st_sst is
init_sl => '0'); -- MM side : sla_in, sla_out
constant c_stat_ram : t_c_mem := (latency => 1,
adr_w => c_nof_stat_w,
dat_w => g_stat_word_w,
dat_w => c_stat_word_w,
nof_dat => g_nof_stat,
init_sl => '0'); -- ST side : stat_mosi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment