From 7e2b599585bbaa934650329faf13d1c7a60e4cef Mon Sep 17 00:00:00 2001 From: Eric Kooistra <kooistra@astron.nl> Date: Tue, 25 Oct 2022 17:29:11 +0200 Subject: [PATCH] Use reg_dp_strobe_total_count constants from dp_components_pkg.vhd. --- libraries/base/dp/tb/vhdl/tb_dp_strobe_total_count.vhd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 0b9f2f66bd..9a62cd3808 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, -- GitLab