From 071657ea64f849379e41527770b6c6f661c3b999 Mon Sep 17 00:00:00 2001
From: Eric Kooistra <kooistra@astron.nl>
Date: Mon, 31 Oct 2022 15:11:29 +0100
Subject: [PATCH] Remark that BG samples_per_packet >= 2.

---
 libraries/base/diag/src/vhdl/diag_block_gen.vhd | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/libraries/base/diag/src/vhdl/diag_block_gen.vhd b/libraries/base/diag/src/vhdl/diag_block_gen.vhd
index 19ce240734..7d598407f8 100644
--- a/libraries/base/diag/src/vhdl/diag_block_gen.vhd
+++ b/libraries/base/diag/src/vhdl/diag_block_gen.vhd
@@ -33,7 +33,10 @@
 --     mem_low_adrs       : slv -- block start address at MM interface
 --     mem_high_adrs      : slv -- end address at MM interface
 --     bsn_init           : slv -- BSN of first output block
---                                          
+--
+--   The samples_per_packet >= 2, because the in the p-comb state machine the
+--   eop cannot occur at the sop.
+--
 --   The MM reading starts at mem_low_adrs when the BG is first enabled. If
 --   the mem_high_adrs-mem_low_adrs+1 < samples_per_packet then the reading
 --   wraps and continues from mem_low_adrs. For every new block the reading
-- 
GitLab