64a65,67 > // Revision 1.40 2003/06/11 16:37:47 gorban > // This fixes errors in some cases when data is being read and put to the FIFO at the same time. Patch is submitted by Scott Furman. Update is very recommended. > // 288a292,292 > wire srx_pad; 373a378,390 > // Synchronizing and sampling serial RX input > uart_sync_flops i_uart_sync_flops > ( > .rst_i (wb_rst_i), > .clk_i (clk), > .stage1_rst_i (1'b0), > .stage1_clk_en_i (1'b1), > .async_dat_i (srx_pad_i), > .sync_dat_o (srx_pad) > ); > defparam i_uart_sync_flops.width = 1; > defparam i_uart_sync_flops.init_value = 1'b1; > 375,375c392,392 < wire serial_in = loopback ? serial_out : srx_pad_i; --- > wire serial_in = loopback ? serial_out : srx_pad;