In reply to chr_sue:
In reply to Marc43:
Your variable A is an unpacked array. having 1 unpacked dimension. But the argument is exüecting an object. See the UVM Reference Manual.
Hi chr_sue, thanks for your reply.
I looked at the UVM Reference Manual, I see that there are four types: compare_field, compare_field_real, compare_object and compare_string. Respectively they expect a uvm_integral_t, real, uvm_object and string. None of them seems to fit for an unpacked array, how would you do this?