forked from tanchou/Verilog
Add LED indication for RX signal in top_uart_loopback module
This commit is contained in:
@@ -41,6 +41,7 @@ module top_uart_loopback (
|
|||||||
reg state = IDLE;
|
reg state = IDLE;
|
||||||
|
|
||||||
always @(posedge clk) begin
|
always @(posedge clk) begin
|
||||||
|
leds[5] <= rx;
|
||||||
case (state)
|
case (state)
|
||||||
IDLE: begin
|
IDLE: begin
|
||||||
tx_enable <= 0;
|
tx_enable <= 0;
|
||||||
|
Reference in New Issue
Block a user