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

Pass on g_sim via aduh_dd to lvdsh_dd_phs4 to be able to shorten the locked...

Pass on g_sim via aduh_dd to lvdsh_dd_phs4 to be able to shorten the locked timeout in lvdsh_dd_phs4_align.
parent b5a302b5
No related branches found
No related tags found
No related merge requests found
...@@ -152,6 +152,7 @@ BEGIN ...@@ -152,6 +152,7 @@ BEGIN
u_aduh_quad : ENTITY aduh_lib.mms_aduh_quad u_aduh_quad : ENTITY aduh_lib.mms_aduh_quad
GENERIC MAP ( GENERIC MAP (
-- General -- General
g_sim => g_sim,
g_cross_clock_domain => c_bn_capture_mm_cross_clock_domain, g_cross_clock_domain => c_bn_capture_mm_cross_clock_domain,
-- ADC Interface -- ADC Interface
g_nof_dp_phs_clk => g_nof_dp_phs_clk, g_nof_dp_phs_clk => g_nof_dp_phs_clk,
......
...@@ -55,6 +55,7 @@ USE work.aduh_dd_pkg.ALL; ...@@ -55,6 +55,7 @@ USE work.aduh_dd_pkg.ALL;
ENTITY aduh_dd IS ENTITY aduh_dd IS
GENERIC ( GENERIC (
g_sim : BOOLEAN := FALSE;
g_nof_dp_phs_clk : NATURAL := 1; -- nof dp_phs_clk that can be used to detect the word phase g_nof_dp_phs_clk : NATURAL := 1; -- nof dp_phs_clk that can be used to detect the word phase
g_ai : t_c_aduh_dd_ai := c_aduh_dd_ai g_ai : t_c_aduh_dd_ai := c_aduh_dd_ai
); );
...@@ -260,6 +261,7 @@ BEGIN ...@@ -260,6 +261,7 @@ BEGIN
u_lvdsh_dd_phs4_ab : ENTITY work.lvdsh_dd_phs4 u_lvdsh_dd_phs4_ab : ENTITY work.lvdsh_dd_phs4
GENERIC MAP ( GENERIC MAP (
g_sim => g_sim,
g_wb_factor => c_dp_factor, -- fixed wideband factor = 4 g_wb_factor => c_dp_factor, -- fixed wideband factor = 4
g_nof_dp_phs_clk => g_nof_dp_phs_clk, -- nof dp_phs_clk that can be used to detect lock g_nof_dp_phs_clk => g_nof_dp_phs_clk, -- nof dp_phs_clk that can be used to detect lock
g_in_dat_w => c_in_dat_w -- nof PHY data bits g_in_dat_w => c_in_dat_w -- nof PHY data bits
...@@ -291,6 +293,7 @@ BEGIN ...@@ -291,6 +293,7 @@ BEGIN
u_lvdsh_dd_phs4_cd : ENTITY work.lvdsh_dd_phs4 u_lvdsh_dd_phs4_cd : ENTITY work.lvdsh_dd_phs4
GENERIC MAP ( GENERIC MAP (
g_sim => g_sim,
g_wb_factor => c_dp_factor, -- fixed wideband factor = 4 g_wb_factor => c_dp_factor, -- fixed wideband factor = 4
g_nof_dp_phs_clk => g_nof_dp_phs_clk, -- nof dp_phs_clk that can be used to detect lock g_nof_dp_phs_clk => g_nof_dp_phs_clk, -- nof dp_phs_clk that can be used to detect lock
g_in_dat_w => c_in_dat_w -- nof PHY data bits g_in_dat_w => c_in_dat_w -- nof PHY data bits
......
...@@ -32,6 +32,7 @@ USE work.aduh_dd_pkg.ALL; ...@@ -32,6 +32,7 @@ USE work.aduh_dd_pkg.ALL;
ENTITY aduh_quad IS ENTITY aduh_quad IS
GENERIC ( GENERIC (
-- ADC Interface -- ADC Interface
g_sim : BOOLEAN := FALSE;
g_nof_dp_phs_clk : NATURAL := 1; -- nof dp_phs_clk that can be used to detect the word phase g_nof_dp_phs_clk : NATURAL := 1; -- nof dp_phs_clk that can be used to detect the word phase
g_ai : t_c_aduh_dd_ai := c_aduh_dd_ai g_ai : t_c_aduh_dd_ai := c_aduh_dd_ai
); );
...@@ -99,6 +100,7 @@ BEGIN ...@@ -99,6 +100,7 @@ BEGIN
u_aduh : ENTITY work.aduh_dd u_aduh : ENTITY work.aduh_dd
GENERIC MAP ( GENERIC MAP (
g_sim => g_sim,
g_nof_dp_phs_clk => g_nof_dp_phs_clk, g_nof_dp_phs_clk => g_nof_dp_phs_clk,
g_ai => g_ai g_ai => g_ai
) )
......
...@@ -33,6 +33,7 @@ USE work.aduh_dd_pkg.ALL; ...@@ -33,6 +33,7 @@ USE work.aduh_dd_pkg.ALL;
ENTITY mms_aduh_quad IS ENTITY mms_aduh_quad IS
GENERIC ( GENERIC (
-- General -- General
g_sim : BOOLEAN := FALSE;
g_cross_clock_domain : BOOLEAN := TRUE; -- use FALSE when mm_clk and dp_clk are the same, else use TRUE to cross the clock domain g_cross_clock_domain : BOOLEAN := TRUE; -- use FALSE when mm_clk and dp_clk are the same, else use TRUE to cross the clock domain
-- ADC Interface -- ADC Interface
g_nof_dp_phs_clk : NATURAL := 1; -- nof dp_phs_clk that can be used to detect the word phase g_nof_dp_phs_clk : NATURAL := 1; -- nof dp_phs_clk that can be used to detect the word phase
...@@ -145,6 +146,7 @@ BEGIN ...@@ -145,6 +146,7 @@ BEGIN
u_aduh_quad : ENTITY work.aduh_quad u_aduh_quad : ENTITY work.aduh_quad
GENERIC MAP ( GENERIC MAP (
-- ADC Interface -- ADC Interface
g_sim => g_sim,
g_nof_dp_phs_clk => g_nof_dp_phs_clk, g_nof_dp_phs_clk => g_nof_dp_phs_clk,
g_ai => g_ai g_ai => g_ai
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment