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

Remove obsolete g_no_rx. Improve comments at AIT instances.

parent d4383f84
No related branches found
No related tags found
1 merge request!383Resolve L2SDP-1011
Pipeline #73178 passed
...@@ -286,7 +286,6 @@ begin ...@@ -286,7 +286,6 @@ begin
gen_rx_ait : if g_no_jesd = false and g_use_tech_jesd204b_v2 = false generate gen_rx_ait : if g_no_jesd = false and g_use_tech_jesd204b_v2 = false generate
u_rx_ait : entity work.sdp_adc_input_and_timing u_rx_ait : entity work.sdp_adc_input_and_timing
generic map ( generic map (
g_no_rx => g_no_jesd, -- when false use Rx and WG, else only use WG
g_no_st_histogram => g_no_st_histogram, g_no_st_histogram => g_no_st_histogram,
g_buf_nof_data => g_buf_nof_data, g_buf_nof_data => g_buf_nof_data,
g_bsn_nof_clk_per_sync => g_bsn_nof_clk_per_sync, -- Default 200M, overide for short simulation g_bsn_nof_clk_per_sync => g_bsn_nof_clk_per_sync, -- Default 200M, overide for short simulation
...@@ -401,11 +400,10 @@ begin ...@@ -401,11 +400,10 @@ begin
); );
end generate; -- gen_rx_ait end generate; -- gen_rx_ait
-- Wire dp_clk to AIT when jesd is not used or when jesd IP tech_jesd204b_v2 is used -- Wire dp_clk to AIT when jesd IP tech_jesd204b_v2 is used, or when only the WG is used (so no jesd)
gen_dp_ait : if g_no_jesd = true or (g_no_jesd = false and g_use_tech_jesd204b_v2 = true) generate gen_dp_ait : if (g_no_jesd = false and g_use_tech_jesd204b_v2 = true) or g_no_jesd = true generate
u_dp_ait : entity work.sdp_adc_input_and_timing u_dp_ait : entity work.sdp_adc_input_and_timing
generic map ( generic map (
g_no_rx => g_no_jesd, -- when false use Rx and WG, else only use WG
g_no_st_histogram => g_no_st_histogram, g_no_st_histogram => g_no_st_histogram,
g_buf_nof_data => g_buf_nof_data, g_buf_nof_data => g_buf_nof_data,
g_bsn_nof_clk_per_sync => g_bsn_nof_clk_per_sync, -- Default 200M, overide for short simulation g_bsn_nof_clk_per_sync => g_bsn_nof_clk_per_sync, -- Default 200M, overide for short simulation
......
...@@ -36,7 +36,6 @@ use work.sdp_pkg.all; ...@@ -36,7 +36,6 @@ use work.sdp_pkg.all;
entity sdp_adc_input_and_timing is entity sdp_adc_input_and_timing is
generic ( generic (
g_no_rx : boolean := false; -- when false use Rx and WG, else use only WG
g_no_st_histogram : boolean := true; -- when false use input histogram, else not to save block RAM g_no_st_histogram : boolean := true; -- when false use input histogram, else not to save block RAM
g_buf_nof_data : natural := c_sdp_V_si_db; g_buf_nof_data : natural := c_sdp_V_si_db;
g_bsn_nof_clk_per_sync : natural := c_sdp_N_clk_per_sync; -- Default 200M, overide for short simulation g_bsn_nof_clk_per_sync : natural := c_sdp_N_clk_per_sync; -- Default 200M, overide for short simulation
......
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