diff --git a/libraries/base/dp/tb/vhdl/tb_dp_strobe_total_count.vhd b/libraries/base/dp/tb/vhdl/tb_dp_strobe_total_count.vhd index 0b9f2f66bd284fb5ea9f7c7985f40eed60c16caf..9a62cd3808a47f746877d7ad58155abfbdef299f 100644 --- a/libraries/base/dp/tb/vhdl/tb_dp_strobe_total_count.vhd +++ b/libraries/base/dp/tb/vhdl/tb_dp_strobe_total_count.vhd @@ -67,10 +67,10 @@ ARCHITECTURE tb OF tb_dp_strobe_total_count IS CONSTANT c_clip : BOOLEAN := TRUE; -- dut - CONSTANT c_nof_counts_max : NATURAL := c_dp_strobe_total_count_nof_counts_max; -- fixed by REGMAP + CONSTANT c_nof_counts_max : NATURAL := c_dp_strobe_total_count_reg_nof_counts_max; -- fixed by REGMAP CONSTANT c_nof_counts : NATURAL := 3; -- count stimuli.sync, sop, valid CONSTANT c_count_max : NATURAL := 2**g_count_w - 1; - CONSTANT c_mm_addr_clear : NATURAL := c_nof_counts_max*2; + CONSTANT c_mm_addr_clear : NATURAL := c_dp_strobe_total_count_reg_clear_adr; -- c_tb_nof_sync - c_skip_nof_sync because first sync intervals are skipped -- by using clear, and -1, because stimuli_sosi.sync is used as ref_sync,