From: Jan Michel Date: Wed, 28 Jun 2023 09:16:03 +0000 (+0200) Subject: fix reset generation via GbE - failed in 1% of cases X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=94779f5341b131c3a9e397018440ffab6b67e935;p=trbnet.git fix reset generation via GbE - failed in 1% of cases --- 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;