Skip to content

Commit

Permalink
Fix Verilator UVM_VERBOSITY
Browse files Browse the repository at this point in the history
  • Loading branch information
Mario committed Mar 20, 2024
1 parent d444ae3 commit ed02fb1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion corev_apu/tb/ariane_testharness.sv
Original file line number Diff line number Diff line change
Expand Up @@ -717,7 +717,7 @@ module ariane_testharness #(
`ifdef VERILATOR
initial begin
int verbosity = 0;
if ($value$plusargs("+UVM_VERBOSITY=%s",verbosity)) begin
if ($value$plusargs("UVM_VERBOSITY=%s",verbosity)) begin
uvm_set_verbosity_level(verbosity);
end
end
Expand Down
1 change: 0 additions & 1 deletion verif/tb/core/custom_uvm_macros.svh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ int string_to_verbosity_level [string] = '{
"UVM_DEBUG" : 500 };

function void uvm_set_verbosity_level(string verbosity);
$display("New verbosity Level: %h", string_to_verbosity_level[verbosity]);
$cast(current_verbosity_level,string_to_verbosity_level[verbosity]);

endfunction
Expand Down

0 comments on commit ed02fb1

Please sign in to comment.