From fab95558613c571334f53513836a56dc44c118b3 Mon Sep 17 00:00:00 2001
From: Eric Kooistra <kooistra@astron.nl>
Date: Mon, 7 Feb 2022 09:28:56 +0100
Subject: [PATCH] Updated descripotion.

---
 .../tb_lofar2_unb2b_sdp_station_bf.vhd               | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/applications/lofar2/designs/lofar2_unb2b_sdp_station/revisions/lofar2_unb2b_sdp_station_bf/tb_lofar2_unb2b_sdp_station_bf.vhd b/applications/lofar2/designs/lofar2_unb2b_sdp_station/revisions/lofar2_unb2b_sdp_station_bf/tb_lofar2_unb2b_sdp_station_bf.vhd
index e3e43cffaf..68a0d39356 100644
--- a/applications/lofar2/designs/lofar2_unb2b_sdp_station/revisions/lofar2_unb2b_sdp_station_bf/tb_lofar2_unb2b_sdp_station_bf.vhd
+++ b/applications/lofar2/designs/lofar2_unb2b_sdp_station/revisions/lofar2_unb2b_sdp_station_bf/tb_lofar2_unb2b_sdp_station_bf.vhd
@@ -33,24 +33,22 @@
 --   2) Read current BSN from reg_bsn_scheduler_wg and write reg_bsn_scheduler_wg 
 --      to trigger start of WG at BSN.
 --     
---   3) Read subband statistics (SST)
+--   3) Read and verify subband statistics (SST)
 --   
 --   4) Select subband g_subband for beamlet g_beamlet
 --
 --   5) Apply BF weight (g_bf_gain, g_bf_phase) to g_beamlet X beam and Y beam
 --
---   6) Read beamlet statistics (BST) via MM and verify with
+--   6) Read and verify beamlet statistics (BST)
 --        View sp_subband_sst in Wave window
 --        View pol_beamlet_bst in Wave window
 --
---   7) Compare SST with BST.
---
---   8) Verify 10GbE output header and output payload for g_beamlet.
+--   7) Verify 10GbE output header and output payload for g_beamlet.
 --   
---
 -- Usage:
 --   > as 7    # default
 --   > as 12   # for detailed debugging
+--   # Manually add missing signal
 --   > add wave -position insertpoint  \
 --     sim:/tb_lofar2_unb2b_sdp_station_bf/sp_subband_ssts_arr2 \
 --     sim:/tb_lofar2_unb2b_sdp_station_bf/pol_beamlet_bsts_arr2
@@ -694,8 +692,8 @@ BEGIN
     -- Read weighted subband selector
     ----------------------------------------------------------------------------
     mmf_mm_bus_rd(c_mm_file_reg_dp_selector, 0, rd_data, tb_clk);
-    proc_common_wait_some_cycles(tb_clk, 1);
     sst_offload_weighted_subbands <= NOT rd_data(0);
+    proc_common_wait_some_cycles(tb_clk, 1);
 
     ----------------------------------------------------------------------------
     -- Subband weight
-- 
GitLab