From 90b8e2866c2bcce90501ebbbdd242a71a47b5f46 Mon Sep 17 00:00:00 2001 From: palka Date: Fri, 30 May 2008 23:20:11 +0000 Subject: [PATCH] checking idle in wait all the time --- optical_link/flexi_PCS_channel_synch.vhd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/optical_link/flexi_PCS_channel_synch.vhd b/optical_link/flexi_PCS_channel_synch.vhd index 32dc1b1..6b7dbd8 100644 --- a/optical_link/flexi_PCS_channel_synch.vhd +++ b/optical_link/flexi_PCS_channel_synch.vhd @@ -374,7 +374,7 @@ begin resync_counter_clr <= '0'; if resync_counter(27) = '1' and rxd_synch_i = x"bc50" and rx_k_synch_i(1) = '1' then SYNCH_NEXT <= NORMAL_OPERATION_1; - elsif resync_counter(29) = '1' and (rxd_synch_i /= x"bc50" or rx_k_synch_i(1) = '0') then + elsif rxd_synch_i /= x"bc50" or rx_k_synch_i(1) = '0' then SYNCH_NEXT <= RESYNC1; else SYNCH_NEXT <= WAIT_1; @@ -388,7 +388,7 @@ begin resync_counter_clr <= '0'; if resync_counter(27) = '1' and rxd_synch_i = x"50bc" and rx_k_synch_i(0) = '1' then SYNCH_NEXT <= NORMAL_OPERATION_2; - elsif resync_counter(29) = '1' and (rxd_synch_i /= x"50bc" or rx_k_synch_i(0) = '0') then + elsif rxd_synch_i /= x"50bc" or rx_k_synch_i(0) = '0' then SYNCH_NEXT <= RESYNC1; else SYNCH_NEXT <= WAIT_2; -- 2.43.0