Hi We are migrating test bench from 1.1d to UVM 1.2,
We are facing an issue with uvm_field_array_enum . I have shown the code below
typedef enum bit [63:0] {
A = 0,
B = 2,
C =4,
D='h400000,
E,
F,
..
M ='h400
} myenum_e
class abc ;
myenum_e inst_myenum_e[];
..
..
`uvm_object_utils_begin(abc );
`uvm_field_array_enum (myenum_e,inst_myenum_e,UVM_ALL_ON); // Error on this line - tr_handle is not part of the class
`uvm_object_utils_
endclass
I am getting the Error "tr_handle is not part of the class" on the line as shown above
The code was working fine on UVM 1.1d
Please help us resolve this issue