Hi,
I am trying to get all the registers from reg block, using the get_registers function
REG_BLOCK.get_registers(req_q);
but the Que size ( reg_q) is zero . What might be issue
In reply to voltron:
Your register model might not be constructed.
Please consider the register model is not a uvm_component.
In which phase you are calling get_registers?
In reply to voltron:
You will get this only when you are checking this. In the other case nothing happens.
Could you please show where and how you are creating your register model.