From 2a9d5f2efe22aa3237b04c533dcf55663d28293f Mon Sep 17 00:00:00 2001
From: Pepping <pepping>
Date: Fri, 13 May 2016 11:28:27 +0000
Subject: [PATCH] Added c_frame_usr_len

---
 .../src/vhdl/apertif_unb1_correlator_nodes.vhd                | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/applications/apertif/designs/apertif_unb1_correlator/src/vhdl/apertif_unb1_correlator_nodes.vhd b/applications/apertif/designs/apertif_unb1_correlator/src/vhdl/apertif_unb1_correlator_nodes.vhd
index 1f0a49e7fa..876013eb26 100644
--- a/applications/apertif/designs/apertif_unb1_correlator/src/vhdl/apertif_unb1_correlator_nodes.vhd
+++ b/applications/apertif/designs/apertif_unb1_correlator/src/vhdl/apertif_unb1_correlator_nodes.vhd
@@ -162,6 +162,8 @@ ARCHITECTURE str OF apertif_unb1_correlator_nodes IS
   CONSTANT c_nof_10GbE_streams      : NATURAL := c_revision_select.nof_10GbE_inputs;
   -- Normally we have 8 nodes * 3 10GbE inputs = 24 inputs = 300 visibilities. In 1x10GbE mode, we have 8 inputs = 36 visibilities.
   CONSTANT c_nof_visibilities       : NATURAL := sel_a_b(c_nof_10GbE_streams=1, 36, 300);
+  
+  CONSTANT c_usr_frame_len          : NATURAL := 176; -- 8-bit mode: 176 6-bit mode: 240 
 
   -- Enable block generators
   CONSTANT c_use_phy                : t_c_unb1_board_use_phy  := (1, sel_a_b(c_use_bg_input, 0, 1), 0, 0, 0, 0, 0, 1);
@@ -380,7 +382,7 @@ BEGIN
       g_use_repack         => c_use_repack,     
       g_usr_use_complex    => c_use_complex,    
       g_usr_data_w         => c_mesh_data_w,              
-      g_usr_frame_len      => 176,               
+      g_usr_frame_len      => c_usr_frame_len,               
       g_aux                => c_unb1_board_aux  
     )
     PORT MAP(
-- 
GitLab