Disable uvm_reg_field.svh warnings

In reply to dave_59:

Hi Dave,
the RAL warning was because we were calling the .write() on a uvm_reg_item which is not configured as individually accessible.
The main issue was that there were another environment using the same code and it is working without popping this warning.

I found that there is a compile directive “UVM_REG_NO_INDIVIDUAL_FIELD_ACCESS”. based on this macro the uvm_reg_field class handles the write operations.
When it is defined the accessing of the field is neglected and the uvm automatically masks and writes the whole parent register.
When it is not defined the uvm tries first to write the single field, and if it is not individually accessible it fires the warning then writes the whole register too.

I am not able to find any documentation for such UVM compile directives. so please let me know if there is one :).

please confirm my understanding. also, I want to know how a uvm warning message can be disabled as you mentioned.

Thanks in advance Dave :))