Flush uart print statements on \n

This commit is contained in:
David Harris 2021-05-03 19:51:51 -04:00
parent 93466a0b2a
commit d07a7fd0f8

View File

@ -377,7 +377,8 @@ module uartPC16550D(
txhrfull <= #1 1;
end
$write("%c",Din); // for testbench
if (Din == 13) $fflush;
//if (Din == 13) $fflush;
$fflush;
end
if (txstate == UART_IDLE) begin // move data into tx shift register if available
if (fifoenabled) begin