# Super.build\_phase(phase ) usage issue

**URL:** <https://verificationacademy.com/forums/t/super-build-phase-phase-usage-issue/34968>\
**Category:** UVM\
**Tags:** UVM, uvm\_env\
**Created:** [September 3, 2018, 7:10am UTC](https://verificationacademy.com/forums/t/super-build-phase-phase-usage-issue/34968 "2018-09-03T07:10:28Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![vedant\_gala](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/v/eb9ed0/32.png) [@vedant\_gala](https://verificationacademy.com/forums/u/vedant_gala)\
**Post date:** [September 3, 2018, 10:25am UTC](https://verificationacademy.com/forums/t/super-build-phase-phase-usage-issue/34968/6 "2018-09-03T10:25:01Z")

</div>

_In reply to [UVM\_LOVE](https://verificationacademy.com/forums/t/super-build-phase-phase-usage-issue/34968/5):_

The super keyword basically refers to the parent class. (Read more on Class Hierarchy, if unaware). Somewhere in the UVM file directory there is a file uvm\_agent, which has a function build\_phase too; and so when you include this line in your code

```verilog
 
super.build_phase(phase);

```

You are basically calling that function inside uvm\_agent class.

Why only uvm\_agent? Because in your example, the class example\_agent extends from uvm\_agent.

Correct the typo bui1d\_phase and then check for errors.

Also you must have an ‘endclass’ at the end

---

_[View the full topic](https://verificationacademy.com/forums/t/super-build-phase-phase-usage-issue/34968)._
