forked from tanchou/Verilog
Update TX data assignment in UART loopback module to send fixed value
This commit is contained in:
@@ -50,7 +50,7 @@ module top_uart_loopback (
|
|||||||
delay_counter <= 0;
|
delay_counter <= 0;
|
||||||
|
|
||||||
if (rx_received && tx_ready) begin
|
if (rx_received && tx_ready) begin
|
||||||
tx_data <= rx_data;
|
tx_data <= 8'h31; // Valeur à envoyer
|
||||||
state <= WAIT;
|
state <= WAIT;
|
||||||
|
|
||||||
leds[0] <= 0;
|
leds[0] <= 0;
|
||||||
|
Reference in New Issue
Block a user