mirror of
https://github.com/lowRISC/ibex.git
synced 2025-04-22 12:57:13 -04:00
Fix multi-line string formatting in $sformatf for uvm_fatal macro
Before the change the indentation of the second line would be printed as spaces in the fatal message.
This commit is contained in:
parent
15230d2c86
commit
81590d86c2
1 changed files with 2 additions and 2 deletions
|
@ -400,8 +400,8 @@ class core_ibex_debug_intr_basic_test extends core_ibex_base_test;
|
|||
end
|
||||
begin : ret_timeout
|
||||
clk_vif.wait_clks(timeout);
|
||||
`uvm_fatal(`gfn, $sformatf("No %0s detected, or incorrect privilege mode switch in \
|
||||
timeout period of %0d cycles", ret, timeout))
|
||||
`uvm_fatal(`gfn, $sformatf({"No %0s detected, or incorrect privilege mode switch in ",
|
||||
"timeout period of %0d cycles"}, ret, timeout))
|
||||
end
|
||||
join_any
|
||||
// Will only get here if dret successfully detected within timeout period
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue