reg [2:0] transition_timeout;
always @(posedge rxclk) if(in_data[2]^in_data[1]) transition_timeout<=0; else if(~&cnt) transition_timeout<=transition_timeout+1;
always @(posedge rxclk) end_of_Ethernet_frame <= &transition_timeout;
reg [2:0] transition_timeout;
always @(posedge rxclk) if(in_data[2]^in_data[1]) transition_timeout<=0; else if(~&cnt) transition_timeout<=transition_timeout+1;
always @(posedge rxclk) end_of_Ethernet_frame <= &transition_timeout;