Read and Write for a memory in UVM_RAL

Hello

I have a memory PRAM and its been instantiated inside a reg_block SAY “XYZ” as “ram”. The XYZ reg_block has been instantiated inside a top_ral_block .

I have been trying to send a read command to the memory as shown below



m_rm.m_model.XYZ.ram.read(.status(status),.value(Data1),.parent(this));
//throws an error as 

*E,FAABP2 Task/function call, or property/sequence instance does not specify all required formal arguments.


I have been using the same format for registers it has been working . Is there any other format to send the read/write to mem?

In reply to Sv-hustler:

It seems the path to the mem is not correct/does not exist.
This is what you have to check.