From 09821cf5c766ad6717d416ebcdf99742e8b4277f Mon Sep 17 00:00:00 2001
From: Eric Kooistra <kooistra@astron.nl>
Date: Mon, 15 Aug 2022 10:59:02 +0200
Subject: [PATCH] Increase c_eth_runtime_timeout.

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

diff --git a/applications/lofar2/designs/lofar2_unb2c_sdp_station/revisions/lofar2_unb2c_sdp_station_xsub_one/tb_lofar2_unb2c_sdp_station_xsub_one_xst_offload.vhd b/applications/lofar2/designs/lofar2_unb2c_sdp_station/revisions/lofar2_unb2c_sdp_station_xsub_one/tb_lofar2_unb2c_sdp_station_xsub_one_xst_offload.vhd
index 55315adbd5..94e8ac4b04 100644
--- a/applications/lofar2/designs/lofar2_unb2c_sdp_station/revisions/lofar2_unb2c_sdp_station_xsub_one/tb_lofar2_unb2c_sdp_station_xsub_one_xst_offload.vhd
+++ b/applications/lofar2/designs/lofar2_unb2c_sdp_station/revisions/lofar2_unb2c_sdp_station_xsub_one/tb_lofar2_unb2c_sdp_station_xsub_one_xst_offload.vhd
@@ -44,7 +44,7 @@
 --   > add wave -position insertpoint  \
 --     sim:/tb_lofar2_unb2c_sdp_station_xsub_one_xst_offload/c_exp_subband_xst
 --   > run -a  
---   Takes about 50 m
+--   Takes about 60 m
 -- View e.g.:
 --   * rx_sdp_stat_re/im in radix decimal and in format literal or analogue
 --   * rx_sdp_stat_header.app
@@ -130,7 +130,7 @@ ARCHITECTURE tb OF tb_lofar2_unb2c_sdp_station_xsub_one_xst_offload IS
   CONSTANT c_eth_crc_size                 : NATURAL := 1; -- word
   CONSTANT c_eth_packet_size              : NATURAL := c_eth_header_size + c_eth_crc_size + (c_sdp_W_statistic / c_word_w) * c_sdp_S_pn * c_sdp_S_pn * c_nof_complex; -- 20 + 2 * 12 * 12 * 2 = 596
   CONSTANT c_eth_check_nof_valid          : NATURAL := c_eth_check_nof_packets * c_eth_packet_size;  
-  CONSTANT c_eth_runtime_timeout          : TIME := (c_nof_sync + 2) * c_nof_clk_per_sync * c_ext_clk_period;  -- eth statistics should be done after c_nof_sync
+  CONSTANT c_eth_runtime_timeout          : TIME := (c_nof_sync + 3) * c_nof_clk_per_sync * c_ext_clk_period;  -- eth statistics should be done after c_nof_sync
   
   -- DUT
   SIGNAL ext_clk             : STD_LOGIC := '0';
-- 
GitLab