# \#Cookbook-OVMPhasing

**URL:** https://verificationacademy.com/forums/tag/cookbook-ovmphasing/5491.md

[Latest](https://verificationacademy.com/forums/latest.md) · [Categories](https://verificationacademy.com/forums/categories.md) · [Tags](https://verificationacademy.com/forums/tags.md)

---

## [Loops inside Function new in OVM](https://verificationacademy.com/forums/t/loops-inside-function-new-in-ovm/34363)

<div class="topic-metadata">

**Author:** [@SivaNamathoti](https://verificationacademy.com/forums/u/SivaNamathoti)\
**Replies:** 5\
**Last updated:** [November 25, 2022, 1:31pm UTC](https://verificationacademy.com/forums/t/loops-inside-function-new-in-ovm/34363 "2022-11-25T13:31:24Z")

</div>

function new (string str=“pmc\_svt\_i2c\_system\_configuration”); super.new(str); num\_slaves = 128; // 128 new slaves int i; /\*\* Create port configurations \*/ create\_sub\_cfgs(num\_masters, num\_slaves); for(i=32'h20 ; i…

---

## [What is use of set\_test\_phase\_type in ovm](https://verificationacademy.com/forums/t/what-is-use-of-set-test-phase-type-in-ovm/40028)

<div class="topic-metadata">

**Author:** [@indrajeetpande](https://verificationacademy.com/forums/u/indrajeetpande)\
**Replies:** 3\
**Last updated:** [February 4, 2022, 5:43pm UTC](https://verificationacademy.com/forums/t/what-is-use-of-set-test-phase-type-in-ovm/40028 "2022-02-04T17:43:14Z")

</div>

hi, what is use of set\_test\_phase\_type in ovm

---

## [Check() and extract() methods are not running](https://verificationacademy.com/forums/t/check-and-extract-methods-are-not-running/31409)

<div class="topic-metadata">

**Author:** [@michael1.zhu](https://verificationacademy.com/forums/u/michael1.zhu)\
**Replies:** 4\
**Last updated:** [February 1, 2016, 7:35pm UTC](https://verificationacademy.com/forums/t/check-and-extract-methods-are-not-running/31409 "2016-02-01T19:35:24Z")

</div>

Hi, I have a subclass of ovm\_scoreboard and I’m trying to override the check() or extract() methods to do something at the end of simulation (run phase). Just to test it out, I put a print statement in check() and searc…
