Line 85... |
Line 85... |
-- known in advance because different increment steps can occur at
|
-- known in advance because different increment steps can occur at
|
-- arbitrary instants. Therefore then the in_dat_reg input is also used
|
-- arbitrary instants. Therefore then the in_dat_reg input is also used
|
-- during the sequence, to determine all g_nof_steps next values are correct
|
-- during the sequence, to determine all g_nof_steps next values are correct
|
-- in case they occur.
|
-- in case they occur.
|
|
|
LIBRARY IEEE, common_pkg_lib, common_components_lib, common_counter_lib;
|
LIBRARY IEEE, common_pkg_lib, common_components_lib, astron_counter_lib;
|
USE IEEE.std_logic_1164.ALL;
|
USE IEEE.std_logic_1164.ALL;
|
USE IEEE.numeric_std.ALL;
|
USE IEEE.numeric_std.ALL;
|
USE common_pkg_lib.common_pkg.ALL;
|
USE common_pkg_lib.common_pkg.ALL;
|
USE common_pkg_lib.common_lfsr_sequences_pkg.ALL;
|
USE common_pkg_lib.common_lfsr_sequences_pkg.ALL;
|
USE work.diag_pkg.ALL;
|
USE work.diag_pkg.ALL;
|
Line 417... |
Line 417... |
|
|
|
|
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
-- Count number of valid input data
|
-- Count number of valid input data
|
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
u_common_counter : ENTITY common_counter_lib.common_counter
|
u_common_counter : ENTITY astron_counter_lib.common_counter
|
GENERIC MAP (
|
GENERIC MAP (
|
g_latency => 1, -- default 1 for registered count output, use 0 for immediate combinatorial count output
|
g_latency => 1, -- default 1 for registered count output, use 0 for immediate combinatorial count output
|
g_width => g_cnt_w
|
g_width => g_cnt_w
|
)
|
)
|
PORT MAP (
|
PORT MAP (
|