Say I have a transaction item class like below:
class tx_item extends ovm_sequence_item;
logic a;
logic b;
`ovm_object_utils_begin(tx_item)
`ovm_field_int(a, OVM_ALL_ON)
`ovm_field_int(b, OVM_ALL_ON)
`ovm_object_utils_end
// other boiler plate code not included here
endclass
Now lets say I would like to use the transaction_item somewhere else in other OVM components. Is there a way to check if the logic variable a and b within tx_item have been registered in the factory via the field automation macros in the tx_item class?