UVM_RAL: Why Predictor calling bus2reg function(Adapter) 2 times automatically?

In reply to chr_sue:

My first entry “Reads works Perfectly” mean to say that.

I am doing a register read operation and capturing the read_xtn in Monitor and writing to analysis port using write method. So whenever Monitor writes in to Analysis port bus2reg function will be called. In my condition bus2reg function is called by twice(Printing in Adapter). During first call read_data printing the read value and the second time printing ‘0’(Both times status is “UVM_IS_OK”).

I tried to control using one variable setting in monitor and checking in adapter bus2reg function, Still during read the read data {.value(read_data)} is getting override.