Skip to content
Snippets Groups Projects
Commit 17c82f6d authored by David Brouwer's avatar David Brouwer
Browse files

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

parent 9ba7d997
No related branches found
No related tags found
1 merge request!377RTSD-227: Fix prefix (from constant g_stat_word_w to c_stat_word_w).
Pipeline #69254 passed
...@@ -89,7 +89,7 @@ architecture str of st_sst is ...@@ -89,7 +89,7 @@ architecture str of st_sst is
constant c_nof_stat_w : natural := ceil_log2(g_nof_stat); 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 : natural := g_stat_data_sz * g_nof_stat;
constant c_nof_word_w : natural := ceil_log2(c_nof_word); 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'); constant zeros : std_logic_vector(c_nof_stat_w - 1 downto 0) := (others => '0');
-- Statistics register -- Statistics register
...@@ -100,7 +100,7 @@ architecture str of st_sst is ...@@ -100,7 +100,7 @@ architecture str of st_sst is
init_sl => '0'); -- MM side : sla_in, sla_out init_sl => '0'); -- MM side : sla_in, sla_out
constant c_stat_ram : t_c_mem := (latency => 1, constant c_stat_ram : t_c_mem := (latency => 1,
adr_w => c_nof_stat_w, adr_w => c_nof_stat_w,
dat_w => g_stat_word_w, dat_w => c_stat_word_w,
nof_dat => g_nof_stat, nof_dat => g_nof_stat,
init_sl => '0'); -- ST side : stat_mosi 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