Hi,
I’m not able to access single transaction variable from a complete transaction.Please help me in resolving this issue
Below code is part of my scoreboard,
after_entry is a class instance,data is class member,from monitor complete transaction is coming to Scoreboard
`uvm_info( get_name(), { "using uvm_default_printer\n", after_entry.data.sprint() }, UVM_LOW )
$display("transaction name %s",after_entry.data.get_name());
if(after_entry.data.get_name()=="deagg_out_tr")
$display("packet no %0d at time %0t \n",after_entry.data.tr_no,$time);
when I try to display tr_no from deagg_out_tr below compilation error is coming.
ncvlog: *E,NOTCLM (/user/kabo/src/test_uvm/pw_svf_scoreboard_uvm/sv/pw_scoreboard.sv,425|63): tr_no is not a class item.
Thanks in advance