From 2a86b5084cc7f57569e38b49580ddf09c229096b Mon Sep 17 00:00:00 2001
From: Kirika Uchida <kirika.uchida@gmail.com>
Date: Mon, 4 Sep 2023 21:48:04 +0200
Subject: [PATCH] last flag is initialized

---
 common/firmware/hdl/EcalDataProcessor.vhd | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/common/firmware/hdl/EcalDataProcessor.vhd b/common/firmware/hdl/EcalDataProcessor.vhd
index bb6e1d4a..64c1eb69 100644
--- a/common/firmware/hdl/EcalDataProcessor.vhd
+++ b/common/firmware/hdl/EcalDataProcessor.vhd
@@ -206,6 +206,7 @@ begin
           data_out(0).data  <= (others => '0');
           data_out(0).valid <= '0';
           data_out(0).start <= '0';
+          data_out(0).last <= '0';
           data_out(0).strobe <= '0';
           ostate <= wait_start;
         elsif rising_edge(clk_p) then
@@ -213,6 +214,7 @@ begin
           data_out(0).data  <= data_out_s.data;
           data_out(0).valid <= '0';
           data_out(0).start <= '0';
+          data_out(0).last <= '0';
           data_out(0).strobe <= '0';
           case ostate is
             when wait_start =>
-- 
GitLab