From 501c5a2b40ce6c7eda0b1ba38988f5e827b1c35c Mon Sep 17 00:00:00 2001
From: Frans Schreuder <f.schreuder@nikhef.nl>
Date: Fri, 25 Oct 2024 16:23:38 +0200
Subject: [PATCH] Fixed FLX-2487

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

diff --git a/sources/CRToHost/CRToHost.vhd b/sources/CRToHost/CRToHost.vhd
index e3eaef998..4c2f451d5 100644
--- a/sources/CRToHost/CRToHost.vhd
+++ b/sources/CRToHost/CRToHost.vhd
@@ -199,8 +199,8 @@ begin
                 chFifo_dvalid => chFifo_dvalid_array(channel+1),
                 chFifo_hasBlock => chFifo_hasBlock_array(channel+1),
                 chXoffout => Xoff_40(channel),
-                chHighThreshCrossed => register_map_xoff_monitor.XOFF_FM_HIGH_THRESH.CROSS_LATCHED(channel+24),
-                chHighThreshCrossedLatch => register_map_xoff_monitor.XOFF_FM_HIGH_THRESH.CROSSED(channel),
+                chHighThreshCrossed => register_map_xoff_monitor.XOFF_FM_HIGH_THRESH.CROSSED(channel),
+                chHighThreshCrossedLatch => register_map_xoff_monitor.XOFF_FM_HIGH_THRESH.CROSS_LATCHED(channel+24),
                 chLowThreshCrossed => register_map_xoff_monitor.XOFF_FM_LOW_THRESH_CROSSED(channel),
                 AXIS_ID_out => EpathIDs(channel+1),
                 ch_prog_full_out => ch_prog_full(channel)
-- 
GitLab