Symbol lookup error

can anyone help me with these

1.While doing front door access in RAL,I am able to write in to the actual DUT registers using write() method but when I am trying to read from the DUT registers using read() method it is not returning any value and showing 0.Where might be the problem is?
2.When I am trying to do back door access in RAL,whenever I am adding the line " add_hdl(.path(“top.DUT”)) ",it is throwing an error showing ‘undefined symbol’.I have checked path and it is fine.where can be the error?

Thanks in advance
Regards
Satya

In reply to SATYA369:

with respect to

  1. You might look at the wrong clock cycle to the virtual interface or your reg is WO.
  2. the method is ‘add_hdl_path(path)’

In reply to chr_sue:

Thanks for your reply
1.first one resolved but the second one is just a typo error actually I wrote add_hdl_path(.path(“top.dut”)) and it is still showing the same error.

Thanks
Regards
Satya

In reply to SATYA369:

Your path might be wrong or incomplete.
Did you specify uvm_hadl_path_slice?
Please check the path with uvm_hdl_check_path.

In reply to chr_sue:

Thank you so much chr_sue.Problem is resolved now.

Regards
satya

In reply to SATYA369:

can you please tell me how to check whether the hdl_path_slice exits or not?

In reply to SATYA369:

You have to check this manually in the register model by searching for

add_hdl_path_slice