From a0954793d4f02f4225edab116625ec8c7a1151f3 Mon Sep 17 00:00:00 2001
From: Eric Kooistra <kooistra@astron.nl>
Date: Mon, 31 Oct 2022 15:12:17 +0100
Subject: [PATCH] Correct src_out.empty for single word tail input.

---
 libraries/base/dp/src/vhdl/dp_concat.vhd | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libraries/base/dp/src/vhdl/dp_concat.vhd b/libraries/base/dp/src/vhdl/dp_concat.vhd
index 46361034ac..2cd1dc3b30 100644
--- a/libraries/base/dp/src/vhdl/dp_concat.vhd
+++ b/libraries/base/dp/src/vhdl/dp_concat.vhd
@@ -259,6 +259,8 @@ BEGIN
                 nxt_state <= s_sop;
               ELSE                                         -- Output frame needs 2 words
                 flush_arr(c_tail) <= c_dp_siso_rdy;        -- also ready for hold input when the tail eop is there
+                v_out_empty := func_dp_empty_concat(head_empty_reg, tail_empty, c_nof_symbols_per_data);
+                nxt_out_empty_reg <= v_out_empty;          -- capture the output empty field (needed in s_eop)
                 nxt_state <= s_eop;
               END IF;
             END IF;
-- 
GitLab