Skip to content

Commit 0fab0a0

Browse files
committed
uart: Use synchronous reset in example modules
Made-with: Cursor
1 parent 001c7a2 commit 0fab0a0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rtl/uart/uart_rx_example.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ module uart_rx_example (
4242
);
4343

4444
// Latch the received byte and request a TX write when the TX is free.
45-
always @(posedge i_clk or negedge i_rst_n) begin
45+
always @(posedge i_clk) begin
4646
if (!i_rst_n) begin
4747
tx_wr <= 1'b0;
4848
tx_data <= 8'b0;

rtl/uart/uart_tx_example.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ module uart_tx_example (
3434
.i_tx_data(tx_data)
3535
);
3636

37-
always @(posedge i_clk or negedge i_rst_n) begin
37+
always @(posedge i_clk) begin
3838
if (!i_rst_n) begin
3939
counter <= 0;
4040
end else begin

0 commit comments

Comments
 (0)