Skip to content

Commit

Permalink
vip: Questa fix
Browse files Browse the repository at this point in the history
  • Loading branch information
CyrilKoe committed Oct 29, 2024
1 parent d20b8da commit 5832b3e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion target/sim/src/vip_cheshire_soc.sv
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,7 @@ module vip_cheshire_soc import cheshire_pkg::*; #(
initial begin
static byte_bt uart_read_buf [$];
byte_bt bite;
string to_print;
wait_for_reset();
forever begin
uart_read_byte(bite);
Expand All @@ -477,7 +478,7 @@ module vip_cheshire_soc import cheshire_pkg::*; #(
uart_boot_ena = 0;
end else if (bite == "\n") begin
if (uart_read_buf.size() > 0) begin
string to_print = {>>8{uart_read_buf}};
to_print = {>>8{uart_read_buf}};
$display("[UART] %s", to_print);
uart_read_buf.delete();
end else begin
Expand Down

0 comments on commit 5832b3e

Please sign in to comment.