URL
https://opencores.org/ocsvn/xulalx25soc/xulalx25soc/trunk
[/] [xulalx25soc/] [trunk/] [rtl/] [rxuart.v] - Diff between revs 18 and 58
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 18 |
Rev 58 |
Line 216... |
Line 216... |
o_parity_err <= 1'b0;
|
o_parity_err <= 1'b0;
|
o_frame_err <= 1'b0;
|
o_frame_err <= 1'b0;
|
r_setup <= i_setup;
|
r_setup <= i_setup;
|
end else if (state == `RXU_IDLE)
|
end else if (state == `RXU_IDLE)
|
begin // Idle state, independent of baud counter
|
begin // Idle state, independent of baud counter
|
|
r_setup <= i_setup;
|
data_reg <= 8'h00; o_data <= 8'h00; o_wr <= 1'b0;
|
data_reg <= 8'h00; o_data <= 8'h00; o_wr <= 1'b0;
|
baud_counter <= clocks_per_baud - 28'h01;
|
baud_counter <= clocks_per_baud - 28'h01;
|
if ((ck_uart == 1'b0)&&(chg_counter > half_baud))
|
if ((ck_uart == 1'b0)&&(chg_counter > half_baud))
|
begin
|
begin
|
// We are in the center of a valid start bit
|
// We are in the center of a valid start bit
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.