RAL methods

Hi,

I have seen different methods in RAL reg such as ,

  1. write_reg - Frontdoor and backdoor method.
  2. read_reg - Frontdoor and backdoor method.
  3. set - Backdoor method.
  4. get - Backdoor method.
  5. peek - Backdoor method.
  6. poke - Backdoor method.
  7. update - Backdoor method.

Need the below info regarding the methods,
a) Are these above methods inter-related (Like one of the method internally calling up another method)
b) How these methods are updating the Desired, Mirror and actual hardware register values.

Thanks,
Pavan

In reply to Pavan Acharya G:

You missed ‘mirror’.

A look to the source code answers your question.

In reply to chr_sue:

Ok. I’ll go through source code.
Before that can I know about that briefly? It’ll help me to understand the source code better.

In reply to Pavan Acharya G:

You’ll find the details here:
https://verificationacademy.com/cookbook/registers

In reply to chr_sue:

chr_sue, Thanks for the lead.