From 03b57679632813faadbce93e64ce47ec46139826 Mon Sep 17 00:00:00 2001
From: Pepping <pepping>
Date: Mon, 17 Aug 2015 09:47:08 +0000
Subject: [PATCH] - Enabled g_use_ctrl on the output of the deinterleavers -
 Removed commented code

---
 .../src/vhdl/node_apertif_unb1_correlator_input.vhd            | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/applications/apertif/designs/apertif_unb1_correlator/src/vhdl/node_apertif_unb1_correlator_input.vhd b/applications/apertif/designs/apertif_unb1_correlator/src/vhdl/node_apertif_unb1_correlator_input.vhd
index 79a01b30be..85b085a14a 100644
--- a/applications/apertif/designs/apertif_unb1_correlator/src/vhdl/node_apertif_unb1_correlator_input.vhd
+++ b/applications/apertif/designs/apertif_unb1_correlator/src/vhdl/node_apertif_unb1_correlator_input.vhd
@@ -554,7 +554,7 @@ BEGIN
         g_nof_out      => 2,
         g_block_size   => 1,
         g_dat_w        => g_usr_data_w, -- 16b = 2x8b complex
-        g_use_ctrl     => FALSE,
+        g_use_ctrl     => TRUE,
         g_align_out    => TRUE,
         g_use_complex  => c_use_complex
       )
@@ -587,7 +587,6 @@ BEGIN
       FOR I IN 0 TO g_nof_output_streams-1 LOOP
         data_src_out_arr(I) <= deinterleaved_arr(I);    
         FOR J IN 0 TO c_nof_10GbE_streams-1 LOOP
-  --        reinterleave_in_arr(I*c_nof_10GbE_streams + J) <= deinterleaved_arr(J*2*c_nof_bf_modules + I);   
           data_src_out_arr(I).data((J+1)*g_usr_data_w-1 DOWNTO J*g_usr_data_w) <= deinterleaved_arr(J*2*c_nof_bf_modules + I).im(c_compl_dat_w-1 DOWNTO 0) & 
                                                                                   deinterleaved_arr(J*2*c_nof_bf_modules + I).re(c_compl_dat_w-1 DOWNTO 0);
         END LOOP;
-- 
GitLab