From 35c536a8c4fbd8e2886cb88b3f8b9e4463a24e3b Mon Sep 17 00:00:00 2001
From: Eric Kooistra <kooistra@astron.nl>
Date: Tue, 20 Feb 2024 14:23:02 +0100
Subject: [PATCH] Decrease buffer to 1024 to save M20K RAM.

---
 applications/lofar2/libraries/sdp/src/vhdl/sdp_pkg.vhd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/applications/lofar2/libraries/sdp/src/vhdl/sdp_pkg.vhd b/applications/lofar2/libraries/sdp/src/vhdl/sdp_pkg.vhd
index 0d029deee5..ee8b891623 100644
--- a/applications/lofar2/libraries/sdp/src/vhdl/sdp_pkg.vhd
+++ b/applications/lofar2/libraries/sdp/src/vhdl/sdp_pkg.vhd
@@ -86,7 +86,7 @@ package sdp_pkg is
   constant c_sdp_S_sub_bf                  : natural := 488;
   constant c_sdp_R_os                      : natural := 2;  -- Oversampling factor of 2 for PFB.
   constant c_sdp_V_ring_pkt_len_max        : natural := 48;  -- for 16 nodes
-  constant c_sdp_V_sample_delay            : natural := 4096;
+  constant c_sdp_V_sample_delay            : natural := 1024;  -- 1024 uses 12 M20K, 2048 24 M20K and 4096 36 M20K
   constant c_sdp_V_si_db                   : natural := 1024;
   constant c_sdp_V_si_db_large             : natural := 131072;
   constant c_sdp_V_si_histogram            : natural := 512;
-- 
GitLab