# RAL methods

**URL:** <https://verificationacademy.com/forums/t/ral-methods/35719>\
**Category:** UVM\
**Tags:** UVM, uvm-ral, Mirrored-values-and-desired-values-in-UVM-RAL\
**Created:** [February 6, 2019, 7:53am UTC](https://verificationacademy.com/forums/t/ral-methods/35719 "2019-02-06T07:53:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![PavanAcharyaG](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/p/48db29/32.png) [@PavanAcharyaG](https://verificationacademy.com/forums/u/PavanAcharyaG)\
**Post date:** [February 6, 2019, 7:53am UTC](https://verificationacademy.com/forums/t/ral-methods/35719/1 "2019-02-06T07:53:03Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![chr\_sue](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/chr_sue/32/1199_2.png) [@chr\_sue](https://verificationacademy.com/forums/u/chr_sue)\
**Post date:** [February 6, 2019, 8:16am UTC](https://verificationacademy.com/forums/t/ral-methods/35719/2 "2019-02-06T08:16:45Z")

</div>

_In reply to [Pavan Acharya G](https://verificationacademy.com/forums/t/ral-methods/35719):_

You missed ‘mirror’.

A look to the source code answers your question.

---

<div class="post-metadata">

**Author:** ![PavanAcharyaG](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/p/48db29/32.png) [@PavanAcharyaG](https://verificationacademy.com/forums/u/PavanAcharyaG)\
**Post date:** [February 6, 2019, 9:05am UTC](https://verificationacademy.com/forums/t/ral-methods/35719/3 "2019-02-06T09:05:40Z")

</div>

_In reply to [chr\_sue](https://verificationacademy.com/forums/t/ral-methods/35719/2):_

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.

---

<div class="post-metadata">

**Author:** ![chr\_sue](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/chr_sue/32/1199_2.png) [@chr\_sue](https://verificationacademy.com/forums/u/chr_sue)\
**Post date:** [February 6, 2019, 9:30am UTC](https://verificationacademy.com/forums/t/ral-methods/35719/4 "2019-02-06T09:30:02Z")

</div>

_In reply to [Pavan Acharya G](https://verificationacademy.com/forums/t/ral-methods/35719/3):_

You’ll find the details here:  
[https://verificationacademy.com/cookbook/registers](https://verificationacademy.com/cookbook/registers)

---

<div class="post-metadata">

**Author:** ![PavanAcharyaG](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/p/48db29/32.png) [@PavanAcharyaG](https://verificationacademy.com/forums/u/PavanAcharyaG)\
**Post date:** [February 6, 2019, 12:43pm UTC](https://verificationacademy.com/forums/t/ral-methods/35719/5 "2019-02-06T12:43:44Z")

</div>

_In reply to [chr\_sue](https://verificationacademy.com/forums/t/ral-methods/35719/4):_

chr\_sue, Thanks for the lead.
