From fb7bef4cbc8889c4dda7abe20bff08e6623464bf Mon Sep 17 00:00:00 2001
From: Eric Kooistra <kooistra@astron.nl>
Date: Wed, 14 Feb 2024 09:18:49 +0100
Subject: [PATCH] Use g_use_ctrl = false in rx_clk --> dp_clk FIFO.

---
 .../ip_arria10_e1sg/jesd204b/ip_arria10_e1sg_jesd204b_v2.vhd   | 3 ++-
 .../ip_arria10_e2sg/jesd204b/ip_arria10_e2sg_jesd204b_v2.vhd   | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/libraries/technology/ip_arria10_e1sg/jesd204b/ip_arria10_e1sg_jesd204b_v2.vhd b/libraries/technology/ip_arria10_e1sg/jesd204b/ip_arria10_e1sg_jesd204b_v2.vhd
index 4df0d51e3f..ef99874c0f 100644
--- a/libraries/technology/ip_arria10_e1sg/jesd204b/ip_arria10_e1sg_jesd204b_v2.vhd
+++ b/libraries/technology/ip_arria10_e1sg/jesd204b/ip_arria10_e1sg_jesd204b_v2.vhd
@@ -376,7 +376,7 @@ begin
         -- data then contains the even (0) sample and the LSpart contains the odd (1) sample (= big endian).
         -- In the rxframe_clk domain the sync is active in the even (0) sample, so in the dp_clk domain the
         -- sync is passed on when the data MSpart is read and forced to '0' for the data LSpart,
-        -- All synchronization info is contained in the alignement of rxlink_clk, data and sync, the valid
+        -- All synchronization info is contained in the alignment of rxlink_clk, data and sync, the valid
         -- does not provide additional synchronization info. The valid does indicate whether the link is in
         -- lock or not, but for the subsequent data processing the sync is sufficient to start. The valid
         -- could be used as monitor point, but it is sufficient to use the JESD204B IP monitor points. For
@@ -505,6 +505,7 @@ begin
         g_data_w         => c_jesd204b_rx_data_w,  -- 32b
         g_data_signed    => false,
         g_use_sync       => true,
+        g_use_ctrl       => false,
         g_use_channel    => false,  -- no need to pass on jesd204b_rx_link_somf_arr
         g_fifo_size      => c_fifo_size
       )
diff --git a/libraries/technology/ip_arria10_e2sg/jesd204b/ip_arria10_e2sg_jesd204b_v2.vhd b/libraries/technology/ip_arria10_e2sg/jesd204b/ip_arria10_e2sg_jesd204b_v2.vhd
index 8512831a9a..33b5db6223 100644
--- a/libraries/technology/ip_arria10_e2sg/jesd204b/ip_arria10_e2sg_jesd204b_v2.vhd
+++ b/libraries/technology/ip_arria10_e2sg/jesd204b/ip_arria10_e2sg_jesd204b_v2.vhd
@@ -376,7 +376,7 @@ begin
         -- data then contains the even (0) sample and the LSpart contains the odd (1) sample (= big endian).
         -- In the rxframe_clk domain the sync is active in the even (0) sample, so in the dp_clk domain the
         -- sync is passed on when the data MSpart is read and forced to '0' for the data LSpart,
-        -- All synchronization info is contained in the alignement of rxlink_clk, data and sync, the valid
+        -- All synchronization info is contained in the alignment of rxlink_clk, data and sync, the valid
         -- does not provide additional synchronization info. The valid does indicate whether the link is in
         -- lock or not, but for the subsequent data processing the sync is sufficient to start. The valid
         -- could be used as monitor point, but it is sufficient to use the JESD204B IP monitor points. For
@@ -505,6 +505,7 @@ begin
         g_data_w         => c_jesd204b_rx_data_w,  -- 32b
         g_data_signed    => false,
         g_use_sync       => true,
+        g_use_ctrl       => false,
         g_use_channel    => false,  -- no need to pass on jesd204b_rx_link_somf_arr
         g_fifo_size      => c_fifo_size
       )
-- 
GitLab