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

Improved c_data_max.

parent 5d212f11
Branches
No related tags found
No related merge requests found
...@@ -77,7 +77,7 @@ ARCHITECTURE tb OF tb_mms_dp_sync_checker IS ...@@ -77,7 +77,7 @@ ARCHITECTURE tb OF tb_mms_dp_sync_checker IS
CONSTANT c_gap : NATURAL := sel_a_b(g_sync_period >= g_nof_blk_per_sync, g_sync_period - g_nof_blk_per_sync, 2*g_sync_period - g_nof_blk_per_sync); CONSTANT c_gap : NATURAL := sel_a_b(g_sync_period >= g_nof_blk_per_sync, g_sync_period - g_nof_blk_per_sync, 2*g_sync_period - g_nof_blk_per_sync);
CONSTANT c_gapsize : POSITIVE := c_gap * g_pkt_len + 1; CONSTANT c_gapsize : POSITIVE := c_gap * g_pkt_len + 1;
CONSTANT c_data_max : UNSIGNED(g_in_dat_w-1 DOWNTO 0) := (OTHERS=>'1'); CONSTANT c_data_max : UNSIGNED(g_in_dat_w-1 DOWNTO 0) := TO_UNSIGNED(0, g_in_dat_w); -- no wrap detection
CONSTANT c_data_init : INTEGER := -1; CONSTANT c_data_init : INTEGER := -1;
CONSTANT c_bsn_init : STD_LOGIC_VECTOR(c_dp_stream_bsn_w-1 DOWNTO 0) := X"0000000000000000"; -- X"0877665544332211" CONSTANT c_bsn_init : STD_LOGIC_VECTOR(c_dp_stream_bsn_w-1 DOWNTO 0) := X"0000000000000000"; -- X"0877665544332211"
CONSTANT c_err_init : NATURAL := 247; CONSTANT c_err_init : NATURAL := 247;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment