Skip to content

Commit

Permalink
style(dma-calypte-uvm): improve output message when turn of channel t…
Browse files Browse the repository at this point in the history
…ake too long
  • Loading branch information
radek-isa committed Jan 29, 2025
1 parent 84b67fe commit 903299e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class stop_channel_seq extends uvm_sequence;
stop_attempts++;

assert (stop_attempts < 500) else
`uvm_warning(this.get_type_name(), "\n\nThe stop of a channel takes suspiciously long time!\n")
`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)));

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

0 comments on commit 903299e

Please sign in to comment.