# UVM RAL for configuration of TB in a SoC environment

**URL:** <https://verificationacademy.com/forums/t/uvm-ral-for-configuration-of-tb-in-a-soc-environment/40090>\
**Category:** UVM\
**Tags:** UVM, Systemverilog-UVM-RAL\
**Created:** [February 23, 2022, 12:17am UTC](https://verificationacademy.com/forums/t/uvm-ral-for-configuration-of-tb-in-a-soc-environment/40090 "2022-02-23T00:17:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sv-hustler](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/sv-hustler/32/3821_2.png) [@Sv-hustler](https://verificationacademy.com/forums/u/Sv-hustler)\
**Post date:** [February 23, 2022, 12:17am UTC](https://verificationacademy.com/forums/t/uvm-ral-for-configuration-of-tb-in-a-soc-environment/40090/1 "2022-02-23T00:17:18Z")

</div>

Hello all

I was assuming RAL can be only used for Register verification like read/write or bitbash verification of registers .

Is there a way to use the RAL for configuring the TB to activate sub modules of an SoC in configuration phase of the test /env and run normal functionality traffic in run phase ? Basically any other use RAL can be used instead of REG verification . I’m really not sure part from reg verification

---

<div class="post-metadata">

**Author:** ![Sv-hustler](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/sv-hustler/32/3821_2.png) [@Sv-hustler](https://verificationacademy.com/forums/u/Sv-hustler)\
**Post date:** [February 23, 2022, 6:06am UTC](https://verificationacademy.com/forums/t/uvm-ral-for-configuration-of-tb-in-a-soc-environment/40090/2 "2022-02-23T06:06:57Z")

</div>

_In reply to [Sv-hustler](https://verificationacademy.com/forums/t/uvm-ral-for-configuration-of-tb-in-a-soc-environment/40090):_

Suppose we want to run a test case but before the run phase executes we need to configure some registers using RAL. Like setting reset register or power etc. Can anyone explain if this kind of test case execution is possible?

---

<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 23, 2022, 7:47am UTC](https://verificationacademy.com/forums/t/uvm-ral-for-configuration-of-tb-in-a-soc-environment/40090/3 "2022-02-23T07:47:56Z")

</div>

_In reply to [Sv-hustler](https://verificationacademy.com/forums/t/uvm-ral-for-configuration-of-tb-in-a-soc-environment/40090/2):_

Only in the run\_phase you can execute things like you are describing. All other phases prior to the run\_phase are intended to construct, connect check and configure your UVM environment. What you want to do you should do prior to any other functionality.

---

<div class="post-metadata">

**Author:** ![Wafa](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/wafa/32/1725_2.png) [@Wafa](https://verificationacademy.com/forums/u/Wafa)\
**Post date:** [February 23, 2022, 10:21am UTC](https://verificationacademy.com/forums/t/uvm-ral-for-configuration-of-tb-in-a-soc-environment/40090/4 "2022-02-23T10:21:31Z")

</div>

_In reply to [Sv-hustler](https://verificationacademy.com/forums/t/uvm-ral-for-configuration-of-tb-in-a-soc-environment/40090/3):_

> _In reply to [Sv-hustler](https://verificationacademy.com/forums/t/uvm-ral-for-configuration-of-tb-in-a-soc-environment/40090/3):_  
> Suppose we want to run a test case but before the run phase executes we need to configure some registers using RAL. Like setting reset register or power etc. Can anyone explain if this kind of test case execution is possible?

You can configure these registers before the main sub-phase in the run\_phase, e.g. in [pre\_/post\_]configure sub-phase.
