Skip to content
Snippets Groups Projects
Commit d3618ab4 authored by Eric Kooistra's avatar Eric Kooistra
Browse files

Use reg range constants from dp_components_pkg.vhd

parent 49f051ab
No related branches found
No related tags found
1 merge request!288Resolve L2SDP-836
......@@ -40,6 +40,7 @@ USE common_lib.tb_common_mem_pkg.ALL;
USE common_lib.common_str_pkg.ALL;
USE common_lib.tb_common_pkg.ALL;
USE work.dp_stream_pkg.ALL;
USE work.dp_components_pkg.ALL;
ENTITY tb_dp_strobe_total_count IS
GENERIC (
......@@ -66,7 +67,7 @@ ARCHITECTURE tb OF tb_dp_strobe_total_count IS
CONSTANT c_clip : BOOLEAN := TRUE;
-- dut
CONSTANT c_nof_counts_max : NATURAL := 15;
CONSTANT c_nof_counts_max : NATURAL := c_dp_strobe_total_count_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;
......@@ -140,7 +141,6 @@ BEGIN
u_dut : ENTITY work.dp_strobe_total_count
GENERIC MAP (
g_mm_w => g_mm_w,
g_nof_counts_max => c_nof_counts_max,
g_nof_counts => c_nof_counts,
g_count_w => g_count_w,
g_clip => c_clip
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment