Get_item() in UVM register adapter

Hi,

Why can we use get_item() of uvm_reg_adapter returns when used only inside reg2bus function ?
and why should not modify its content ?
Please answer.

Thank you.

In reply to jaswanth_b:

Unless you were involved in the historical development of UVM, it’s hard to comprehend why certain thing are done the way they are. uvm_reg_op is a safe, simplified representation of uvm_reg_item. Rather than clone the uvm_reg_item to prevent messing anything up, they are giving you direct access to the item and asking you to behave. It really wound not make any sense to modify it anyways.