In reply to chr_sue:
Error-[SV-ICA] Illegal class assignment
my_scoreboard.sv, 41
“automatic $unit::a lhs = this.scbd[index].pop_front;”
Expression ‘this.scbd[index].pop_front’ on rhs is not a class or a
compatible class and hence cannot be assigned to a class handle on lhs.
Please make sure that the lhs and rhs expressions are compatible.
Instance stack trace:
my_scbd#($unit::b,uvm_pkg::uvm_comparer) my_scoreboard.sv, 63
scbd_b#(uvm_pkg::uvm_comparer) my_uvm_env.sv, 6
my_env /user/seh/my_uvm/my_test_library.sv, 9
my_test /user/seh/my_uvm/my_test_library.sv, 26