From 29b030e257965ec29f9c1c2ecba2d1c0195a0cde Mon Sep 17 00:00:00 2001
From: Eric Kooistra <kooistra@astron.nl>
Date: Thu, 14 Mar 2024 09:12:22 +0100
Subject: [PATCH] Generics as for LOFAR2 SDP beamformer ring.

---
 libraries/base/dp/tb/vhdl/tb_dp_bsn_align_v2.vhd | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libraries/base/dp/tb/vhdl/tb_dp_bsn_align_v2.vhd b/libraries/base/dp/tb/vhdl/tb_dp_bsn_align_v2.vhd
index 110c9a62fc..7d5f7e3d69 100644
--- a/libraries/base/dp/tb/vhdl/tb_dp_bsn_align_v2.vhd
+++ b/libraries/base/dp/tb/vhdl/tb_dp_bsn_align_v2.vhd
@@ -85,9 +85,9 @@ entity tb_dp_bsn_align_v2 is
   generic (
     -- DUT
     g_nof_streams            : natural := 2;  -- number of input and output streams
-    g_bsn_latency_max        : natural := 1;  -- Maximum travel latency of a remote block in number of block periods
+    g_bsn_latency_max        : natural := 2;  -- Maximum travel latency of a remote block in number of block periods
     g_bsn_latency_first_node : natural := 1;
-    g_nof_aligners_max       : positive := 1;  -- 1 when only align at last node, > 1 when align at every intermediate node
+    g_nof_aligners_max       : positive := 8;  -- 1 when only align at last node, > 1 when align at every intermediate node
     g_block_size             : natural := 11;  -- > 1, g_block_size=1 is not supported
     g_block_period           : natural := 20;  -- >= g_block_size, = g_block_size + c_gap_size
     g_bsn_w                  : natural := c_dp_stream_bsn_w;  -- number of bits in sosi BSN
@@ -106,7 +106,7 @@ entity tb_dp_bsn_align_v2 is
     g_tb_diff_delay          : integer := 0;  -- 0 = aligned inputs, -1 = max input delay for no loss,
                                                    -- >~ g_bsn_latency_max * g_block_period will give loss
     g_tb_nof_restart         : natural := 2;  -- number of times to restart the input stimuli
-    g_tb_nof_blocks          : natural := 20  -- number of input blocks per restart, choose > circular buffer size, so
+    g_tb_nof_blocks          : natural := 30  -- number of input blocks per restart, choose > circular buffer size, so
                                               -- > c_align_latency_nof_blocks
   );
 end tb_dp_bsn_align_v2;
-- 
GitLab