From: Michael Boehmer Date: Fri, 3 Dec 2021 13:47:21 +0000 (+0100) Subject: fixed TX startup X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=a316cd6bf08ea056a79838078fc48d4546d048ac;p=trbnet.git fixed TX startup --- diff --git a/media_interfaces/sync/main_tx_reset_RS.vhd b/media_interfaces/sync/main_tx_reset_RS.vhd index 0af2421..83d119c 100644 --- a/media_interfaces/sync/main_tx_reset_RS.vhd +++ b/media_interfaces/sync/main_tx_reset_RS.vhd @@ -122,7 +122,11 @@ begin STATE_OUT <= x"1"; tx_pcs_rst_ch_c_int <= '1'; reset_timer <= '1'; - NEXT_STATE <= WAIT_FOR_TIMER; + if( tx_clock_avail_q = '1' ) then + NEXT_STATE <= WAIT_FOR_TIMER; + else + NEXT_STATE <= IDLE; + end if; when WAIT_FOR_TIMER => STATE_OUT <= x"2";