for example I have a item like below.
class my_trans extend uvm_sequence_item;
logic [9:0] addr;
logic [31:0] data;
Is there any function to print each members of this 'my_trans' ? I mean the output of this function would be like below.
active addr data
Thank you for any help !