Skip to content

Commit 903299e

Browse files
committed
style(dma-calypte-uvm): improve output message when turn of channel take too long
1 parent 84b67fe commit 903299e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

comp/dma/dma_calypte/comp/tx/uvm/tbench/dma_regs/reg_sequence.sv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class stop_channel_seq extends uvm_sequence;
8080
stop_attempts++;
8181

8282
assert (stop_attempts < 500) else
83-
`uvm_warning(this.get_type_name(), "\n\nThe stop of a channel takes suspiciously long time!\n")
83+
`uvm_warning(m_regmodel_channel.get_full_name(), $sformatf("\nThe stop of a channel takes suspiciously long time!\n\tDATA SW(%0d) HW(%0d)\n\tHDR SW(%0d) HW(%0d)\n\tSTATUS %0d\n-----------------------\n", sw_data, hw_data, sw_hdr, hw_hdr, (data & 32'h1)));
8484

8585
end while (sw_data != hw_data || sw_hdr != hw_hdr || (data & 32'h1) != 0);
8686
endtask

0 commit comments

Comments
 (0)