From 2ca3bfbe694fb39556f1a6dea9825534e9f0f23b Mon Sep 17 00:00:00 2001
From: Frans Schreuder <f.schreuder@nikhef.nl>
Date: Wed, 9 Oct 2024 11:28:03 +0200
Subject: [PATCH] Forgot to extend array sizes with new FIRMWARE modes

---
 sources/packages/FELIX_package.vhd | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sources/packages/FELIX_package.vhd b/sources/packages/FELIX_package.vhd
index 890fb192a..593af752f 100644
--- a/sources/packages/FELIX_package.vhd
+++ b/sources/packages/FELIX_package.vhd
@@ -114,7 +114,7 @@ package FELIX_package is
       1,   --FELIG strip
       1    --Wupper standalone
     );
-    constant STREAMS_FROMHOST_MODE : IntArray2D(0 to 14) :=
+    constant STREAMS_FROMHOST_MODE : IntArray2D(0 to 16) :=
     (
       (8,8,8,8,8,2,0,0), --GBT mode: 40 EPaths + IC + EC divided into 6 groups (5x8 + 1x2)
       (8,8,8,8,8,2,0,0), --FULL mode: 40 EPaths + IC + EC
@@ -136,7 +136,7 @@ package FELIX_package is
     );
 
     --Determines whether axis32/axis8 or axis64 will be used by CRToHost / CRFromHost for each link.
-    constant LINK_CONFIG_MODE : IntArray2D_24(0 to 14) :=
+    constant LINK_CONFIG_MODE : IntArray2D_24(0 to 16) :=
     (
       (0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0), --GBT mode: 40 EPaths + IC + EC divided into 6 groups (5x8 + 1x2)
       (0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0), --FULL mode: 40 EPaths + IC + EC
-- 
GitLab