In reply to usnath:
Yes chr_sue is right? Your implementation is so weird.
Two thing I don’t understand:
1.
this.field1.configure.add_hdl_path_slice("abc");
In uvm_reg_field class doesn’t has attribute ‘configure’.
reg1.add_hdl_path("xyz");
In uvm_reg class, we only have add_hdl_path with following prototype:
function void uvm_reg::add_hdl_path(uvm_hdl_path_slice slices[],
string kind = "RTL");
Please follow chr_sue example to implement.