Skip to content

Commit

Permalink
[sim] minor edits
Browse files Browse the repository at this point in the history
  • Loading branch information
stnolting committed Aug 31, 2024
1 parent a9f4ee7 commit 6df65e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sim/uart_sim_receiver.v
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ module uart_sim_receiver
if (uart_rx_bitcnt == 0) begin
uart_rx_busy <= 1'b0; // done
if ((char >= 32) && (char <= 127)) begin // is a printable char?
$write ("%c", char);
$write("%c", char);
end else if (char == 10) begin // Linux line break?
$display (""); // force terminal line break
$display(""); // force terminal line break
end
end else begin
uart_rx_sreg <= {uart_rx_sync[4], uart_rx_sreg[8:1]};
Expand Down

0 comments on commit 6df65e7

Please sign in to comment.