I am using uvm do_compare for user-defined comparison .I have some fields which are not to be compared .But its failing

In reply to geetika6:

Use “UVM_NOCOMPARE” in structure registration. Compare the fields of interest manually in “do_compare”.


       `uvm_field_int(idec_utre_scissor          , UVM_DEFAULT | UVM_NOCOMPARE)
       `uvm_field_int(idec_utre_sb0             , UVM_DEFAULT  | UVM_NOCOMPARE)
       //...