From 992dd8d65907f9a73353b5d03c5a6982be9bcb38 Mon Sep 17 00:00:00 2001
From: Erik Kooistra <kooistra@astron.nl>
Date: Fri, 26 Jun 2015 09:27:07 +0000
Subject: [PATCH] Default set all other fields then data and valid to inactive
 in tx_seq_src_out_arr to avoid X.

---
 libraries/base/diag/src/vhdl/mms_diag_tx_seq.vhd | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/libraries/base/diag/src/vhdl/mms_diag_tx_seq.vhd b/libraries/base/diag/src/vhdl/mms_diag_tx_seq.vhd
index adbde28b25..fba280d6b4 100644
--- a/libraries/base/diag/src/vhdl/mms_diag_tx_seq.vhd
+++ b/libraries/base/diag/src/vhdl/mms_diag_tx_seq.vhd
@@ -39,6 +39,7 @@
 --  |-----------------------------------------------------------------------|
 --
 -- . g_use_usr_input
+--   When diag_en='0' then the usr_sosi_arr input is passed on.
 --   When diag_en='1' then the the tx_seq data overrules the usr_sosi_arr. Dependent on g_use_usr_input
 --   the overule differs:
 --   
@@ -231,8 +232,8 @@ ARCHITECTURE str OF mms_diag_tx_seq IS
 
   SIGNAL tx_replicate_dat_arr  : t_dp_data_slv_arr(g_nof_streams-1 DOWNTO 0);
 
-  SIGNAL tx_seq_src_in_arr       : t_dp_siso_arr(g_nof_streams-1 DOWNTO 0);
-  SIGNAL tx_seq_src_out_arr       : t_dp_sosi_arr(g_nof_streams-1 DOWNTO 0);
+  SIGNAL tx_seq_src_in_arr     : t_dp_siso_arr(g_nof_streams-1 DOWNTO 0);
+  SIGNAL tx_seq_src_out_arr    : t_dp_sosi_arr(g_nof_streams-1 DOWNTO 0) := (OTHERS=>c_dp_sosi_rst);  -- default set all other fields then data and valid to inactive.
 
   -- Use user input or self generate
   SIGNAL mux_seq_src_in_arr    : t_dp_siso_arr(g_nof_streams-1 DOWNTO 0);  -- multiplex user sosi control with tx_seq data
-- 
GitLab