mirror of
https://github.com/openhwgroup/cvw
synced 2025-01-31 00:44:38 +00:00
Flush uart print statements on \n
This commit is contained in:
parent
2f5649832a
commit
8758b6efa1
@ -377,7 +377,7 @@ module uartPC16550D(
|
|||||||
txhrfull <= #1 1;
|
txhrfull <= #1 1;
|
||||||
end
|
end
|
||||||
$write("%c",Din); // for testbench
|
$write("%c",Din); // for testbench
|
||||||
if (Din == '\n') $flush;
|
if (Din == 13) $flush;
|
||||||
end
|
end
|
||||||
if (txstate == UART_IDLE) begin // move data into tx shift register if available
|
if (txstate == UART_IDLE) begin // move data into tx shift register if available
|
||||||
if (fifoenabled) begin
|
if (fifoenabled) begin
|
||||||
|
Loading…
Reference in New Issue
Block a user