Skip to content
Snippets Groups Projects

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

Merged RTSD-227: Fix prefix (from constant g_stat_word_w to c_stat_word_w).
Merged David Brouwer requested to merge RTSD-227 into master
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -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
Loading