diff --git a/wally-pipelined/src/uncore/uartPC16550D.sv b/wally-pipelined/src/uncore/uartPC16550D.sv index a98543cab..c3e5af1cf 100644 --- a/wally-pipelined/src/uncore/uartPC16550D.sv +++ b/wally-pipelined/src/uncore/uartPC16550D.sv @@ -377,6 +377,7 @@ module uartPC16550D( txhrfull <= #1 1; end $write("%c",Din); // for testbench + if (Din == '\n') $flush; end if (txstate == UART_IDLE) begin // move data into tx shift register if available if (fifoenabled) begin