Uvm reg read from uvm-monitor

In reply to zhehuixu_intel:

The question is what is ‘read_reg’. The access to a register follows this structure:

reg_model_name.reg_map.reg
You should show the piece of monitor code which contains the register access and the accurate compile error.