From 94779f5341b131c3a9e397018440ffab6b67e935 Mon Sep 17 00:00:00 2001 From: Jan Michel Date: Wed, 28 Jun 2023 11:16:03 +0200 Subject: [PATCH] fix reset generation via GbE - failed in 1% of cases --- trb_net16_hub_streaming_port_sctrl_cts.vhd | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/trb_net16_hub_streaming_port_sctrl_cts.vhd b/trb_net16_hub_streaming_port_sctrl_cts.vhd index 4a6a641..fe694c3 100644 --- a/trb_net16_hub_streaming_port_sctrl_cts.vhd +++ b/trb_net16_hub_streaming_port_sctrl_cts.vhd @@ -422,8 +422,7 @@ info_tx_ack_or_info_tx_wack <= info_tx.ack or info_tx.wack; if(EXTERNAL_SEND_RESET = '1') then external_send_reset_long <= '1'; external_send_reset_timer <= '1'; - end if; - if timer_ticks(0) = '1' then + elsif timer_ticks(0) = '1' then --BUG else! external_send_reset_timer <= '0'; external_send_reset_long <= external_send_reset_timer; end if; -- 2.43.0